从我的日志文件复制
ActionView::Template::Error (找不到JavaScript运行时。有关可用运行时的列表,请参阅https://github.com/sstephenson/execjs。
我不打算使用execjs作为我的应用程序的运行时。我怎样才能避免这个问题?
在我的Gemfile中,我注释掉了以下两行,但没有效果:
# gem 'sass-rails', '~> 3.2.3'
# gem 'coffee-rails', '~> 3.2.1'发布于 2012-03-18 23:52:02
在停止使用Heroku六个月后,我也遇到了同样的问题。原来我需要使用'cedar‘堆栈,并更改部署URL以使用新安装。在我的app目录中:
heroku create --stack cedar
git remote set-url heroku git@heroku.com:blooming-river-1759.git
git push heroku masterhttp://dsimard.posterous.com/assets-problems-with-heroku-and-rails-31
http://devcenter.heroku.com/articles/cedar
https://stackoverflow.com/questions/9368776
复制相似问题