Forum: Ruby on Rails Rails Project only with root rights

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6c3d4bf51d0b16c990f15d09d9707750?d=identicon&s=25 Jan Josefowicz (Guest)
on 2006-05-06 11:48
I try to create a rails project as usual user. It does not work.

If I do that as root it works fine.
Also commands rails -v and gem -v does work only with root rights.

On the command:

developer@linux:~/data> rails test

I get following output:

`const_missing': undefined method `demodulize' for
"ActiveRecordError":String (NoMethodError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:182:in
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:181:in
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
        from /usr/local/bin/rails:17

2b404bb55d9b5dc78841795c4b731771?d=identicon&s=25 Damien Timewell (idlefingers)
on 2006-05-06 12:48
Almost the exact thing happened to me.

I can't really give any useful advice other than saying that I got it to
work again by re-installing rails. Only thing is that now, lighttpd and
the ruby console don't work for me anymore.

In hindsight, I think my installation was all fine until I tried to use
Locomotive to run apps, so I'm going to blame that for my broken

Sorry Im not much help, I just thought i'd share my experience,
This topic is locked and can not be replied to.