You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as far as I can tell, there isn't a way to provide ruby-install with a directory path to a ruby checkout on my machine. It'd be nice to have it be able to install a ruby from a working directory so that I can test out patches in a more long term. Is this a use case that could be supported?
It's not directly supported, but you can pair --src-dir with --no-extract to effectively install a Ruby from a working directory if the directory is named as expected. For example, you can install current trunk with:
Activity
havenwood commentedon Jul 2, 2019
It's not directly supported, but you can pair
--src-dirwith--no-extractto effectively install a Ruby from a working directory if the directory is named as expected. For example, you can install current trunk with:git clone git@github.com:ruby/ruby.git ruby-2.7.0dev --depth 1 ruby-install --no-extract --src-dir . ruby-2.7.0devThere currently isn't a flag that sets the
$src_dir/$ruby_dir_namedirectly for an arbitrarily-named$ruby_dir_name.havenwood commentedon Jul 3, 2019
A possibility would be to add a
--ruby-src-diroption. Maybe something like: