Don't run rails server -


I want to run a server, but the console shows me an error.

  / usr /local/rvm/gems/ruby-2.1.3/gems/execjs-2.2.0/lib/execjs/runtimes.rb:51:in 'autodetect': a javascript Runtime could not be found. See https://github.com/sstephenson/execjs for a list of available runtime. (ExecJS :: RuntimeUnavailable) /usr/local/rvm/gems/ruby-2.1.3/gems/execjs-2.2.0/lib/execjs.rbitter:in `& lt; From the module: ExecJS & gt;  

How to fix this problem?

Try putting it in your Jeff:

 gem 'execjs 'Gem' therubyracer ''  

and after this bundle installed or just bundle

if you still have problems , Then delete Gemfile.lock and again bundle


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -