Is there a specific version of rubygems I should install with rails
1.8.4?

(The book I'm using is Wrox's Beginning Ruby on Rails.  I'm using this
book because it has exercises in it.  If you know of a more recent
book that has exercises in it, that would be great.)

On Feb 23, 5:17 pm, Frederick Cheung <[email protected]>
wrote:
> On Feb 23, 9:59 pm, James Brasel <[email protected]> wrote:
>
>
>
> > I was recently using the latest version of rails, until I found out
> > that the book I was using required an older version.  I uninstalled my
> > other versions and installed rails 1.2.6, however, I get the following
> > message when I try to create a project:
>
> > m...@darkstar:~$ rails proj
> > can't convert Enumerator into Array
>
> > Here is some info:
>
> > m...@darkstar:~$ rails -v
> > Rails 1.2.6
> > m...@darkstar:~$ ruby -v
> > ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]
> > m...@darkstar:~$ gem -v
> > 1.3.5
>
> > Is there a different version of ruby or gem I should be running for
> > rails 1.2.6?  What could be the problem?  What other info should I
> > provide?
>
> The first version of rails that was compatible with ruby 1.9 was rails
> 2.3 so you're quite a few versions behind. You could install ruby
> 1.8.4, as I definitely remember using that version of ruby with rails
> 1.x, but you should probably look at acquiring a book that isn't
> several years out of date as a lot of things in rails have changed
> since then.
>
> Fred
>
>
>
> > Thanks!
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to