diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-03-08 15:17:51 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-03-08 15:17:51 +0200 |
commit | e5940003ae2e1a50070bc262f83b0d8a21f86010 (patch) | |
tree | 9d36e0ba08fb4b70326b7354dcea934296d74578 /railties/lib/rails/generators | |
parent | a61bf5f5b63780a3e0b4c2d4339967df82b370de (diff) | |
download | rails-e5940003ae2e1a50070bc262f83b0d8a21f86010.tar.gz rails-e5940003ae2e1a50070bc262f83b0d8a21f86010.tar.bz2 rails-e5940003ae2e1a50070bc262f83b0d8a21f86010.zip |
Drop the explicit version requirements for web-console
Between major versions 2 and 3, we hit a bug. It's fixed in version 3,
however, the explicit 2.x requirement of `~> '2.0'` will prevent people
from getting the fix with `bundle update` and they would have to
explicitly set the constraint to `~> '3.0'`.
For more information see: rails/web-console#178.
I propose we drop the explicit version constraints in the Gemfile. Web
Console has been relatively stable for the past couple of years, and I
don't anticipate any major alterations, like we saw between major
versions 1 and 2.
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index e8ec214b28..2367a24e54 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -35,7 +35,7 @@ group :development do <%- if options.dev? || options.edge? -%> gem 'web-console', github: 'rails/web-console' <%- else -%> - gem 'web-console', '~> 3.0' + gem 'web-console' <%- end -%> <%- end -%> <% if depend_on_listen? -%> |