setup vagrant Ubuntu 12.04 LTS

when built-in vagrant and built-in virtualbox are outdated -
And we must use system ruby but its version is 1.8 and outdated -

upgrade ruby

sudo apt-get install ruby1.9.3
sudo apt-get autoremove
sudo apt-get remove ruby1.8

upgrade virtualbox & vagrant

sudo apt-get remove virtualbox
sudo apt-get remove vagrant

and do not install them from Ubuntu Software Center, download from website most recent version of them.

such as,

sudo dpkg -i vagrant_1.6.5_x86_64.deb
sudo dpkg -i virtualbox-4.3_4.3.20-96996-Ubuntu-precise_i386.debdpkg

and then, follow regular guides and vagrant up and vagrant provision as needed.

 
1
Kudos
 
1
Kudos

Now read this

How do you install ruby before 1.9.3?

How do you install ruby before 1.9.3? rbenv install --list rbenv install 1.9.2-p180 old version error. Need apple-gcc42, $ ls -l /usr/bin | grep gcc -rwxr-xr-x 1 root wheel 14224 Apr 8 14:45 gcc lrwxr-xr-x 1 root wheel 5 Apr 8 14:45... Continue →