Ruby on Rails Gem setup

software development


I am new to Ruby on Rails. I just uploaded my app to Dreamhost, and I am using Passenger (although I got the same problem using fastcgi). I am using the login generator gem in my app and it works fine locally. On Dreamhost I got access to it by unpacking it with a gems command the unix command line and copying login_system.rb to my lib directory. When I try to access my site, I get this error:
NoMethodError (You have a nil object when you didn’t expect it!
The error occurred while evaluating nil.request_uri):
/lib/login_system.rb:74:in store_location' /app/controllers/palindrome_controller.rb:52:inlist’

I am not sure if my method of getting the login_system was correct. I don’t know enough about Ruby to figure out what this error message indicates. Any ideas would be appreciated.