On Sep 18, 8:26 am, Arul hari <[email protected]>
wrote:
> Frederick Cheung wrote:
> > On 18 Sep 2009, at 09:11, Arul hari wrote:
>
> >> After installing the rails I faced this problem. If anyone aware of
> >> this
> >> problem, kindly give solution for this.
>
> > Usually means that something else in your app loaded a specific
> > version of activeresource prior to rails loading it.
>
> > Fred
>
> I just installed rails 2.2.3-1. When I created the new application rails
> created default directories.
> #./script/server
> /usr/local/lib/site_ruby/1.8/rubygems.rb:270:in `activate':
> undefined method `map' for nil:NilClass (NoMethodError)
> from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35:in
> `require'
> from
> /xhome/vellingiri/public_html/Isync/vendor/rails/activesupport/lib/active_s
> upport/dependencies.rb:509:in
> `require'
This error message makes it hard to believe that you just "created a
new application" - you've got a frozen version of Rails in vendor/
rails. Likely this is causing the problem. The 2.1-era gem loader had
some issues with gems that depended on Rails throwing errors when
Rails was vendored.
It's also possible that your Rubygems install is out of date - see the
documentation on gem update --system for more details.
--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
-~----------~----~----~----~------~----~------~--~---