redcloth (MissingSourceFile) - new problem after Heroku changed to bundler 1.0.7

浪尽此生 提交于 2019-12-11 04:19:09

问题


Our app had been working. Now I just pushed some new code into staging on Heroku for the 1st time after they moved to bundler 1.0.7. Now our app crashes and I got this error message -

/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require': no such file to load -- redcloth (MissingSourceFile)

We're on Rails 2.3.8.

Here is part of the Gemfile -

gem 'rails',   '2.3.8', :require => nil
gem 'RedCloth',                   :require => 'redcloth'

Any ideas on how to fix this problem? Thanks.


回答1:


I'm on Heroku and this is what I have :

gem 'RedCloth', '4.2.3'


来源:https://stackoverflow.com/questions/4952133/redcloth-missingsourcefile-new-problem-after-heroku-changed-to-bundler-1-0-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!