-
Ubuntu trusty:
vagrant@vagrant-ubuntu-trusty-32:$ sudo apt-get install ruby2.0
[...]
The following NEW packages will be installed
libruby1.9.1 libruby2.0 ruby ruby1.9.1 ruby2.0 rubygems-integration
[...]
vagrant@vagrant-ubuntu-trusty-32:$ ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
vagrant@vagrant-ubuntu-trusty-32:~$ update-alternatives --config ruby
update-alternatives: error: no alternatives for ruby
* Debian wheezy:
```
vagrant@localhost:~$ apt-cache depends bundler
bundler
|Depends: ruby
ruby1.8
Depends: <ruby-interpreter>
ruby1.8
ruby1.9.1
vagrant@localhost:~$ sudo apt-get install ruby1.8
[...]
The following NEW packages will be installed:
ruby1.8
[...]
vagrant@localhost:~$ sudo apt-get install bundler --dry-run
[...]
The following NEW packages will be installed:
bundler ruby-dev ruby1.9.1 ruby1.9.1-dev rubygems-integration
[...]
vagrant@localhost:~$ sudo apt-get install bundler --dry-run --no-install-recommends
[...]
The following NEW packages will be installed:
bundler
[...]