Sha256: 602de247cb8ef98c355c353179fe34d5ae3a00f9c81b894dcf2d38297757a419
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
# Rails recipes namespace :rails do desc "Create database yaml in shared path" task :setup do run "mkdir -p #{shared_path}/config" put load_template("rails/database.yml.erb", binding), "#{shared_path}/config/database.yml" end desc "Make symlink for database yaml" task :update_code do run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capigen-0.1.1 | recipes/rails.rb |
capigen-0.1.2 | lib/recipes/rails.rb |
capigen-0.1.3 | lib/recipes/rails.rb |