lib/taketo/constructs/server.rb in taketo-0.0.7 vs lib/taketo/constructs/server.rb in taketo-0.0.8
- old
+ new
@@ -17,12 +17,13 @@
def env(env_variables)
@environment_variables.merge!(env_variables)
end
- def environment=(environment)
+ def parent=(environment)
env(:RAILS_ENV => environment.name.to_s)
@environment = environment
+ super
end
def default_command
defined?(@default_command) ? @default_command : Command.default
end