简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM