Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rush - a(/the?) ruby shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2151

PostPosted: Fri Jul 31, 2009 12:41 am    Post subject: rush - a(/the?) ruby shell Reply with quote

To quote their page:
Quote:
rush - power of unix, elegance of ruby

rush is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax. Grep through files, find and kill processes, copy files - everything you do in the shell, now in Ruby.
IMHO a very interesting project for us ruby-fans outthere, which I've just started toying with and must say, I'm pretty impressed. Of course, it's no match for zsh just yet, but it has some very nice features, i.e. multi-ssh-capabilites and the like.

Give it a try :)

homepage: http://rush.heroku.com/
installation: `gem install rush` or fetch the latest code with `git clone git://github.com/adamwiggins/rush.git` (there seems to be no ebuild right now, sorry).
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Fri Jul 31, 2009 2:18 am    Post subject: Reply with quote

I wrote an ebuild for it, but whenever I try to generate a manifest, ebuild.sh tries to fetch it from one of the mirrors. None of my other 9999 (12 of them) have done this.

>.<
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9221

PostPosted: Fri Jul 31, 2009 2:34 am    Post subject: Reply with quote

Interesting.

dreadlorde wrote:
I wrote an ebuild for it, but whenever I try to generate a manifest, ebuild.sh tries to fetch it from one of the mirrors. None of my other 9999 (12 of them) have done this.

>.<
Code:
RESTRICT="mirror"
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Fri Jul 31, 2009 2:46 am    Post subject: Reply with quote

desultory wrote:
Interesting.

dreadlorde wrote:
I wrote an ebuild for it, but whenever I try to generate a manifest, ebuild.sh tries to fetch it from one of the mirrors. None of my other 9999 (12 of them) have done this.

>.<
Code:
RESTRICT="mirror"

Still not working, somehow..

8O

Here's the ebuild (most likely won't work, my first gem ebuild)
Code:

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit git ruby

DESCRIPTION="the Ruby Shell"
HOMEPAGE="http://rush.heroku.com/"
EGIT_BRANCH="master"
EGIT_REPO_URI="git://github.com/adamwiggins/rush.git"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RESTRICT="mirror"

DEPEND="dev-ruby/rake"
RDEPEND="${DEPEND}
      dev-lang/ruby"

src_unpack() {
   git_src_unpack
}

src_compile() {
   emake || die "emake failed"
}

src_install() {
   emake DESTDIR="${D}" install || die "emake install failed"
}

_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2151

PostPosted: Fri Jul 31, 2009 3:09 am    Post subject: Reply with quote

`ebuild foo manifest` also fails for me, `ebuild foo digest` works(yeah, yeah, deprecated, I know).

For the ebuild itself, fails for me
Code:
emerge rush-shell
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-shells/rush-shell-9999 from ph's portage overlay

 * rush-shell-9999.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                                  [ ok ]

>>> Unpacking source...
 * GIT NEW clone -->
 *    repository:       git://github.com/adamwiggins/rush.git
Initialized empty Git repository in /home/ph030/._secstore/downloads/distfiles/git-src/rush-shell/
remote: Counting objects: 1836, done.
remote: Compressing objects: 100% (751/751), done.
remote: Total 1836 (delta 1219), reused 1587 (delta 1072)
Receiving objects: 100% (1836/1836), 213.51 KiB | 97 KiB/s, done.
Resolving deltas: 100% (1219/1219), done.
 *    at the commit:      581d9c9e0d496f68c044d3d41f00ddc4b7b011dd
 *    branch:          master
 *    storage directory:    "/home/ph030/._secstore/downloads/distfiles/git-src/rush-shell"
Initialized empty Git repository in /var/tmp/portage/app-shells/rush-shell-9999/work/rush-shell-9999/.git/
Switched to a new branch "branch-master"
>>> Unpacked to /var/tmp/portage/app-shells/rush-shell-9999/work/rush-shell-9999
>>> Source unpacked in /var/tmp/portage/app-shells/rush-shell-9999/work
>>> Preparing source in /var/tmp/portage/app-shells/rush-shell-9999/work/rush-shell-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-shells/rush-shell-9999/work/rush-shell-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-shells/rush-shell-9999/work/rush-shell-9999 ...
make -j3
make: *** No targets specified and no makefile found.  Stop.
 *
 * ERROR: app-shells/rush-shell-9999 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2540:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-shells/rush-shell-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-shells/rush-shell-9999/temp/environment'.
 * This ebuild is from an overlay named 'ph's portage overlay': '/usr/my_portage/'
 *

>>> Failed to emerge app-shells/rush-shell-9999, Log file:

>>>  '/var/tmp/portage/app-shells/rush-shell-9999/temp/build.log'

 * Messages for package app-shells/rush-shell-9999:

 * GIT NEW clone -->
 *    repository:       git://github.com/adamwiggins/rush.git
 *    at the commit:      581d9c9e0d496f68c044d3d41f00ddc4b7b011dd
 *    branch:          master
 *    storage directory:    "/home/ph030/._secstore/downloads/distfiles/git-src/rush-shell"
 *
 * ERROR: app-shells/rush-shell-9999 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2540:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-shells/rush-shell-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-shells/rush-shell-9999/temp/environment'.
 * This ebuild is from an overlay named 'ph's portage overlay': '/usr/my_portage/'
 *
Back to top
View user's profile Send private message
dreadlorde
Apprentice
Apprentice


Joined: 16 Dec 2008
Posts: 243
Location: /adm/timezone/US_Michigan

PostPosted: Fri Jul 31, 2009 3:16 am    Post subject: Reply with quote

ph030 wrote:
`ebuild foo manifest` also fails for me, `ebuild foo digest` works(yeah, yeah, deprecated, I know).

That doesn't even work for me, same error.
ph030 wrote:

For the ebuild itself, fails for me

I thought it would. I'll have to look at the ruby eclass to see what to do.
_________________
Ludwig von Mises Institute
Quote:
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2151

PostPosted: Fri Jul 31, 2009 3:26 am    Post subject: Reply with quote

Quote:
That doesn't even work for me, same error.
Strange, may be related to this box hasn't been updated for a while and is not running the latest portage.
Quote:
I'll have to look at the ruby eclass to see what to do.
Thanks, I'll go to bed now and have a look at it later.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum