[Rails]
Re: Can't install rails, instructions in the book are wrong.
Greg
ghill4848 at hotmail.com
Wed Jan 25 03:56:47 GMT 2006
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_,
even ruby?
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
me errors.
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?
Thanks again.
Greg
Ezra Zygmuntowicz 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
>
> Cheers-
> -Ezra
>
>
> On Jan 24, 2006, at 4:55 PM, Ben Reubenstien 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
>>
>> --
>> Ben Reubenstein
>> http://www.benr75.com
>> _______________________________________________
>> Rails mailing list
>> Rails at lists.rubyonrails.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>
> -Ezra Zygmuntowicz
> Yakima Herald-Republic
> WebMaster
> http://yakimaherald.com
> 509-577-7732
> ezra at yakima-herald.com
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list