1

Copied from my log file

ActionView::Template::Error (Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.

I'm not planning on using execjs as a runtime for my application. How can I avoid this problem?

In my Gemfile I commented the following two lines out, but I had no effect:

# gem 'sass-rails',   '~> 3.2.3'
# gem 'coffee-rails', '~> 3.2.1'

1 Answer 1

1

I had this same problem after a six month hiatus from using Heroku. It turned out I needed to use the 'cedar' stack and change the deployment URL to use the new installation. In my app directory:

heroku create --stack cedar
git remote set-url heroku [email protected]:blooming-river-1759.git
git push heroku master

http://dsimard.posterous.com/assets-problems-with-heroku-and-rails-31

http://devcenter.heroku.com/articles/cedar

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.