javascript runtime in rails 3.1.0 and ruby 1.9.2. cant deal with with heroku. Did everything, but still does not working

拈花ヽ惹草 提交于 2019-12-01 06:20:30

I'm using Rails 3.1 on Heroku with the assets pipeline, in addition to the assets group in my gemfile I have;

group :production do
 gem 'therubyracer-heroku'
end

which seems to be what you're missing,

group :production do

gem 'therubyracer-heroku'

end

Then bundle update at local machine before uploading source code to heroku.

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