[Rails] Re: Could not find a JavaScript runtime

2014-10-20 Thread Pratap Patil
When we using Unix system for ror setup , we use therubyracer gem but therubyracer is not working on the windows platform. On windows platform use node-js. Also other way is remove reuqire tree in application js file but this not correct way. On Monday, October 6, 2014 9:44:00 AM UTC+5:30,

[Rails] Re: Could not find a JavaScript runtime

2014-10-06 Thread Puneet Agarwal
Hi Juan, use this :- -gem install therubyracer -bundle install -add gem 'therubyracer' line in Gemfile which is located inside the project -rails server WEBrick Server should start. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

Re: [Rails] Re: Could not find a JavaScript runtime

2014-10-06 Thread Colin Law
On 6 October 2014 11:36, Puneet Agarwal puneet.241994.agar...@gmail.com wrote: Hi Juan, use this :- -gem install therubyracer -bundle install -add gem 'therubyracer' line in Gemfile which is located inside the project -rails server bundle install needs to be after adding therubyracer to

Re: [Rails] Re: Could not find a JavaScript runtime

2014-10-06 Thread Puneet Agarwal
Hey I think i missed one line . Actually i stated 2 different ways to resolve the problem ,if you add in the gemfile then simply bundle install will do the work or you can manually install and add it to the gemfile. U can choose any of the way . Better will be you add it in the gemfile and

Re: [Rails] Re: Could not find a JavaScript runtime

2014-10-06 Thread Colin Law
On 6 October 2014 14:44, Puneet Agarwal puneet.241994.agar...@gmail.com wrote: Hey I think i missed one line . Actually i stated 2 different ways to resolve the problem ,if you add in the gemfile then simply bundle install will do the work or you can manually install and add it to the gemfile.

Re: [Rails] Re: Could not find a JavaScript runtime

2014-10-06 Thread Puneet Agarwal
Hi, To be specific it has to be included in gemfile and then running bundle install will download and install the updated gem. Then javascript runtime error should go away. If you want any further clarifications let us know. Thanks. On Monday, 6 October 2014 19:24:44 UTC+5:30, Colin Law

[Rails] Re: Could not find a JavaScript runtime -- Bundler Rbenv

2012-05-04 Thread Johann Aman
AFAIK execjs and rubyracer are not JS runtimes themselves, only wrappers (though I may be wrong!). I got this error too, installed NodeJS on my server, and everything worked perfectly, so I made a conclusion, that NodeJS is suitable JS runtime for Rails:))) On May 3, 9:40 pm, Ari King