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

cannot load such file -- restclient (LoadError) #95

Closed
arthurzenika opened this issue Sep 11, 2014 · 3 comments
Closed

cannot load such file -- restclient (LoadError) #95

arthurzenika opened this issue Sep 11, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@arthurzenika
Copy link

$ vagrant openstack image-list
/opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require': cannot load such file -- restclient (LoadError)
        from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
        from /home/arthur/.vagrant.d/gems/gems/vagrant-openstack-provider-0.3.2/lib/vagrant-openstack-provider/client/openstack.rb:2:in `<top (required)>'
        from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
        from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
        from /home/arthur/.vagrant.d/gems/gems/vagrant-openstack-provider-0.3.2/lib/vagrant-openstack-provider/command/abstract_command.rb:1:in `<top (required)>'
        from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
        from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
        from /home/arthur/.vagrant.d/gems/gems/vagrant-openstack-provider-0.3.2/lib/vagrant-openstack-provider/command/image_list.rb:2:in `<top (required)>'
        from /home/arthur/.vagrant.d/gems/gems/vagrant-openstack-provider-0.3.2/lib/vagrant-openstack-provider/command/main.rb:24:in `require_relative'
        from /home/arthur/.vagrant.d/gems/gems/vagrant-openstack-provider-0.3.2/lib/vagrant-openstack-provider/command/main.rb:24:in `block (2 levels) in initialize'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/registry.rb:27:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/registry.rb:27:in `get'
        from /home/arthur/.vagrant.d/gems/gems/vagrant-openstack-provider-0.3.2/lib/vagrant-openstack-provider/command/main.rb:34:in `execute'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/cli.rb:38:in `execute'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/environment.rb:484:in `cli'
        from /opt/vagrant/embedded/gems/gems/vagrant-1.4.3/bin/vagrant:127:in `<top (required)>'
        from /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
        from /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
@arthurzenika
Copy link
Author

tried installing this

$ sudo apt-get -uVf install ruby-rest-client

but same error comes up

@ggiamarchi ggiamarchi added this to the 0.4 milestone Sep 11, 2014
@ggiamarchi
Copy link
Owner

This is actually an issue. The plugin seems to be broken with Vagrant 1.4.x but it should work if you update to at least version 1.5.0. I reproduce the bug with version 1.4.3 and i successfully tested it against Vagrant 1.5.0, 1.5.4, 1.6.0 and 1.6.5.

I put this issue in the next milestone.

@ggiamarchi ggiamarchi added the bug label Sep 11, 2014
@julienvey julienvey modified the milestones: 0.3.3, 0.4 Sep 17, 2014
@ggiamarchi
Copy link
Owner

Fixed in release 0.3.3. Just update the plugin with

vagrant plugin update vagrant-openstack-provider

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

No branches or pull requests

3 participants