Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126738 - Request for new ebuild: irbsh extension to inf-ruby.el
Summary: Request for new ebuild: irbsh extension to inf-ruby.el
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.rubyist.net/~rubikitch/com...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-03-18 15:51 UTC by Tassilo Horn
Modified: 2007-04-16 06:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
irbsh-1.0.0-ebuild.tar.gz (irbsh-1.0.0-ebuild.tar.gz,1.71 KB, application/octet-stream)
2006-03-20 09:31 UTC, Matthew Kennedy (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2006-03-18 15:51:55 UTC
Irbsh ([1] and [2]) is an extension of irb/inf-ruby.el (provided by app-emacs/ruby-mode or app-xemacs/ruby-modes). You can easily execute shell commands and Ruby codes by using irbsh.

[1] http://www.rubyist.net/~rubikitch/computer/irbsh/index.en.html
[2] http://raa.ruby-lang.org/project/irbsh
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-20 09:29:52 UTC
I've attached an ebuild for this.  Please unpack it into your overlay and test it and I will move it into portage.
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-20 09:31:28 UTC
Created attachment 82679 [details]
irbsh-1.0.0-ebuild.tar.gz

~ $ tar tfz irbsh-1.0.0-ebuild.tar.gz 
app-emacs/irbsh/
app-emacs/irbsh/files/
app-emacs/irbsh/files/digest-irbsh-1.0.0
app-emacs/irbsh/files/60irbsh-gentoo.el
app-emacs/irbsh/irbsh-1.0.0.ebuild
app-emacs/irbsh/metadata.xml
app-emacs/irbsh/Manifest
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-20 09:33:04 UTC
app-emacs/ruby-mode should have been in DEPEND.  Fixed it in my version, but not attaching a new version here.
Comment 4 Tassilo Horn 2006-03-20 11:28:49 UTC
Hi Matthew,
I've tried the ebuild and added ruby-mode to DEPEND. 

One question: Why is "ruby setup.rb config" called twice? 
I deleted the one in src_install() and added its argument (--prefix=$D/usr) to the one in src_compile() which seems not to make any difference. Both versions, yours (unodified) and mine (the edited one), work (a bit buggy).

Why buggy:
When typing commands in an *irbsh* buffer and pressing RET, the return values of that ruby command are not displayed directly. It seems that the buffer holding those values is not flushed automatically. I believe that this is probably not a bug in the ebuild but in irbsh and I've written an email to the author. I'll report back what he mentioned.
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-21 00:05:33 UTC
Thanks for the note, I'll remove the second ruby setup command. With respect to the other problem you described, I notice it too.  I tried adding the following to  my .irbrc as the installation documents mention, but it didn't seem to make a difference. Keen to hear back what you find from the authors.

  load "irbsh-lib.rb" if IRB.conf[:PROMPT_MODE] == :INF_RUBY
Comment 6 Tassilo Horn 2006-05-12 16:59:59 UTC
I've mailed the author (rubikitch@ruby-lang.org) three times int the past two month, but didn't get any reply till now. Maybe his SPAM filter has gone crazy or a net-monster ate my mail...

Perhaps anyone else wants to try to contact him?
Comment 7 Ulrich Müller gentoo-dev 2007-04-15 21:21:26 UTC
(In reply to comment #6)
> I've mailed the author (rubikitch@ruby-lang.org) three times int the past two
> month, but didn't get any reply till now.

Any news here?
Comment 8 Tassilo Horn 2007-04-16 06:12:22 UTC
No, still nothing. In the meantime the official homepage of irbsh (http://www.ruby-lang.org/~rubikitch/computer/irbsh/) has gone offline, too. I think you can close this bug.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-16 06:13:50 UTC
As you wish. :)