Revision a051c3cd
Added by Marc Dequènes almost 16 years ago
- ID a051c3cd37e2791668e2fc6222da688771fe89e9
lib/cyborghood/mail.rb | ||
---|---|---|
|
||
# add Rails load path for Debian, until rails framework is split properly
|
||
DEB_RAILS_PATH = "/usr/share/rails"
|
||
DEB_RAILS_PATH = "/usr/share/rails" unless Object.constants.include?("DEB_RAILS_PATH")
|
||
Dir.new(DEB_RAILS_PATH).each do |file|
|
||
next if file =~ /^\./
|
||
path = File.join(DEB_RAILS_PATH, file, "lib")
|
Also available in: Unified diff
[evol] ensure DEB_RAILS_PATH is not set twice (but activeldap should do the same)