Permalink
Browse files

update fresh ubuntu to use ruby2 as default

  • Loading branch information...
1 parent e4602a1 commit b1f96433edfcdce8107c4e5bfc831bdd23236cc4 @inforserver2 committed May 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/deploy.rb.sample
View
2 config/deploy.rb.sample
@@ -185,6 +185,7 @@ task :basics do
run "sudo add-apt-repository -y ppa:brightbox/ruby-ng-experimental"
run "sudo apt-get update"
run "sudo apt-get install -y ruby2.0 ruby2.0-dev"
+ run "sudo ln -sf /usr/bin/ruby2.0 /usr/bin/ruby"
@@ -402,7 +403,6 @@ task :tools do
run "#{folder}/automate_files/rvm_install"
run "#{folder}/automate_files/heroku_toolbelt"
run "echo 'source /etc/profile.d/rvm.sh' >> ~/.bashrc"
- run "ln -sf /usr/bin/ruby2.0 /usr/bin/ruby"
end
task :mail do

0 comments on commit b1f9643

Please sign in to comment.