Sha256: 1c5870908fb5ce3289a8710f681261796d665ebfd3aa328e7695604876941af6
Contents?: true
Size: 578 Bytes
Versions: 5
Compression:
Stored size: 578 Bytes
Contents
#removes the username and password fields from database.yml system("cat #{ENV['RAILS_ROOT']}/config/database.yml | grep -v 'username' > #{ENV['RAILS_ROOT']}/config/database2.yml ") system("cat #{ENV['RAILS_ROOT']}/config/database2.yml | grep -v 'password' > #{ENV['RAILS_ROOT']}/config/database.yml ") rake "db:drop:all" rake "db:create:all" generate :model, 'user email:string' generate "notify_user:install" generate "notify_user:notification NewPostNotification" gem_dir = File.expand_path('..',File.dirname(__FILE__)) # Finalise rake "db:migrate" rake "db:test:prepare"
Version data entries
5 entries across 5 versions & 1 rubygems