lib/octopus.rb in ar-octopus-0.0.12 vs lib/octopus.rb in ar-octopus-0.0.13
- old
+ new
@@ -1,9 +1,9 @@
require "yaml"
module Octopus
def self.env()
- @env ||= defined?(Rails) ? Rails.env.to_s : "production"
+ @env ||= 'octopus'
end
def self.config()
@config ||= YAML.load_file(Octopus.directory() + "/config/shards.yml")
end
\ No newline at end of file