Thanks to everyone for your e-mails. The book seems to mistakenly
believe that all that is required is 1.8.2 and that’s not quite true.
What threw me off was believing that statement, so I downloaded
ruby182-14.exe, which was built on
2005-01-01, and unfortunately the “gem” there wasn’t compatible with the
instructions in the book. “gem update rails --include-dependencies”
gave the syntax error that I previously mentioned. That led me down all
kinds of bad trails. Tonight I went back to
http://rubyforge.org/frs/?group_id=167 and installed ruby182-15.exe,
which was built 2005-04-20, and this has a “gem” that supports the
syntax mentioned in the book.
I just have one more set of questions: Since building Windows one-click
installations seems to lag far behind the UNIX builds, could someone
please tell me if I ever have to again even worry about this?
What I mean is: Now that I have ruby, gem, and rails, is there now one
“gem update …” command that I can use that will update everything,
Right now I still have ruby 1.8.2. I have done “gem update --system”,
as one of you suggested. gem -v now gives me 0.8.11, but I don’t know
if that’s the latest or not. Finally, I noticed that it installed
rails-1.0.0, and I assume that that is the latest.
I tried to upgrade ruby itself via “gem update ruby”, but that just gave
Now that I have a “stable” system, I am reluctant to try to unzip some
new Ruby zipfile into a directory that I originally created via a
Windows one-click install, but maybe they have separated things cleanly
enough that that won’t hurt anything.
Is it completely safe to update ruby by simply grabbing the latest
zipfile and extracting into my ruby directory?
Ezra Z. wrote:
The syntax is:
gem install rails --version=1.0.0
And if your gem command does not support the --include-dependencies
option it means your gem command is old so upgrad it!:
gem update --system
On Jan 24, 2006, at 4:55 PM, Ben R. wrote:
would also insure the ruby -v produces 1.8.4. Also check the PATH
later than 1.0!! Someone suggested specifying the rails version
Rails mailing list