aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-01-17 21:35:56 -0500
committerGitHub <noreply@github.com>2017-01-17 21:35:56 -0500
commit5d3721defa8651ea4bf11313a1c66d62f57c0880 (patch)
treef4940e43a48d3a605b6f0cde62c3481c66b59bb6 /railties
parent45cc33a83daedad6148a2a257a5b622f0c47f2c2 (diff)
parent19c8f1e372830de075f0d202f04014a1c2ae6aa1 (diff)
downloadrails-5d3721defa8651ea4bf11313a1c66d62f57c0880.tar.gz
rails-5d3721defa8651ea4bf11313a1c66d62f57c0880.tar.bz2
rails-5d3721defa8651ea4bf11313a1c66d62f57c0880.zip
Merge pull request #27717 from JunichiIto/fix-byebug-platform
Install Byebug gem as default in Windows (mingw and x64_mingw) platform.
Diffstat (limited to 'railties')
-rw-r--r--railties/CHANGELOG.md4
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile2
2 files changed, 5 insertions, 1 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index b2208193d2..1f259ab326 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Install Byebug gem as default in Windows (mingw and x64_mingw) platform.
+
+ *Junichi Ito*
+
* Make every Rails command work within engines.
*Sean Collins*, *Yuji Yaginuma*
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile
index f1015b16d5..24d2fa1284 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -31,7 +31,7 @@ end
<% if RUBY_ENGINE == 'ruby' -%>
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do