On Mon, Mar 16, 2009 at 7:32 PM, VS <[email protected]> wrote:
>
> This is definetely working with ruby 1.8.6. Here's the output using
> the old version of ruby :
> oldruby script/server
> => Booting Mongrel
> => Rails 2.3.2 application starting on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
>
> But when I try :
> ruby script/server,
> Missing the Rails 2.3.2 gem
>
> Error has to do with ruby 1.9.1p0
>
> Thanks,
> -VS
>
>
>
> On Mar 16, 7:27 pm, VS <[email protected]> wrote:
> > update: if I do "sudo gem install rails", I get :
> > Successfully installed rails-2.3.2
> > 1 gem installed
> >
> > But if I do script/server: I still get:
> > Missing the Rails 2.3.2 gem
> >
> > What am I missing ?
> >
> > Thanks,
> > -VS
> >
> > On Mar 16, 7:20 pm, VS <[email protected]> wrote:
> >
> >
> >
> > > This might mean something... When I run 'gem install rails' as the
> > > local user( in the previous attempt I ran this as root), I get
> > > WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
> > > /usr/bin aren't both writable.
> > > WARNING: You don't have /Users/vs/.gem/ruby/1.8/bin in your PATH,
> > > gem executables will not run.
> >
> > > Any ideas ?
> >
> > > Thank you.
> > > -VS
> >
> > > On Mar 16, 7:16 pm, VS <[email protected]> wrote:
> >
> > > > Thanks Greg. Here's the line from config/environment.rb
> > > > RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
> >
> > > > Any ideas ? this is driving me crazy... Everything was working under
> > > > ruby 1.8.6
> >
> > > > Thanks,
> > > > -VS
> > > > On Mar 16, 7:04 pm, Greg Donald <[email protected]> wrote:
> >
> > > > > On Mon, Mar 16, 2009 at 8:18 PM, VS <[email protected]> wrote:
> >
> > > > > > Yes, I get the same error on script/console. Here's my
> script/server
> > > > > > #!/usr/bin/env ruby
> > > > > > require File.dirname(__FILE__) + '/../config/boot'
> > > > > > require 'commands/server'
> >
> > > > > > Thank you.
> > > > > > -VS
> >
> > > > > Looks normal to me.
> >
> > > > > What RAILS_GEM_VERSION is in your config/environment.rb ?
> >
> > > > > --
> > > > > Greg Donaldhttp://destiney.com/
>
OK, here's a chart that you should following:
( mongrel compatible ) ( thin compatible ) (
wberick compatible ) ( passenger compatible )
ruby 1.8.6 Y Y
Y Y
ruby 1.9.1 N Y
N Y
Good luck,
-Conrad
> <http://destiney.com/>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---