Displaying 1 result from an estimated 1 matches for "55e32d32".
Did you mean:
55032932
2006 Feb 17
3
How to get RAILS_ROOT when writing a ruby utility in /lib
Hi, Im writing a small ruby utility which at the moment is in /lib of my
rails app. However I don''t get access to var''s like RAILS_ROOT, do I
need to add an include to get this (and possibily other) rails
functionality?
Is /lib the right place for this kind of app, its a single ruby class
which I call from the command line. Would a rake file be better for this
kind of