Skip to content
Browse files

Add Gemfile to the rails application generator

  • Loading branch information...
1 parent d56984c commit 5ffb877d3a5d7fd2266b58495de435dd9c33d4e1 Yehuda Katz + Carl Lerche committed Oct 13, 2009
View
1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -54,6 +54,7 @@ def create_root_files
copy_file "Rakefile"
copy_file "README"
copy_file "config.ru"
+ template "Gemfile"
end
def create_app_files
View
10 railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -0,0 +1,10 @@
+# Gemfile is where you list all of your application's dependencies
+#
+gem "rails", "<%= Rails::VERSION::STRING %>"
+#
+# Bundling edge rails:
+# gem "rails", "<%= Rails::VERSION::STRING %>", :git => "git://github.com/rails/rails.git"
+
+# You can list more dependencies here
+# gem "nokogiri"
+# gem "merb" # ;)

0 comments on commit 5ffb877

Please sign in to comment.
Something went wrong with that request. Please try again.