Dublin
Dublin

Reputation: 3

Error when Installing ruby on rails on Windows 8

I need to install ruby on rails for college. I can get as far as the 'welcome page' but when I try to run a sample page I'm getting an error.

A friend of mine has a similar problem and he too uses windows 8.

I got out an old laptop ( Windows 7 ) and installed it and I'm not getting the error page so I'm pretty sure it's got something to do with Windows 8.

Screenshot here...

http://i48.tinypic.com/29c5ms1.png

Upvotes: 0

Views: 379

Answers (1)

alf
alf

Reputation: 18530

You have to either install nodejs, or add TheRubyRacer gem to your project. To do the latter, edit your Gemfile and add:

gem 'therubyracer'

Then run:

bundle install

And that should fix it.

Upvotes: 1

Related Questions