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-7.0.9.1 lib/tasks/environments.rake
trusty-cms-7.0.11 lib/tasks/environments.rake
trusty-cms-7.0.10 lib/tasks/environments.rake
trusty-cms-7.0.9 lib/tasks/environments.rake
trusty-cms-7.0.8 lib/tasks/environments.rake
trusty-cms-7.0.7 lib/tasks/environments.rake
trusty-cms-7.0.6 lib/tasks/environments.rake
trusty-cms-7.0.5 lib/tasks/environments.rake
trusty-cms-7.0.4 lib/tasks/environments.rake
trusty-cms-7.0.3 lib/tasks/environments.rake
trusty-cms-6.3.1 lib/tasks/environments.rake
trusty-cms-7.0.2 lib/tasks/environments.rake
trusty-cms-7.0.1 lib/tasks/environments.rake
trusty-cms-7.0.0 lib/tasks/environments.rake
trusty-cms-6.3 lib/tasks/environments.rake
trusty-cms-6.2.1 lib/tasks/environments.rake
trusty-cms-6.2.2.1 lib/tasks/environments.rake
trusty-cms-6.2.0 lib/tasks/environments.rake
trusty-cms-6.1.2 lib/tasks/environments.rake
trusty-cms-6.1.1 lib/tasks/environments.rake