Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant doesn't work with ruby 1.9.1? #8

Closed
nedski opened this issue Mar 9, 2010 · 2 comments
Closed

Vagrant doesn't work with ruby 1.9.1? #8

nedski opened this issue Mar 9, 2010 · 2 comments
Labels

Comments

@nedski
Copy link

nedski commented Mar 9, 2010

Trying to run

 vagrant box add base http://files.vagrantup.com/base.box

on an Ubuntu Karmic box running ruby 1.9.1p243 doesn't work. It requires ftools which has been renamed in 1.9.1 (it's now called 'fileutils'). Error returned is:

 /var/lib/gems/1.9.1/gems/vagrant-0.1.3/lib/vagrant.rb:8:in `require': no such file to load -- ftools (LoadError)
from /var/lib/gems/1.9.1/gems/vagrant-0.1.3/lib/vagrant.rb:8:in `block in <top (required)>'
from /var/lib/gems/1.9.1/gems/vagrant-0.1.3/lib/vagrant.rb:6:in `each'
from /var/lib/gems/1.9.1/gems/vagrant-0.1.3/lib/vagrant.rb:6:in `<top (required)>'
from /var/lib/gems/1.9.1/gems/vagrant-0.1.3/bin/vagrant-box:14:in `require'
from /var/lib/gems/1.9.1/gems/vagrant-0.1.3/bin/vagrant-box:14:in `<top (required)>'
from /var/lib/gems/1.9.1/bin/vagrant-box:19:in `load'
from /var/lib/gems/1.9.1/bin/vagrant-box:19:in `<top (required)>'
from /var/lib/gems/1.9.1/gems/git-style-binaries-0.1.11/lib/git-style-binary.rb:67:in `load'
from /var/lib/gems/1.9.1/gems/git-style-binaries-0.1.11/lib/git-style-binary.rb:67:in `load_subcommand'
from /var/lib/gems/1.9.1/gems/git-style-binaries-0.1.11/lib/git-style-binary/command.rb:71:in `run'
from /var/lib/gems/1.9.1/gems/git-style-binaries-0.1.11/lib/git-style-binary/autorunner.rb:16:in `run'
from /var/lib/gems/1.9.1/gems/git-style-binaries-0.1.11/lib/git-style-binary/autorunner.rb:8:in `run'
from /var/lib/gems/1.9.1/gems/git-style-binaries-0.1.11/lib/git-style-binary.rb:85:in `block in <top (required)>'
@mitchellh
Copy link
Contributor

nedski,

We're working 1.9 compatibility. In the meantime, please try the prerelease gem:

sudo gem install vagrant --pre

This already fixes the above issue you're having! Let me know of any other issues which come up please. Thanks!

@nedski
Copy link
Author

nedski commented Mar 9, 2010

Excellent -- I'm pulling down a base box now. Thanks for the quick reply.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants