Skip to content

Commit

Permalink
Merge pull request #259 from jfly/jfly/asdf-direnv-issue-115-unbound-…
Browse files Browse the repository at this point in the history
…RUBYLIB

Don't assume that the `RUBYLIB` environment variable exists
  • Loading branch information
Stratus3D authored Mar 28, 2022
2 parents e2cfde0 + ac598e8 commit dede2a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/exec-env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
current_script_path=${BASH_SOURCE[0]}
ruby_plugin_dir=$(dirname "$(dirname "$current_script_path")")

RUBYLIB=${RUBYLIB:-}
if [ "$RUBYLIB" = "" ]; then
export RUBYLIB="$ruby_plugin_dir/rubygems-plugin"
else
Expand Down

0 comments on commit dede2a6

Please sign in to comment.