Hello Rick,
My app wasn't frozen.
I froze it to 2.1.2 and script/server start now works.

Thanks for your help.

Still, I don't understand why it didn't worked without the freeze.

Best,
Thomas.

On Sun, Nov 9, 2008 at 6:06 PM, Rick <[EMAIL PROTECTED]> wrote:

>
> ok,
>
> So the "Rails requires..." message is comming from ".../gems/1.8/gems/
> rails-2.1.2/environments/boot.rb" which will also force a load from
> "vendor/rails" if you have one.
>
> Did you freeze rails into your app by any chance?
>
> Rick
>
> On Nov 6, 11:43 pm, "Thomas Balthazar" <[EMAIL PROTECTED]> wrote:
> > Hello,
> > On my local machine (Mac OS X 10.5.5), I get the following error when I
> try
> > to run script/server start :
> > "Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update
> > --system` and try again."
> >
> > The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine.
> > I've run the rake rails:update command.
> >
> > If I create a new Rails app, it starts with the command script/server
> start
> > without complaining.
> >
> > I've run :
> > sudo gem update --system
> > Updating RubyGems
> > Nothing to update
> >
> > Some infos :
> > * gem -v
> > 1.3.1
> > * which gem
> > /usr/local/bin/gem
> > * ruby -v
> > ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.5.1]
> > * which ruby
> > /usr/local/bin/ruby
> > * rails -v
> > Rails 2.1.2
> > * which rails
> > /usr/local/bin/rails
> > * gem list
> > *** LOCAL GEMS ***
> >
> > actionmailer (2.1.2, 2.1.0, 1.3.6)
> > actionpack (2.1.2, 2.1.0, 1.13.6)
> > actionwebservice (1.2.6)
> >  activerecord (2.1.2, 2.1.0, 1.15.6)
> > activeresource (2.1.2, 2.1.0)
> > activesupport (2.1.2, 2.1.0, 1.4.4)
> > capistrano (2.5.0)
> > cgi_multipart_eof_fix (2.5.0)
> > daemons (1.0.10)
> > fastthread (1.0.1)
> > gem_plugin (0.2.3)
> > highline (1.4.0)
> > mongrel (1.1.5)
> > mysql (2.7)
> > net-scp (1.0.1)
> > net-sftp (2.0.1)
> > net-ssh (2.0.4)
> > net-ssh-gateway (1.0.0)
> > rails (2.1.2, 2.1.0, 1.2.6)
> > rake (0.8.3)
> > rubygems-update (1.3.1)
> >
> > Any idea?
> > Thanks in advance for your help.
> >
> > Best,
> > Thomas.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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