[Rails] Re: Can't install rails, instructions in the book are wrong.

Ezra Zygmuntowicz ezra at yakimaherald.com
Wed Jan 25 04:53:14 GMT 2006


Greg-

	You now have the latest version of gem 0.8.11 . Gems is only a  
package manger for software written in ruby and not for ruby itslef.  
You cannot update the ruby binary through gems. But many people are  
using ruby 1.8.2 still to do rails work, myself included. ANd  
rails1.0.0 is also the latest stable release.

	In order to keep your riuibygems up to date you can run this command:
gem update --system

in order to keep all your ruby packages installed via gem you can run:
gem update

	You should have a nice stable set up now that won't need to change  
until you decide to move to ruby1.8.4

Cheers-
-Ezra

On Jan 24, 2006, at 7:56 PM, Greg wrote:

> 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
>
>
> -- 
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
ezra at yakima-herald.com
509-577-7732


More information about the Rails mailing list