Ruby on Rails
Thursday, January 30, 2014
Hi Badal,
Have you tried installing the gem 'therubyracer'?
Put the line:
gem 'therubyracer'
in your Gemfile and execute bundle install on your console. Restart the server and try again.
Best regards,
On Thu, Jan 30, 2014 at 9:16 AM, Badal Rooprai <roopraibadal@gmail.com> wrote:
i am new to ROR. currently studying getting started with rails http://guides.rubyonrails.org/getting_started.html--i am getting "execjs: runtime error"after removing # from routes.tb file.root line initially was like # root 'welcome#index'and it was working fine as expected on localhost:3000 but after removing # it gave that error .i searched a lot online and got some suggestions like
root
"welcome#index"
root :to => "home#index"i tried all the suggested but i am not able to remove that
error and couldn't see my page .
what is the correct way to do it on ror 4.0.2
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP1NN4DsNHgU-bvNetYQzqjk_aKPaCKsBqVVJJu0r%3D56LsTHrg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACMkcE4qWEzcaCt7zafMDBMcDrcE2YrYmL6WjxLbyfXNnAUiJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment