lib/generic_app.rb in generic_app-0.1.0 vs lib/generic_app.rb in generic_app-0.1.1
- old
+ new
@@ -132,10 +132,10 @@
puts "Updating the Gemfile (PostgreSQL for development, testing, and production)"
LineContaining.delete("sqlite", "#{subdir_name}/Gemfile")
LineContaining.delete("gem 'pg'", "#{subdir_name}/Gemfile")
open("#{subdir_name}/Gemfile", 'a') {|f|
f << "\n\ngem 'pg'\n"
- f << "gem 'figaro'\n"
+ f << "gem 'figaro', '1.1.0'\n"
}
end
def self.pg_remove_sqlite (subdir_name)
system("rm #{subdir_name}/db/*.sqlite")