Skip to content

Instantly share code, notes, and snippets.

@shimizukawa
Created March 15, 2013 02:14
Show Gist options
  • Save shimizukawa/5167009 to your computer and use it in GitHub Desktop.
Save shimizukawa/5167009 to your computer and use it in GitHub Desktop.
vagrant + veewee を動作させるためのバージョンの組み合わせをbundlerで調べてみた。ただしbundle exec veeweeを実行するとエラーになった。なんでじゃ
$ sudo aptitude install libxml2-dev libxslt-dev
$ sudo gem install bundler
$ mkdir /tmp/veewee
$ cd /tmp/veewee
$ bundle init
$ cat << HERE >> Gemfile 2>&1
gem "vagrant"
gem "veewee"
HERE
$ bundle install --path .
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake (10.0.3)
Installing libxml-ruby (2.6.0)
Installing CFPropertyList (2.0.17)
Installing Platform (0.4.0)
Installing ansi (1.3.0)
Installing archive-tar-minitar (0.5.2)
Installing builder (3.2.0)
Installing ffi (1.4.0)
Installing childprocess (0.3.9)
Installing diff-lcs (1.2.1)
Installing json (1.7.7)
Installing gherkin (2.11.6)
Installing multi_json (1.6.1)
Installing cucumber (1.2.3)
Installing erubis (2.7.0)
Installing excon (0.20.0)
Installing fission (0.4.0)
Installing formatador (0.2.4)
Installing mime-types (1.21)
Installing net-ssh (2.2.2)
Installing net-scp (1.0.4)
Installing nokogiri (1.5.6)
Installing ruby-hmac (0.4.0)
Installing fog (1.9.0)
Installing posix-spawn (0.3.6)
Installing grit (2.5.0)
Installing highline (1.6.15)
Installing i18n (0.6.4)
Installing log4r (1.1.10)
Installing open4 (1.3.0)
Installing popen4 (0.1.2)
Installing progressbar (0.20.0)
Installing rspec-core (2.13.1)
Installing rspec-expectations (2.13.0)
Installing rspec-mocks (2.13.0)
Installing rspec (2.13.0)
Installing ruby-vnc (1.0.1)
Installing thor (0.17.0)
Installing vagrant (1.0.7)
Installing veewee (0.3.6)
Using bundler (1.3.3)
Your bundle is complete!
It was installed into .
$ bundle exec veewee
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/bundler-1.3.3/lib/bundler/shared_helpers.rb:2:in `require': no such file to load -- rubygems (LoadError)
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/bundler-1.3.3/lib/bundler/shared_helpers.rb:2
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/bundler-1.3.3/lib/bundler/setup.rb:1:in `require'
from /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/bundler-1.3.3/lib/bundler/setup.rb:1
@shimizukawa
Copy link
Author

/opt/vagrant_ruby/bin/ruby と /usr/bin/ruby とでパスが混乱しているっぽい。めんどくさいなあ

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