capistrano_banner 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|