UFFFFF, I have managed installing Ruby 1.9.2 & Rails 3 on windows.
The following links has helped:Running Rails 3 on Windows - Accidental Technologist…
andhttp://johnivanoff.blogspot.com/2010/09/ruby-192-rails-3-clean-instal…
I also tried to install Rails on Win2k3.
But every gem operation drop this kind of error:
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in installed_sp ec_directories': undefined method path’ for Gem:Module
(NoMethodError)
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/
source_index.rb:58:in from_installed_gems' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:883:in source_inde
x’
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/
gem_path_searcher.rb:8
1:in init_gemspecs' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/ gem_path_searcher.rb:1 3:in initialize’
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in new' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in block in se
archer’
from internal:prelude:10:in synchronize' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:840:in searcher’
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:479:in
`find_files’
from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:983:in
load_plugin s' from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems.rb:1139:in <top (requ
ired)>’
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:in require’
from C:/Ruby192/bin/gem:8:in `’
What I can do to install rail?
The gem installable with only this:
set RUBYOPT=
ruby --disable-gems setup.rb
But I don’t know how to install the rails.
This is very disturbing thing. I want to use only RedMine, it needs
Rail…
is not that rails is hard to install , is that rails moves fast, it does
not
have the constrains we are used to with other frameworks, rails is open
source, gems are free
and is easy to learn , so rails changes fast, if you read a book or a
tutorial today it may not be useful in a month. Other technologies are
sedentary because they take much more time to learn , expensive ,
proprietary and to get advice you have to pay an “expert”. Since
everything
windows related is sedentary so windows is not ideal for rails.
I solved the problem. But very hard to install redmine to Windows.
First: the ruby must be 1.8.7
Next: the gem is in installer is the only gem what usable for it.
And: the rails must be a specific version.
And: because of Windows, all of the gem installations (for example:
mongrel) needs to define platform, because there is no make in
Windows.
And: use mysql than pgsql.
Thanks for your help:
dd
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.