Skip to content
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

Add pathname which is implicitly referenced #1134

Closed
wants to merge 1 commit into from

Commits on Oct 13, 2023

  1. Add pathname which is implicitly referenced

    On Ruby 3.2.2 - and especially when installing the current `main`
    version of the Gem via `specific_install` - installing fails because
    there's an implicit reference to `pathname`:
    
      $ gem specific_install thoughtbot/suspenders
      git version 2.42.0
      Installing from [email protected]:thoughtbot/suspenders.git
      Cloning into '/var/folders/z_/7_lg8ty95s9f7gybbr5_5nqr0000gn/T/d20231013-60937-72rbst'...
      remote: Enumerating objects: 7101, done.
      remote: Counting objects: 100% (590/590), done.
      remote: Compressing objects: 100% (329/329), done.
      remote: Total 7101 (delta 310), reused 422 (delta 232), pack-reused 6511
      Receiving objects: 100% (7101/7101), 1.72 MiB | 3.33 MiB/s, done.
      Resolving deltas: 100% (3672/3672), done.
      Invalid gemspec in [suspenders.gemspec]: undefined method `Pathname' for Suspenders:Module
      ERROR:  While executing gem ... (NoMethodError)
          undefined method `file_name' for nil:NilClass
    
          gem_file = file_name || spec.file_name
    
    This commit adds `pathname` so that it can be installed.
    nickcharlton committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    9ed5810 View commit details
    Browse the repository at this point in the history