当我运行 heroku run bundle install 时,它给了我一个错误。
/usr/lib/ruby/1.9.1/rubygems.rb:308:in `bin_path': can't find gem bundler (>= 0) (Gem::GemNotFoundException)
from /app/bin/bundle:3:in `<main>'
当我运行heroku run rails console
时,会出现错误。
/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/rails:3:in `load'
from /app/bin/rails:3:in `<main>'
我的工作是什么?
我在其中添加了Node.js构建包。
bundle install
。您将存储库推送到Heroku时会发生什么?您能在这里添加输出吗? - Uzbekjon