lib/generators/jinda/config_generator.rb in jinda-0.4.2 vs lib/generators/jinda/config_generator.rb in jinda-0.4.3
- old
+ new
@@ -9,10 +9,9 @@
st=" "
# inside("config/initializers") {(File.file? "omniauth.rb") ? (FileUtils.mv "omniauth.rb", "omniauth.rb.bak") : (puts "new omniauth.rb created")}
# inside("config/initializers") {(File.file? "mongoid.rb") ? (FileUtils.mv "mongoid.rb", "omniauth.rb.bak") : (puts "new mongoid.rb created")}
(File.file? ".env") ? (FileUtils.mv ".env", ".env-bak") : (puts "backup .env")
end
-
desc "gen_image_store"
def gen_image_store
# FileUtils.cp "cloudinary.yml","config/cloudinary.yml"
# FileUtils.cp "dot.env",".env"
# FileUtils.cp "dot.rspec",".rspec"