On Jan 25, 2008, at 4:35 PM, John Bachir wrote:
When trying to start ferret with capistrano, I keep getting this:
.......
*** [err :: redken.digitalpulp.com] no such file to load -- /bin/../ config/environment
........
Running the same command manually on the server, it is successful. I have tried both as a regular user and as root.
More info-- here is the relevant code, in lib/server_manager.rb ENV['FERRET_USE_LOCAL_INDEX'] = 'true' ENV['RAILS_ENV'] = $ferret_server_options['environment']#require(File.join(File.dirname(__FILE__), '../../../../config/ environment'))
require(File.join(File.dirname(ENV['_']), '../config/environment')) require 'acts_as_ferret' ActsAsFerret::Remote::Server.new.send($ferret_server_action) so, it seems that in some contexts, ENV['_'] is coming up with /bin/. Thanks, John
_______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

