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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -