SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: RAILS_ROOT Problem
-
Aug 16, 2006, 08:08 #1
- Join Date
- Jan 2006
- Posts
- 97
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
RAILS_ROOT Problem
I setup RoR and now I'm trying to setup Act As Authenticated to run on it. I installed it, and it works fine; however, when I add "include AuthenticatedSystem" to application.rb I get an error page:
NoMethodError
undefined method `helper_method' for Object:Class
RAILS_ROOT: /home/applications/mysite/config/..
#{RAILS_ROOT}/lib/authenticated_system.rb:96:in `send'
#{RAILS_ROOT}/lib/authenticated_system.rb:96:in `included'
#{RAILS_ROOT}/app/controllers/application.rb:1
/usr/bin/mongrel_rails:18
Is my RAILS_ROOT set to the wrong directory? If so, how can I change it?
-
Aug 16, 2006, 12:08 #2
- Join Date
- May 2002
- Location
- Berkeley
- Posts
- 76
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
is Acts As Authenticated a plugin?
Did you just plop it into the plugins directory?
-
Aug 16, 2006, 13:37 #3
- Join Date
- Jan 2006
- Posts
- 97
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Stevenwulf
script/plugin source http://svn.techno-weenie.net/projects/plugins
script/plugin install acts_as_authenticated
script/generate authenticated user account
Edit: I just checked, and the acts_as_authenticated is in the plugins directory.
-
Aug 17, 2006, 11:41 #4
- Join Date
- Jan 2006
- Posts
- 97
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well, I was using Mongrel for this installation, and the problem fixed itself when I ran Mongrel on port 80 with "mongrel_rails start -d -p 80" instead of letting it run on 3000...
Bookmarks