From 0b2e0528df36bcef4aca62b86f55e1ea85604cd8 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Tue, 13 Jan 2015 10:23:09 -0700 Subject: Add the `method_source` gem to the default Gemfile Fixes #18473 --- railties/lib/rails/generators/rails/app/templates/Gemfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'railties/lib/rails/generators') diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index 3659edcfcd..143673f711 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -36,6 +36,10 @@ group :development, :test do # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' <% end -%> + + # Adds `Method#source` and `Method#comment` to get the source code of a + # method from the console + gem 'method_source' <% end -%> end -- cgit v1.2.3