Skip to content

install from ruby checkout on local machine #347

Closed

Description

@fables-tales

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?

Activity

  1. havenwood commented on Jul 2, 2019

    @havenwood
    Collaborator

    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:

    git clone git@github.com:ruby/ruby.git ruby-2.7.0dev --depth 1
    ruby-install --no-extract --src-dir . ruby-2.7.0dev

    There currently isn't a flag that sets the $src_dir/$ruby_dir_name directly for an arbitrarily-named $ruby_dir_name.

  2. havenwood commented on Jul 3, 2019

    @havenwood
    Collaborator

    A possibility would be to add a --ruby-src-dir option. Maybe something like:

    -S, --ruby-src-dir DIR         Source code directory of a particular Ruby
    
  3. Repository owner locked and limited conversation to collaborators on Jan 29, 2025
  4. converted this issue into a discussion #493 on Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions