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