active_template.rb in active_leonardo-0.2.2 vs active_template.rb in active_leonardo-0.2.3

- old
+ new

@@ -14,11 +14,12 @@ puts "* Processing template..." puts '*' * 40 test_mode = nil ARGV.each{|arg| test_mode = true if arg == "test_mode"} -puts "**** Starting in test mode! ****" if test_mode +app_path = ARGV[0] +puts "**** Starting app into #{app_path} in test mode! ****" if test_mode use_git = test_mode || yes?("Do you use git ?") if use_git git :init @@ -45,10 +46,14 @@ /config/initializers/secret_token.rb EOS end gem "activeadmin", git: 'http://github.com/gregbell/active_admin.git' -gem "active_leonardo" +if test_mode + gem "active_leonardo", :path => "../../." +else + gem "active_leonardo" +end gem "jquery-turbolinks" gem "bourbon" easy_develop = test_mode || yes?("Do you want to make development easier?") if easy_develop \ No newline at end of file