==> dyno-760868.log (crash) <==
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- gbarcode (MissingSourceFile)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require'
from /home/app/c6b26d71-eddb-4679-a962-fc9c69b7c8e4/vendor/plugins/barcoder/init.rb:3:in `evaluate_init_rb'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in `evaluate_init_rb'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:48:in `load'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:38:in `load_plugins'
... 22 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval'
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize'
from /home/heroku_rack/heroku.ru:1:in `new'
from /home/heroku_rack/heroku.ru:1
-----> Your application is requiring a file that it can't find.
我的应用程序正在崩溃,因为它找不到gbarcode - 我不想再使用它了。我从我的开发环境中卸载了gem并希望将它推送到heroku。如何在没有宝石的情况下启动我的应用程序?
答案 0 :(得分:2)
您需要通过barcoder插件创建gem。
通过删除vendor / plugins / barcoder目录卸载 barcoder 插件,一切都会好的。
答案 1 :(得分:0)
仍然不确定确切的错误。
最后我创建了一个新的heroku应用程序,复制了本地文件并重新命名了我的域名。该应用程序现在完美无缺。
这是一种廉价的解决方法 - 但似乎有效。