On 24 December 2010 12:16, Gordon Yeong <[email protected]> wrote:
>>
>> >> On 24 December 2010 11:27, ct9a <[email protected]> wrote:
>> >> > @Colin - running "gem list --local",  I observed rails is only 2.3.9
>> >> > (ie. "rails (2.3.9)")
>> >>
>> >> Please don't top post, it is easier to follow the thread if you insert
>> >> your post into the previous reply.  Thanks
>> >>
>> >> Can you show the complete output of gem list
>>
>> You have not provided the gem list output
>
>
> Here:
>
> ------- Start -----
> *** LOCAL GEMS ***
> actionmailer (2.3.9)
> actionpack (2.3.9)
> activemodel (3.0.3)
> activerecord (3.0.3, 2.3.9)

So you have some rails gems from 2.3.9, some from 3.0.3 and some from
both, and in environment.rb you ask for 2.3.5.  I don't know why that
would cause it to say it was loading 2.3.2 but it is certainly never
going to work as it is.  I think you need to sort out the versions.  I
would suggest installing rvm and starting again.

Colin

> activeresource (2.3.9)
> activesupport (3.0.3, 2.3.9)
> arel (2.0.6)
> authlogic (2.1.6)
> breadcrumbs_on_rails (1.0.1)
> builder (2.1.2)
> i18n (0.5.0)
> paperclip (2.3.8)
> prawn (0.8.4)
> prawn-core (0.8.4)
> prawn-layout (0.8.4)
> prawn-security (0.8.4)
> rack (1.1.0)
> rails (2.3.9)
> rake (0.8.7)
> riddle (1.2.2)
> rubygems-update (1.3.7)
> searchlogic (2.4.27)
> thinking-sphinx (2.0.1)
> tzinfo (0.3.23)
> will_paginate (2.3.15)
> ------- End -----
>
>
>
>>
>> >> (run from the rails
>> >> application root) please, also the complete output of script/server.
>> >> Also
>> >> rails -v
>> >> ruby -v
>> >>
>> >>
>> > r...@ct9a-dev:~/projects/myApp# rails -v
>> > Rails 2.3.9
>> > r...@ct9a-dev:~/projects/myApp# ruby -v
>> > ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
>> > r...@ct9a-dev# script/server
>> > => Booting WEBrick
>> > => Rails 2.3.2 application starting on http://0.0.0.0:3000
>>
>> Does it just stop there, or is there more?  Also is there anything in
>> development.log?
>> Does the app go on to function?
>>
> 1) yes, it just stops there and does not go any further.
>  Here's what it looks like:
>
> ---------- start ------------------
> c...@ct9a:~/projects/myApp$ script/console
> Loading development environment (Rails 2.3.2)
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/rails/gem_dependency.rb:99:Warning:
> Gem::Dependency#version_requirements is deprecated and will be removed on or
> after August 2010.  Use #requirement
> /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:223:in `activate': undefined
> method `map' for nil:NilClass (NoMethodError)
>         from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:249:in `block
> in activate'
>         from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:248:in `each'
>         from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:248:in
> `activate'
>         from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:1082:in `gem'
>         from
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/rails/gem_dependency.rb:57:in
> `add_load_paths'
>         from
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/initializer.rb:299:in
> `block in add_gem_load_paths'
>         from
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/initializer.rb:299:in
> `each'
>         from
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/initializer.rb:299:in
> `add_gem_load_paths'
>         from
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/initializer.rb:132:in
> `process'
>         from
> /home/ct9a/projects/myApp/vendor/rails/railties/lib/initializer.rb:113:in
> `run'
>         from /home/ct9a/projects/myApp/config/environment.rb:13:in `<top
> (required)>'
>         from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:in `require'
>         from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:in `block in
> load_modules'
>         from /usr/local/lib/ruby/1.9.1/irb/init.rb:262:in `each'
>         from /usr/local/lib/ruby/1.9.1/irb/init.rb:262:in `load_modules'
>         from /usr/local/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
>         from /usr/local/lib/ruby/1.9.1/irb.rb:53:in `start'
>         from /usr/local/bin/irb:12:in `<main>'
> c...@ct9a:~/projects/myApp$
> ---------- end ------------------
> 2) i could not find any "log" subdirectory. I even made one manually
> and re-ran 'script/console'. Still nothing :(
> 3) no, the app dies just there
>
> --
> 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.
>

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