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: 18.104.22.168 2014-04-03 16:53:12
Can someone please help?
I strongly recommend *not* using Windows for rails development, use a
linux distribution (eg Ubuntu) or Mac. If, however, you have
absolutely no choice then I believe that railsinstaller.org is the way
Rubynewbie, I'm not familiar with installing on windows, but I think your
installation might still be okay. The documentation generation step is
where things failed, but that happens after all the code is installed. All
the documentation is online, so you don't especially need to have it on
your computer (although it is nice to have).
Try creating a rails application following the instructions and see if it
still works. If it doesn't, then you could seek more direct help at the
places RailsInstaller suggests:
Google Groups: http://groups.google.com/group/railsinstaller
Also check the issues at github:
Have a look at this page as well:
http://docs.railsbridge.org/installfest/windows -- it talks about setting
up more things in your development environment that you may want.
Best of luck!
Here are the steps to install the Rails environment on a Windows box:
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.
An explanation of why not would be useful. I have heard others say it
is the way to go.
It was just a personal approach, i.e. I’d prefer to install the things knowing exactly what happens and and when.
Rails Installer seems to me (always personal) as a kind of ‘black box’. More of that, it seems to be the preferred way to install via RubyInstaller (the easiest way), see http://rubyinstaller.org/.
i dont mean to be rude,
but use Vagrant! for petes sake. (-:
trust me, i have the same config (win7 32bit)
later on this year, when you give up trying to run rails nAtively on windows, i hope you rememer me, as the guy on the mailing list who suggested vagrant.