无法加载此类文件 - bundler(LoadError)

时间:2016-08-17 06:52:51

标签: ruby-on-rails heroku heroku-toolbelt

我正在尝试为Heroku设置数据库。我已经尝试过gem install bundler / bundle install,安装得很好。但是我仍然遇到这个错误。有什么建议?谢谢!

heroku run rake db:migrate
Running rake db:migrate on ⬢ mycapstoneeventbrighter... up, run.2960
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /app/bin/spring:8:in `<top (required)>'
from /app/bin/rake:3:in `load'
from /app/bin/rake:3:in `<main>'

0 个答案:

没有答案