Sha256: 511e137f060d6f09417c04619e8289030f248863343be810adcca0f526d0693e

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

class EnvironmentGenerator < Rails::Generators::Base
  desc 'This generetor create .env.local file from .env.sample'

  source_root File.expand_path(Rails.root, __dir__)

  def copy_environment_file
    copy_file ".env.sample", ".environments/.env.local"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cybele-2.3.2 templates/environment/environment_generator.rb
cybele-2.3.1 templates/environment/environment_generator.rb