Install Ruby on rails on my XP
Started @ 17:01, because I was tired of BF2142 crashes…
Need a web server: apachefriends download it and follow the nexts until the end
Then need ruby ruby185-21.exe there again follow the nexts until it’s installed
@ 17:12
I just follow the steps found on Ruby on Rails site and it says that then I need a package manager: rubygems-0.9.0.zip
so I unzip it, I open a command prompt and go to the directory where it is unzipped and execute:
ruby setup.rb
Ok, now the third step, rails !!!
Seems even easier
gem install rails --include-dependencies
Hum I see some errors… looks like comment in the code
While generating documentation for activesupport-1.3.1
... MESSAGE: Unhandled special: Special: type=17, text=""
... RDOC args: --ri --op f:/ruby/lib/ruby/gems/1.8/doc/activesupport-1.3.1/ri --quiet lib
(continuing with the rest of the installation)
Installing ri documentation for activerecord-1.14.4...
Installing ri documentation for actionpack-1.12.5...
While generating documentation for actionpack-1.12.5
... MESSAGE: Unhandled special: Special: type=17, text=""
... RDOC args: --ri --op f:/ruby/lib/ruby/gems/1.8/doc/actionpack-1.12.5/ri --quiet lib
And it takes longer than the previous operations… @17:24
Well it looks like it’s done…
now let’s follow this cool looking guide (Rails4Days.pdf)
Comment on the document: Rails4Days.pdf
About apache
Do not use the subst in apache conf, or apache will fail without notice. So I mean if you subst W: C:\www\webroot\ and you want to create a DocumentRoot in apache: DON’T USE THE W:, but use the full real qualified path instead.
Don’t forget to enalbe mod_rewrite ==> LoadModule rewrite_module modules/mod_rewrite.so in httpd.conf.
@20:15
I decided to install: rails-prod-win it’s everything in one already configured ,-) next time I will try to resolve my apache problem under XP.


