Closed smousa closed 10 years ago
Hello,
this problem comes from the fact that the interface in rubyzip has changed in versions after the 0.9.9. To solve this problem you have to edit the vagrant-node.gemspec and change the line from spec.add_dependency "rubyzip" to spec.add_dependency "rubyzip", '< 1.0.0'.
But before you make that change you have the remove the vagrant-node plugin doing the command: vagrant plugin uninstall vagrant-node
In the following release of the plugin this problem is fixed.
Regards
Thanks for the assistance, that worked perfectly.
Tried this on fedora 18 & windows 7, but am seeing this message when I run the vagrant command:
$ vagrant C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in'
require': cannot load such file -- zip/zip (LoadError) from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from C:/Users/Summer/.vagrant.d/gems/gems/vagrant-node-0.0.2/lib/vagrant-node/actions/snapshot.rb:4:in<top (required)>' from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from C:/Users/Summer/.vagrant.d/gems/gems/vagrant-node-0.0.2/lib/vagrant-node/clientcontroller.rb:3:in
<top (required)>' from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from C:/Users/Summer/.vagrant.d/gems/gems/vagrant-node-0.0.2/lib/vagrant-node/api.rb:5:in<top (required)>' from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from C:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from C:/Users/Summer/.vagrant.d/gems/gems/vagrant-node-0.0.2/lib/vagrant-node/nodeservercommand.rb:2:in
<top (required)>' from C:/Users/Summer/.vagrant.d/gems/gems/vagrant-node-0.0.2/lib/vagrant-node.rb:14:inrequire_relative' from C:/Users/Summer/.vagrant.d/gems/gems/vagrant-node-0.0.2/lib/vagrant-node.rb:14:in
block in class:Plugin' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/registry.rb:27:incall' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/registry.rb:27:in
get' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/registry.rb:41:inblock in each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/registry.rb:40:in
each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/registry.rb:40:ineach' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/cli.rb:59:in
block in help' from C:/HashiCorp/Vagrant/embedded/lib/ruby/1.9.1/optparse.rb:882:ininitialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/cli.rb:48:in
new' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/cli.rb:48:inhelp' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/cli.rb:32:in
execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/environment.rb:478:incli' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.3/bin/vagrant:96:in
<top (required)>' from C:/HashiCorp/Vagrant/embedded/gems/bin/vagrant:23:inload' from C:/HashiCorp/Vagrant/embedded/gems/bin/vagrant:23:in