有人可以告诉我这意味着什么 - bundler无法加载所需的文件

时间:2014-07-07 22:45:18

标签: ruby-on-rails bundler pry

我有这个我一直在开发中使用的gem,当我使用Capistrano部署我的应用程序时,我确保将bundle install参数作为文档的一部分传递。我看到应用程序已部署并安装了宝石,当我进入我的服务器并以部署用户身份登录时,我转到appName/current/并在我的开发机器上运行bundle exec promiscuous subscribe这告诉我它复制了十个线程并开始监听数据。

关于制作虽然我得到了这个:

/var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `require': cannot load such file -- pry (LoadError)
    from /var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `each'
    from /var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `block in require'
    from /var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `each'
    from /var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require'
    from /var/lib/gems/1.9.1/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
    from /home/railsapps/aisiswriter/releases/20140707205243/config/application.rb:12:in `<top (required)>'
    from /home/railsapps/aisiswriter/releases/20140707205243/config/environment.rb:2:in `require'
    from /home/railsapps/aisiswriter/releases/20140707205243/config/environment.rb:2:in `<top (required)>'
    from /home/railsapps/aisiswriter/shared/bundle/ruby/1.9.1/bundler/gems/promiscuous-9bda9a49ac13/lib/promiscuous/cli.rb:207:in `require'
    from /home/railsapps/aisiswriter/shared/bundle/ruby/1.9.1/bundler/gems/promiscuous-9bda9a49ac13/lib/promiscuous/cli.rb:207:in `load_app'
    from /home/railsapps/aisiswriter/shared/bundle/ruby/1.9.1/bundler/gems/promiscuous-9bda9a49ac13/lib/promiscuous/cli.rb:216:in `boot'
    from /home/railsapps/aisiswriter/shared/bundle/ruby/1.9.1/bundler/gems/promiscuous-9bda9a49ac13/gemfiles/bin/promiscuous:5:in `<top (required)>'
    from /home/railsapps/aisiswriter/shared/bundle/ruby/1.9.1/bin/promiscuous:23:in `load'
    from /home/railsapps/aisiswriter/shared/bundle/ruby/1.9.1/bin/promiscuous:23:in `<main>'

现在我无法分辨的是,这是一个捆绑问题,一个撬(?)问题还是一个混杂的问题。无论哪种方式最近发生了什么?这在发展中没有发生...

1 个答案:

答案 0 :(得分:0)

最有可能pry仅在开发模式下捆绑。

检查您的Gemfile。