Sha256: 5f35df70f892b047cc95c818d446573732b1738a60267e54baeba0a1b6749aa6

Contents?: true

Size: 332 Bytes

Versions: 82

Compression:

Stored size: 332 Bytes

Contents

desc "Set the environment variable RAILS_ENV='development'."
task :development do
  ENV['RAILS_ENV'] = RAILS_ENV = 'development'
  Rake::Task[:environment].invoke
end

desc "Set the environment variable RAILS_ENV='production'."
task :production do
  ENV['RAILS_ENV'] = RAILS_ENV = 'production'
  Rake::Task[:environment].invoke
end

Version data entries

82 entries across 82 versions & 8 rubygems

Version Path
spree-0.8.2 lib/tasks/environments.rake
spree-0.8.3 lib/tasks/environments.rake