From: Jason Perry Date: 2010-02-03T02:37:57+09:00 Subject: Re: RUBYLIB and shared libraries Sorry, man. If you want to define the root of your application you could always set a global variable in your main.rb or set a global variable. Whenever you call use __FILE__ it is the relative path to the file that is calling it so in your case the shared library file. On 2/2/10 11:42 AM, "Alpha Blue" wrote: > Jason Perry wrote: >> You can use RAILS_ROOT but I'm sure there is a better way. > > wha?? > > This isn't a rails discussion topic and has nothing to do with rails. > Someone else?