Closed kirillrdy closed 1 year ago
for gems that are downloaded from local disk eg rexml
rexml
URI.open(uri.to_s, 'r', 0600, open_options for local files with raise exception
URI.open(uri.to_s, 'r', 0600, open_options
URI.open '/nix/store/nkvkb0rzrbaf6sn52llhl33l31pjf7nn-ruby-3.0.6/lib/ruby/gems/3.0.0/cache/rexml-3.2.5.gem', 'r', 0600, {} /nix/store/nkvkb0rzrbaf6sn52llhl33l31pjf7nn-ruby-3.0.6/lib/ruby/3.0.0/open-uri.rb:31:in `initialize': wrong number of arguments (given 4, expected 1..3) (ArgumentError) from /nix/store/nkvkb0rzrbaf6sn52llhl33l31pjf7nn-ruby-3.0.6/lib/ruby/3.0.0/open-uri.rb:31:in `open' from /nix/store/nkvkb0rzrbaf6sn52llhl33l31pjf7nn-ruby-3.0.6/lib/ruby/3.0.0/open-uri.rb:31:in `open'
closing in favor of https://github.com/nix-community/bundix/pull/102
for gems that are downloaded from local disk eg
rexml
URI.open(uri.to_s, 'r', 0600, open_options
for local files with raise exception