capistrano_banner 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano_banner/base.rb +1 -1
- data/lib/capistrano_banner/version.rb +1 -1
- metadata +1 -1
@@ -51,7 +51,7 @@ module CapistranoBanner
|
|
51
51
|
module IntegrationMethods
|
52
52
|
def banner(options = {})
|
53
53
|
path = self[:banner_path] || "./config/banner.txt"
|
54
|
-
env = self[:
|
54
|
+
env = self[:rack_env] || self[:rails_env] || (raise "rails_env or rack_env is required.") # FIXME: or somthing else?
|
55
55
|
|
56
56
|
Base.new(env, path).print_banner(options)
|
57
57
|
end
|