Use bundler 1.2.5

This commit is contained in:
Fabio Rehm 2013-02-25 20:49:33 -03:00
parent 4b21bb99b0
commit a756d9b1df
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,8 @@
# A sample Gemfile
unless ENV['USER'] == 'vagrant'
puts 'This Gemfile is meant to be used from the dev box'
exit 1
end
source "https://rubygems.org"
gem 'vagrant', github: 'mitchellh/vagrant'

View file

@ -81,7 +81,7 @@ vagrant_ssh "sudo apt-get update && sudo apt-get upgrade -y"
sh 'vagrant reload'
# Install dependencies
vagrant_ssh "sudo apt-get install lxc rinetd libffi-dev libffi-ruby ruby1.9.1-dev htop git virtualbox virtualbox-ose-dkms linux-headers-generic linux-headers-3.5.0-17-generic -y && sudo gem install bundler --no-ri --no-rdoc"
vagrant_ssh "sudo apt-get install lxc rinetd libffi-dev libffi-ruby ruby1.9.1-dev htop git virtualbox virtualbox-ose-dkms linux-headers-generic linux-headers-3.5.0-17-generic -y && sudo gem install bundler --no-ri --no-rdoc -v 1.2.5"
vagrant_ssh "sudo dkms install virtualbox/4.1.18"
vagrant_ssh "sudo service virtualbox start"