Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

kerdeseverin
9,688 PointsStatus update Ruby Error
I am currently doing "Generate a Rails Application". After doing the "rake db:migrate" command and starting the server 127.0.0.1:3000/statuses brings me to an error page, rather than what is shown in the video.
Error:
ExecJS::RuntimeError in Statuses#index
4 Answers

kerdeseverin
9,688 PointsFound solution in forum:
Download and install nodejs from http://nodejs.org/download/.
Add the following to the Gemfile:
gem "execjs"
Then run "bundle install" and try it again.

Riley Hilliard
Courses Plus Student 17,771 PointsStrange you needed execjs . . . we're you adding something off-course? Because my application doesn't require it. (just curious)

kerdeseverin
9,688 PointsNo I tried to follow the tutorials as is yet still got the weird error. Noticed other users have gotten a similar issue though.

Martin S
1,724 Pointshttp://teamtreehouse.com/forum/statuses
I had the same error, for me, the solution ended up being installing node.js then re-installing rails, hope that helps, cheers