Skip to content

Commit ed8dc38

Browse files
committed
fix Gemfile for propshaft
1 parent 71abf7a commit ed8dc38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rails_version = get_env("RAILS_VERSION")
2222

2323
gem "rails", rails_version
2424

25-
if rails_version.nil? || rails_version.to_f >= 8.0
25+
if rails_version.nil? || rails_version.sub("~>","").to_f >= 8.0
2626
gem "propshaft"
2727
else
2828
gem 'sprockets-rails', require: 'sprockets/railtie'

0 commit comments

Comments
 (0)