Sha256: a7924714f77ccbf57b643ec7bba04f45106800ea83ceb7302c62854663989d3d
Contents?: true
Size: 719 Bytes
Versions: 7
Compression:
Stored size: 719 Bytes
Contents
def source_paths [ File.expand_path(File.dirname(__FILE__)) ] end # The generated config/boot.rb file references a Gemfile in the dummy app # directory so use one that references the parent app. remove_file "config/boot.rb" copy_file "boot.rb.tt", "config/boot.rb" # The generated config/secrets.yml file uses hardcoded values for # test/development environments. Generate secrets pragmatically. remove_file "config/secrets.yml" copy_file "secrets.yml.tt", "config/secrets.yml" # The db/migrate folder never gets created for the dummy_app so do it manually. unless Dir.exists?("db/migrate") say_status :create, "db/migrate" Dir.mkdir("db/migrate") end route "mount Jobshop::Engine => \"/\"" rake "db:create"
Version data entries
7 entries across 7 versions & 1 rubygems