lib/dynomite/db_config.rb in dynomite-1.2.1 vs lib/dynomite/db_config.rb in dynomite-1.2.2
- old
+ new
@@ -71,10 +71,10 @@
def db_config
return @db_config if @db_config
if defined?(Jets)
- config_path = "#{Jets.root}config/dynamodb.yml"
+ config_path = "#{Jets.root}/config/dynamodb.yml"
env = Jets.env
else
config_path = ENV['DYNOMITE_CONFIG'] || "./config/dynamodb.yml"
env = ENV['DYNOMITE_ENV'] || "development"
end