lib/flydata.rb in flydata-0.0.5.2 vs lib/flydata.rb in flydata-0.0.5.3
- old
+ new
@@ -10,9 +10,9 @@
# require all flydata libs
lib_dir = File.expand_path(File.dirname(__FILE__))
ActiveSupport::Dependencies.autoload_paths << lib_dir
module Flydata
- HOME_DIR="#{ENV['HOME']}/.flydata"
+ HOME_DIR= ENV['FLYDATA_HOME'] || "#{ENV['HOME']}/.flydata"
include Flydata::Heroku
end