From: Gideon King Date: 2008-08-27T12:07:08+09:00 Subject: ENV['_'] present on MacOS X, missing on OpenBSD Hi, The acts_as_ferret server refers to ENV['_'] in server_manager.rb: require(File.join(File.dirname(ENV['_']), '../config/environment')) ENV['_'] is nil so the script fails. I am assuming that it is supposed to be the folder name of the script that is running or something like that, but I can't find an documentation on it. I am also assuming that it may be one of those automatic environment variables passed in as part of the execution context on most systems, but may not be on FreeBSD. Three things: 1. What should this be returning? 2. How can I get it to return the right thing? 3. If it is indeed returning the name of the folder where the script is executing from, couldn't I jusr replace it with: require(RAILS_ROOT + '/config/environment') ? TIA Gideon -- Posted via http://www.ruby-forum.com/.