From 9fffdc5cdb80b1824473a6d7ae1fedf9e74aa748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 18 Jan 2010 13:44:32 +0100 Subject: Generators load path now will be Ruby load path. If you want to use rspec:install generator, you need generators/rspec/install_generator in your load path. --- .../lib/generators/rails/app/templates/Gemfile | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 railties/lib/generators/rails/app/templates/Gemfile (limited to 'railties/lib/generators/rails/app/templates/Gemfile') diff --git a/railties/lib/generators/rails/app/templates/Gemfile b/railties/lib/generators/rails/app/templates/Gemfile new file mode 100644 index 0000000000..7b5c89c3e2 --- /dev/null +++ b/railties/lib/generators/rails/app/templates/Gemfile @@ -0,0 +1,24 @@ +# Edit this Gemfile to bundle your application's dependencies. +<% if !dev_or_edge? %> +gem "rails", "<%= Rails::VERSION::STRING %>" +<% end -%> + +## Bundle edge rails: +<%- if options.dev? -%> +directory "<%= Rails::Generators::RAILS_DEV_PATH %>", :glob => "{*/,}*.gemspec" +gem "rails", "<%= Rails::VERSION::STRING %>" +<%- else -%> +<%= "# " unless options.edge? %>gem "rails", :git => "git://github.com/rails/rails.git" +<%- end -%> + +## Bundle the gems you use: +# gem "bj" +# gem "hpricot", "0.6" +# gem "sqlite3-ruby", :require_as => "sqlite3" +# gem "aws-s3", :require_as => "aws/s3" + +## Bundle gems used only in certain environments: +# gem "rspec", :only => :test +# only :test do +# gem "webrat" +# end -- cgit v1.2.3