New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundler::GemRequireError on pry when HOME env var is unavailable #2139
Comments
We have same issue with Puma:
We didn't have this issue under |
This was referenced Nov 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue stems from the
default_rc_file
code:pry/lib/pry/config.rb
Line 314 in 9d9ae4a
The docs around
File.expand_path
explicitly called out that if you're going to use~
then aHOME
env variable needs to be set:When it's not set or otherwise there are problems the command is liable to raise
ArgumentError
Where we've run into this is running a rake task under AWS System Manager - we believe the commands are executed under
execve
which doesn't have a shell and doesn't have shell expansion.The text was updated successfully, but these errors were encountered: