Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: heroku/heroku-buildpack-ruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: protonet-apps/heroku-buildpack-rvm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Sep 11, 2012

  1. Add rvm's bin path to a bundler call

    Should hopefully remove the requirement on system ruby.
    danopia committed Sep 11, 2012
    Copy the full SHA
    2dcc1df View commit details
  2. Copy the full SHA
    2e32e7a View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/language_pack/ruby.rb
3 changes: 2 additions & 1 deletion lib/language_pack/ruby.rb
Original file line number Diff line number Diff line change
@@ -107,7 +107,8 @@ def ruby_version
@ruby_version_run = true

bootstrap_bundler do |bundler_path|
old_system_path = "/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"
ruby_path = File.dirname(`which ruby`)
old_system_path = "#{ruby_path}:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"
@ruby_version = run_stdout("env PATH=#{old_system_path}:#{bundler_path}/bin GEM_PATH=#{bundler_path} bundle platform --ruby").chomp
end