Add Gemfile to the rails application generator

This commit is contained in:
Yehuda Katz + Carl Lerche
2009-10-13 17:52:20 -07:00
parent d56984c016
commit 5ffb877d3a
2 changed files with 11 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ module Rails::Generators
copy_file "Rakefile"
copy_file "README"
copy_file "config.ru"
template "Gemfile"
end
def create_app_files

View File

@@ -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" # ;)