It was indeed the rails version to mess with the application.
Modifying the RAILS_GEM_VERSION things got back to normal.
Thank you for your help. Very much appreciated.

Dario Pirola

On 3 Nov, 21:05, Matt Jones <[email protected]> wrote:
> On Nov 3, 9:58 am, Dario Pirola <[email protected]> wrote:
>
>
>
> > Hi everyone.
> > I'm new to Rails and have been trying to learn something listening to
> > Ryan Bates' podcast.
> > I have tried to install the authlogic gem, inserting the extension as
> > a dependency in the environment.rb file as requested.
> > But, when I run 'sudo rake gems:install' I get an error:  wrong number
> > of arguments.
>
> > I've pasted the trace blow.
>
> > Then thinking that Rails version could be out of time, I changed
> > Rails' version from 2.2.2 to 2.3, and repeated the same command having
> > the same result. It seems as it's executing the code still from the
> > older version of Rails, as you can see below.
> > I've checked my file system. Rails 2.3.4 is installed, but 2.2.2 is
> > still there. I should delete it or change some Path assignation ?
>
> If you generated the application under 2.2.2, there's probably a
> RAILS_GEM_VERSION set in your environment.rb; try changing that to
> 2.3.4.
>
> > Another thing: I'm running Rails on Ubuntu 8.04, and have it installed
> > in the filesystem (/usr/lib/ruby/gems/1.8/gems) and in the home
> > directory as hidden file (/home/dario/.gem/ruby/1.8/gems). Is it like
> > it should be or it has to be only in one directory ?
> > Thank you in advance for your help.
>
> It shouldn't cause any problems to have it in both places (AFAIK), but
> it certainly doesn't need to be in both.
>
> --Matt Jones
--~--~---------~--~----~------------~-------~--~----~
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