brightbox-warren 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/lib/warren.rb +1 -1
- data/warren.gemspec +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/warren.rb
CHANGED
@@ -13,7 +13,7 @@ require "yaml"
|
|
13
13
|
module Warren
|
14
14
|
end
|
15
15
|
|
16
|
-
WARREN_ENV = ENV[
|
16
|
+
WARREN_ENV = ENV['WARREN_ENV'] || ((defined?(RAILS_ENV) ? RAILS_ENV : "development")) unless defined?(WARREN_ENV)
|
17
17
|
WARREN_ROOT = (defined?(RAILS_ROOT) ? RAILS_ROOT : File.dirname($0)) unless defined?(WARREN_ROOT)
|
18
18
|
WARREN_LIB_ROOT = File.expand_path(File.dirname(__FILE__))
|
19
19
|
|
data/warren.gemspec
CHANGED