Launch of ruby ​​1.9.2 on Hereka

I'm trying to create a new application for the hero, but it seems that no matter what I make the hero is ruby ​​1.9.1, not 1.9.2

I created my application ...

heroku create writings --stack cedar

Then I pushed my development branch to the master on the hero for testing

git push heroku develop:master

But the application works with errors ... looking at heroku logs .. this seems like a breaking error.

 /app/vendor/bundle/ruby/1.9.1/gems/execjs-1.1.3/lib/execjs/runtimes.rb:43:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)

Which shows that it works with ruby ​​1.9.1, right?

If I run the heroku configuration, it will show ...

heroku config
DATABASE_URL => postgres: // mxlvaczibv: wMtsU7TrPMQM5n-X5SfX@ec2-50-19-226-179.compute-1.amazonaws.com / mxlvaczibv
GEM_PATH => vendor / bundle / ruby ​​/ 1.9.1
LANG => en_US.UTF-8
PATH => vendor / bundle / ruby ​​/ 1.9.1 / bin: / usr / local / bin: / usr / bin: / bin
RACK_ENV            => production
RAILS_ENV           => production
SHARED_DATABASE_URL => postgres://mxlvaczibv:wMtsU7TrPMQM5n-X5SfX@ec2-50-19-226-179.compute-1.amazonaws.com/mxlvaczibv

, 1.9.1? ... , 1,9.2. .

, .

+5
3

, Ruby 1.9.1. 1.9.1 1.9.2, . , .

, execjs , ​​ JS. , Celadon Cedar (NodeJS), , 3.1rc5. .

+11

Ruby 1.9.2 Heroku. Gemfile. , javascript Heroku , , .

group :production do
  gem 'therubyracer-heroku',  '0.8.1.pre3'
end
+2

:

heroku create --stack bamboo-mri-1.9.2
0

All Articles