asdf-ruby
asdf-ruby copied to clipboard
Specify default gem location
At the moment the default-gems
file has to be stored in the $HOME directory. I'm wondering if it's possible to make this location customisable, either following the XDG format or via a custom enviroment variable such as ASDF_RUBY_DEFAULT_GEMS_PATH.
@quintrino I've opened #114 with a change that might work for you. It's not completely configurable to allow arbitrary paths, but it means that as I store my asdf config at $XDG_CONFIG_HOME/asdf-vm/asdfrc
I can now store my default gem list at $XDG_CONFIG_HOME/asdf-vm/default-gems
Amazing. Thanks so much!
Hmm, I just tested this by installing ruby 2.5.1 and then running ASDF_RUBY_VERSION=2.5.1 pry and it didn't seem to work.
Are there steps you'd recommend for me to try and better understand why it doesn't install the default gems list?
Hi @rodjek just checking if you're planning on merging in #114 ?
I suspect last time I may have still been using the master version asdf-ruby, rather than the correct branch.
@quintrino I don't have merge rights on the project
@Stratus3D just wanted to check if you'd consider merging #114 ?
Sorry for the late reply here 😆 . I think this has been solved by #212