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

Version Path
hobo-1.1.0 tasks/environments.rake
hobo-1.0.3 tasks/environments.rake
hobo-1.1.0.pre4 tasks/environments.rake
hobo-1.1.0.pre3 tasks/environments.rake
hobo-1.1.0.pre2 tasks/environments.rake
hobo-1.1.0.pre0 tasks/environments.rake
hobo-1.0.2 tasks/environments.rake
hobo-1.0.1 tasks/environments.rake
hobo-1.0.0 tasks/environments.rake
hobo-0.9.106 tasks/environments.rake
hobo-0.9.105 tasks/environments.rake
hobo-0.9.104 tasks/environments.rake
hobo-0.9.103 tasks/environments.rake
hobo-0.9.102 tasks/environments.rake
hobo-0.9.101 tasks/environments.rake
hobo-0.9.100 tasks/environments.rake
hobo-0.9.0 tasks/environments.rake
hobo-0.8.10 tasks/environments.rake
hobo-0.8.9 tasks/environments.rake
hobo-0.8.8 tasks/environments.rake