Sha256: dbba15ca089deaad0680c178a66f7ce4ed642547b1b9bfd137db34c44dcd0fdc
Contents?: true
Size: 340 Bytes
Versions: 40
Compression:
Stored size: 340 Bytes
Contents
%w[development production staging].each do |env| desc "Runs the following task in the #{env} environment" task env do RAILS_ENV = ENV['RAILS_ENV'] = env end end task :testing do RAILS_ENV = ENV['RAILS_ENV'] = 'test' end task :dev do Rake::Task["development"].invoke end task :prod do Rake::Task["production"].invoke end
Version data entries
40 entries across 40 versions & 1 rubygems