Don't run rails server -
Don't run rails server -
i want run server, console show me error.
/usr/local/rvm/gems/ruby-2.1.3/gems/execjs-2.2.0/lib/execjs/runtimes.rb:51:in `autodetect': not find javascript runtime. see https://github.com/sstephenson/execjs list of available runtimes. (execjs::runtimeunavailable) /usr/local/rvm/gems/ruby-2.1.3/gems/execjs-2.2.0/lib/execjs.rb:5:in `<module:execjs>'
how prepare issue?
try set in gemfile:
gem 'execjs' gem 'therubyracer'
and after bundle install
or bundle
if still have problems, delete gemfile.lock
, 1 time again bundle
ruby-on-rails
Comments
Post a Comment