lib/deployml/frameworks/rails.rb in deployml-0.4.2 vs lib/deployml/frameworks/rails.rb in deployml-0.5.0
- old
+ new
@@ -8,13 +8,13 @@
# Overrides the default `rake` method to add a `RAILS_ENV`
# environment variable.
#
# @see {Environment#rake}
#
- def rake(task,*args)
- args += ["RAILS_ENV=#{@environment}"]
+ def rake(task,*arguments)
+ arguments += ["RAILS_ENV=#{@environment}"]
- super(task,*args)
+ super(task,*arguments)
end
end
end
end