Ruby 使用RVM和Bundler引用本地gem?

Ruby 使用RVM和Bundler引用本地gem?,ruby,git,rvm,bundler,Ruby,Git,Rvm,Bundler,我希望在使用RVM和Bundler管理我的应用程序环境的同时,在构建应用程序的同时使用支持库 在我的档案里是 # forked and cloned to local directory gem 'feedzirra', :path => '../../feedzirra' 然后在命令行上: $ bundle install .. Using feedzirra (0.2.0.rc2) from source at /Users/ryan/dev/feedzirra .. $ bund

我希望在使用RVM和Bundler管理我的应用程序环境的同时,在构建应用程序的同时使用支持库

在我的档案里是

# forked and cloned to local directory
gem 'feedzirra', :path => '../../feedzirra'
然后在命令行上:

$ bundle install
..
Using feedzirra (0.2.0.rc2) from source at /Users/ryan/dev/feedzirra 
..
$ bundle show feedzirra
/Users/ryan/dev/feedzirra
$ gem which feedzirra
ERROR:  Can't find ruby library file or shared library feedzirra
内部评级:

1.9.3p194:001>要求“feedzirra”
LoadError:无法加载这样的文件--feedzirra
from/Users/ryan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site\u ruby/1.9.1/rubygems/custom\u require.rb:36:in'require'
from/Users/ryan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site\u ruby/1.9.1/rubygems/custom\u require.rb:36:in'require'
来自(irb):1
from/Users/ryan/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in`'

我缺少什么?

您需要在bundler的上下文中运行它:

bundle exec gem which feedzirra

bundle exec gem which feedzirra
bundle exec irb