Permalink
Browse files

Cleanup 1.9.3-p0

  • Loading branch information...
1 parent f17db60 commit 940fddec6e9e1fa5a50ff7c6102d00fc15002e0e @technicalpickles technicalpickles committed Dec 23, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 lib/moonshine/capistrano_integration.rb
@@ -439,13 +439,15 @@ def self.load_into(capistrano_config)
task :src193 do
remove_ruby_from_apt
+ pv = "1.9.3-p0"
+ p = "ruby-#{pv}"
run [
'cd /tmp',
- "sudo rm -rf ruby-1.9-p0* || true",
+ "sudo rm -rf #{p}* || true",
'sudo mkdir -p /usr/lib/ruby/gems/1.9/gems || true',
- "wget -q http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz",
- "tar xzf ruby-1.9.3-p0.tar.gz",
- "cd /tmp/ruby-1.9.3-p0",
+ "wget -q http://ftp.ruby-lang.org/pub/ruby/1.9/#{p}.tar.gz",
+ "tar xzf #{p}.tar.gz",
+ "cd /tmp/#{p}",
'./configure --prefix=/usr',
'make',
'sudo make install'

0 comments on commit 940fdde

Please sign in to comment.