Greg Donald wrote:
> On Fri, Sep 18, 2009 at 3:11 AM, Arul hari
> <[email protected]> wrote:
>>
>> After installing the rails I faced this problem. If anyone aware of this
>> problem, kindly give solution for this.
>>
>> velling...@webdevel:~/public_html/Isync$ ./script/server
>> => Booting WEBrick...
>> /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't
>> activate activeresource (= 2.3.4, runtime), already activated
>> activeresource-2.1.0 (Gem::Exception)
>
> Do you get the same error when running script/console ?
>
> I would remove whatever gems I wasn't using.. looks like you have at
> least a couple versions of Rails installed. If the extra versions
> aren't there they can't be loaded to cause the error. Removing them
> fixed similar issues for me a while back.
>
>
> --
> Greg Donald
> http://destiney.com/
When I use the script/console I got the same error,
ERROR:
velling...@webdevel:~/public_html/Isync$ ./script/console
Loading development environment (Rails 2.1.0)
/xhome/vellingiri/public_html/Isync/vendor/rails/railties/lib/commands/console.rb:32:
warning: Insecure world writable dir /home/vellingiri in PATH, mode
040777
/usr/local/lib/site_ruby/1.8/rubygems.rb:270:in
`activate':NoMethodError: undefined method `map' for nil:NilClass
>> User
NameError: uninitialized constant User
from
/xhome/vellingiri/public_html/Isync/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:278:in
`load_missing_constant'
from
/xhome/vellingiri/public_html/Isync/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:467:in
`const_missing'
from
/xhome/vellingiri/public_html/Isync/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:479:in
`const_missing'
from (irb):1
>>
Regards,
S.Vellingiri.
--
Posted via http://www.ruby-forum.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
-~----------~----~----~----~------~----~------~--~---