Skip to content

Commit

Permalink
Merge pull request #16927 from opf/fix/load_ruby_version_file_with_ab…
Browse files Browse the repository at this point in the history
…solute_path

Use absolute path to load `.ruby-version` file
  • Loading branch information
cbliard authored Oct 9, 2024
2 parents 4b2c3f8 + 9c63014 commit 5311205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ source "https://rubygems.org"
# then we can use the new bundler syntax `ruby file: '.ruby-version'`.
# https://github.com/heroku/heroku-buildpack-ruby/issues/1408#issuecomment-1841596215

ruby File.read(".ruby-version").strip
ruby File.read(File.expand_path(".ruby-version", __dir__)).strip

gem "actionpack-xml_parser", "~> 2.0.0"
gem "activemodel-serializers-xml", "~> 1.0.1"
Expand Down

0 comments on commit 5311205

Please sign in to comment.