Sha256: adab5fe7659e411d5fe69d473ab82b2e41bc6bf47c27b2cc48272b775c9e6c8d

Contents?: true

Size: 332 Bytes

Versions: 207

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

207 entries across 207 versions & 1 rubygems

Version Path
trusty-cms-5.3.9 lib/tasks/environments.rake
trusty-cms-5.3.8 lib/tasks/environments.rake
trusty-cms-5.3.7 lib/tasks/environments.rake
trusty-cms-5.3.6 lib/tasks/environments.rake
trusty-cms-5.3.5 lib/tasks/environments.rake
trusty-cms-5.3.4 lib/tasks/environments.rake
trusty-cms-5.3.3 lib/tasks/environments.rake
trusty-cms-5.3.2 lib/tasks/environments.rake
trusty-cms-5.3.1 lib/tasks/environments.rake
trusty-cms-5.3 lib/tasks/environments.rake
trusty-cms-5.2.3 lib/tasks/environments.rake
trusty-cms-5.2.2 lib/tasks/environments.rake
trusty-cms-5.2.1 lib/tasks/environments.rake
trusty-cms-5.2.0 lib/tasks/environments.rake
trusty-cms-5.1.0 lib/tasks/environments.rake
trusty-cms-5.0.9 lib/tasks/environments.rake
trusty-cms-5.0.7 lib/tasks/environments.rake
trusty-cms-5.0.6 lib/tasks/environments.rake
trusty-cms-5.0.5 lib/tasks/environments.rake
trusty-cms-5.0.4 lib/tasks/environments.rake