Re: [Rails] Problem In Rails Server Command
On 1 March 2012 15:44, Anurag Sachan <anuragsachan07@gmail.com> wrote:
> Hello Everyone
> I have install rails in my laptop. I am using Ubuntu Operating System.
> I create an app using $ rails new abc
> and then go to the abc folder and type rails server then i got error:
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> anurag@anurag-Compaq-Presario-CQ40-Notebook-PC:~/abc$ rails s
> /home/anurag/.rvm/gems/ruby-1.9.2-p290/gems/execjs-1.3.0/lib/execjs/
> runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime.
> See https://github.com/sstephenson/execjs for a list of available
> runtimes. (ExecJS::RuntimeUnavailable)
Add to Gemfile
gem 'execjs'
gem 'therubyracer'
and then bundle install.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home