diff --git a/modules/swagger-codegen/src/main/resources/rails5/Gemfile b/modules/swagger-codegen/src/main/resources/rails5/Gemfile index b553bf7355d8..a46942406d17 100644 --- a/modules/swagger-codegen/src/main/resources/rails5/Gemfile +++ b/modules/swagger-codegen/src/main/resources/rails5/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '>= 5.0.0.racecar1', '< 5.1' +gem 'rails', '~> 5.0.0' # Use mysql as the database for Active Record gem 'mysql2', '>= 0.3.18', '< 0.5' # Use Puma as the app server diff --git a/samples/server/petstore/rails5/.swagger-codegen/VERSION b/samples/server/petstore/rails5/.swagger-codegen/VERSION index 7fea99011a6f..855ff9501eb8 100644 --- a/samples/server/petstore/rails5/.swagger-codegen/VERSION +++ b/samples/server/petstore/rails5/.swagger-codegen/VERSION @@ -1 +1 @@ -2.2.3-SNAPSHOT \ No newline at end of file +2.4.0-SNAPSHOT \ No newline at end of file diff --git a/samples/server/petstore/rails5/Gemfile b/samples/server/petstore/rails5/Gemfile index b553bf7355d8..a46942406d17 100644 --- a/samples/server/petstore/rails5/Gemfile +++ b/samples/server/petstore/rails5/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '>= 5.0.0.racecar1', '< 5.1' +gem 'rails', '~> 5.0.0' # Use mysql as the database for Active Record gem 'mysql2', '>= 0.3.18', '< 0.5' # Use Puma as the app server