RAILS_ROOT require?

Posted by mportiz08 on Stack Overflow See other posts from Stack Overflow or by mportiz08
Published on 2010-05-29T00:10:13Z Indexed on 2010/05/29 0:12 UTC
Read the original article Hit count: 194

I'm trying to access the RAILS_ROOT constant in a file residing in the /lib directory, but I'm not able to (uninitialized constant error). Is there something that I need to require to be able to do this? Sorry if this is a dumb question..

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby