Skip to content

Instantly share code, notes, and snippets.

@Atalanta
Created December 24, 2010 08:18
Show Gist options
  • Save Atalanta/754025 to your computer and use it in GitHub Desktop.
Save Atalanta/754025 to your computer and use it in GitHub Desktop.
execute "Add lucid32 box to user stephen (as a test)" do
user "stephen"
command "vagrant box add lucid32 http://files.vagrantup.com/lucid32.box"
creates "/home/stephen/.vagrant/boxes/lucid32"
action :run
environment ({'PATH' => '/usr/local/rvm/gems/ruby-1.9.2-p0/bin:/usr/local/rvm/gems/ruby-1.9.2-p0@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p0/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'})
end
@Atalanta
Copy link
Author

/usr/local/rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:762:in report_activate_error': Could not find RubyGem vagrant (>= 0) (Gem::LoadError) from /usr/local/rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:219:inactivate'
from /usr/local/rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:1065:in gem' from /usr/local/rvm/gems/ruby-1.9.2-p0/bin/vagrant:18:in

'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment