On Sunday, July 27, 2014 5:01:40 AM UTC+2, rubynewbie wrote: > > I am a newbie on Ruby on Rails. When trying to install on Win 7 32 bit PC, > after executing gem install rails, got the following errors: > > 9 gems installed > error: while generating documentation for actionpack-4.1.4 > ... MESSAGE: Invalid argument - ./ActionDispatch/Routing/Mapper/Scoping/: > ... RDOC args: --ri --op > C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/doc/act > ionpack-4.1.4/ri lib --title actionpack-4.1.4 Documentation --quiet > > (Ruby version: 1.9.3p545 (2014-02-24) [i386-mingw32] > SQLite version: 3.8.4.3 2014-04-03 16:53:12 > > Can someone please help? > > Thanks, > rubynewbie >
Here are the steps to install the Rails environment on a Windows box: - DO NOT use the rails Installer ! - download and install Ruby with RubyInstaller as explained here:http://rubyinstaller.org/ - check the installed Ruby version by running *ruby -v* in your command prompt( run Start-Run-cmd) - download and install DevKit as explained at http://rubyinstaller.org/add-ons/devkit/ to enable the build of C-based extension gems - check the installation of DevKit as explained here: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit#building-the-devkit - install rails and related gems by running in your terminal (command prompt) gem install rails. This will take some time. - finally check the installed Rails version by running *rails -v* in your terminal. That's as easy as it is. If you have some proxy related issues, come back or (better) post it to another thread. Hope this helps. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/70792620-df31-4f5a-8a30-79bf9693dd5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

