Package Details: ruby-pry 0.14.1-2

Git Clone URL: https://aur.archlinux.org/ruby-pry.git (read-only, click to copy)
Package Base: ruby-pry
Description: An IRB alternative and runtime developer console
Upstream URL: https://github.com/pry/pry
Licenses: MIT
Submitter: masterkorp
Maintainer: supermario
Last Packager: supermario
Votes: 21
Popularity: 0.073899
First Submitted: 2012-09-19 12:36 (UTC)
Last Updated: 2021-08-14 01:19 (UTC)

Latest Comments

doskanoness commented on 2022-05-30 08:12 (UTC)

I have an error while building this package:

==> Making package: ruby-pry 0.14.1-2 (pon, 30 maj 2022, 10:09:35)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating pry git repo...
Fetching origin
  -> Found disable-broken-test.patch
==> Validating source files with sha256sums...
    pry ... Skipped
    disable-broken-test.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of pry git repo...
Cloning into 'pry'...
done.
==> Starting prepare()...
patching file spec/pry_spec.rb
Hunk #1 FAILED at 204.
1 out of 1 hunk FAILED -- saving rejects to file spec/pry_spec.rb.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: ruby-pry

supermario commented on 2021-09-02 22:43 (UTC)

@aquilarubra can you please try building this in a clean chroot and let me know if that doesn't work?

aquilarubra commented on 2021-09-02 19:31 (UTC)

Does not build: Failure/Error: require 'method_source'

14mRh4X0r commented on 2021-05-14 11:32 (UTC)

Same comment here as for ruby-coderay:

If you use gem env gemdir, it will take into account the GEM_HOME environment variable. If anyone has this set, e.g. when using RVM, the PKGBUILD will install the gem there, instead of under /usr/lib. This is also the cause of the No such file or directory @ dir_s_mkdir error, because the usr folder doesn't get created if GEM_HOME points somewhere outside /usr.

Please use ruby -e 'puts Gem.default_dir' instead.

razielgn commented on 2020-03-25 18:01 (UTC)

Package version 0.13.0-1 (latest) is broken, I think. No code gets actually packaged. Here's a pacman -Ql ruby-pry:

ruby-pry /usr/
ruby-pry /usr/bin/
ruby-pry /usr/bin/pry
ruby-pry /usr/lib/
ruby-pry /usr/lib/ruby/
ruby-pry /usr/lib/ruby/gems/
ruby-pry /usr/lib/ruby/gems/2.7.0/
ruby-pry /usr/lib/ruby/gems/2.7.0/doc/
ruby-pry /usr/lib/ruby/gems/2.7.0/doc/pry-0.13.0/
ruby-pry /usr/lib/ruby/gems/2.7.0/doc/pry-0.13.0/ri/
ruby-pry /usr/lib/ruby/gems/2.7.0/doc/pry-0.13.0/ri/cache.ri
ruby-pry /usr/lib/ruby/gems/2.7.0/gems/
ruby-pry /usr/lib/ruby/gems/2.7.0/gems/pry-0.13.0/
ruby-pry /usr/lib/ruby/gems/2.7.0/gems/pry-0.13.0/bin/
ruby-pry /usr/lib/ruby/gems/2.7.0/gems/pry-0.13.0/bin/pry
ruby-pry /usr/lib/ruby/gems/2.7.0/specifications/
ruby-pry /usr/lib/ruby/gems/2.7.0/specifications/pry-0.13.0.gemspec
ruby-pry /usr/share/
ruby-pry /usr/share/licenses/
ruby-pry /usr/share/licenses/ruby-pry/
ruby-pry /usr/share/licenses/ruby-pry/LICENSE

Invoking program pry yields:

Traceback (most recent call last):
        4: from /usr/bin/pry:23:in `<main>'
        3: from /usr/bin/pry:23:in `load'
        2: from /usr/lib/ruby/gems/2.7.0/gems/pry-0.13.0/bin/pry:9:in `<top (required)>'
        1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- pry (LoadError)

a-wing commented on 2018-10-11 03:22 (UTC)

Lastest pry no depends slop

https://rubygems.org/gems/pry

ephaeton commented on 2015-08-17 09:48 (UTC)

fail: There is no ruby-method_source.

masterkorp commented on 2013-03-05 16:50 (UTC)

@mrzeznicki You need to update ruby-slop too. I forced it on the PKGBUILD tough.

mrzeznicki commented on 2013-03-05 16:47 (UTC)

Ok, I sorted it out (my last comment). It seems that rdoc in ruby is outdated and it cannot prepare docs for the newest pry - so anyone seeing error like the one below should install AUR version (ruby-rdoc 3.12-1 at the moment). Error disappears.

mrzeznicki commented on 2013-03-05 16:42 (UTC)

Hi, The newest release does not build on my machine: Installing ri documentation for pry-0.9.12... RDoc::Parser::Ruby failure around line 25 of lib/pry/commands/ls.rb Before reporting this, could you check that the file you're documenting has proper syntax: /usr/bin/ruby -c lib/pry/commands/ls.rb RDoc is not a full Ruby parser and will fail when fed invalid ruby programs. The internal error was: (NoMethodError) undefined method `name' for #<RDoc::RubyToken::TkDOT:0x0000000304d348> ERROR: While generating documentation for pry-0.9.12 ... MESSAGE: undefined method `name' for #<RDoc::RubyToken::TkDOT:0x0000000304d348> ... RDOC args: --ri --op /opt/build/pkg/usr/ Anyone seeing this?