Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove Gemfile first because the default one requires whole rails3

  • Loading branch information...
commit 569d01df5d0a308fcb51aba092b3320114d2824c 1 parent 1c52f8d
@gugod gugod authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 datamapper.rb
View
10 datamapper.rb
@@ -1,3 +1,7 @@
+# remove unused files. The default Gemfile is unwanted.
+run "rm -f Gemfile README public/index.html public/javascripts/* publuc/images/*"
+create_file 'Gemfile'
+
apply File.dirname(__FILE__) + '/common/gems.rb'
RAILS_VERSION = '~> 3.0.0.beta4'
@@ -46,12 +50,6 @@
generate :controller, "Welcome index"
route "map.root :controller => 'welcome'"
-# remove unused files
-run "rm README"
-run "rm public/index.html"
-run "rm -f public/javascripts/*"
-run "rm -f publuc/images/*"
-
apply File.dirname(__FILE__) + '/common/jquery.rb'
apply File.dirname(__FILE__) + '/common/handicraft-theme.rb'
apply File.dirname(__FILE__) + '/common/git.rb'
Please sign in to comment.
Something went wrong with that request. Please try again.