Skip to content

Commit

Permalink
Bump default local rails version to 7.0
Browse files Browse the repository at this point in the history
Also remove ~>0.19 constraint on pg gem, which conflicts with ~>1.1
constraint in Gemfile
  • Loading branch information
calebhearth committed May 2, 2024
1 parent 4e41a85 commit 38208df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ source "https://rubygems.org"
# Specify your gem's dependencies in scenic.gemspec
gemspec

rails_version = ENV.fetch("RAILS_VERSION", "6.1")
rails_version = ENV.fetch("RAILS_VERSION", "7.0")

rails_constraint = if rails_version == "master"
rails_constraint = if rails_version == "main"
{github: "rails/rails"}
else
"~> #{rails_version}.0"
Expand Down
2 changes: 1 addition & 1 deletion scenic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "database_cleaner"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", ">= 3.3"
spec.add_development_dependency "pg", "~> 0.19"
spec.add_development_dependency "pg"
spec.add_development_dependency "pry"
spec.add_development_dependency "ammeter", ">= 1.1.3"
spec.add_development_dependency "yard"
Expand Down

0 comments on commit 38208df

Please sign in to comment.