From fdd0c448125173a69582a59e4a969f4dabcb52e7 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 29 Apr 2015 14:23:31 +0200 Subject: added templates/Debian-8.0-amd64-netboot based on original Debian-7.7.0-amd64-netboot veewee template --- templates/Debian-8.0-amd64-netboot/ruby.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/Debian-8.0-amd64-netboot/ruby.sh (limited to 'templates/Debian-8.0-amd64-netboot/ruby.sh') diff --git a/templates/Debian-8.0-amd64-netboot/ruby.sh b/templates/Debian-8.0-amd64-netboot/ruby.sh new file mode 100644 index 0000000..e44d60d --- /dev/null +++ b/templates/Debian-8.0-amd64-netboot/ruby.sh @@ -0,0 +1,10 @@ +# Install Ruby from packages +apt-get -y install ruby ruby-dev libopenssl-ruby1.8 irb ri rdoc + +# Install Rubygems from source +rg_ver=1.8.22 +curl -o /tmp/rubygems-${rg_ver}.zip \ + "http://production.cf.rubygems.org/rubygems/rubygems-${rg_ver}.zip" +(cd /tmp && unzip rubygems-${rg_ver}.zip && \ + cd rubygems-${rg_ver} && ruby setup.rb --no-format-executable) +rm -rf /tmp/rubygems-${rg_ver} /tmp/rubygems-${rg_ver}.zip -- cgit v1.2.3