aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeng Siong Ong <siong1987@gmail.com>2012-12-12 21:58:29 -0800
committerTeng Siong Ong <siong1987@gmail.com>2012-12-12 21:58:29 -0800
commit059bdc3415b0f1fb436c56a399a41b90fe3e87f0 (patch)
treea30d54feb56549bb86c7ccb8b21b580aa626093c
parentfe70cde87cb1c03f1e2fd9e6ffa0877deda589af (diff)
downloadrails-059bdc3415b0f1fb436c56a399a41b90fe3e87f0.tar.gz
rails-059bdc3415b0f1fb436c56a399a41b90fe3e87f0.tar.bz2
rails-059bdc3415b0f1fb436c56a399a41b90fe3e87f0.zip
don't include debugger gem if jruby is used since it doesn't work on jruby.
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile
index 5b7a653a09..7c442d497e 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -21,5 +21,7 @@ source 'https://rubygems.org'
# Deploy with Capistrano
# gem 'capistrano', group: :development
+<% unless defined?(JRUBY_VERSION) %>
# To use debugger
# gem 'debugger'
+<% end %>