Look at xiki, xiki.org . Idea is to have a executable notebook. See
screencasts online. You can execute ruby code from it.
The thought of a ruby shell crossed my mind in the past. I was going to
call it 'Rush'. This shell would then become part of a ruby based linux
called 'RubOS' and finally rid the world of all shell/perl/python scripts
;-)
The complexity and sheer amount of work involved, for a ruby shell, made me
faint, so I never pursued it any further (stored under category  rubbish
ideas).

Ivo


*From:* David Black <dblack / rubypal.com>
*Sent:* Tuesday, October 13, 2015 11:41 PM
*To:* ruby-talk / ruby-lang.org
*Subject:* Re: Ruby bash replacement

I've never done or even started a shell project but I always figured that
if I did, I would call it rubysh (pronounced rubbish :-)

(Strictly wordplay; I don't mean to imply that such a utility would in fact
be rubbish.)


David

On Sunday, January 22, 2012, Rohit Mehta <pigdog / gmail.com> wrote:

> Dear Rubyists, I have been inspired by the wonderful PERL shell known as
> Zoidberg (https://metacpan.org/module/Zoidberg) to work on a Ruby UNIX
> command shell.  I do not think this has already been done yet.
>
> I imagine the ability to use basic commands like cd, ls, echo from Ruby and
> also to use controls like >, |, etc.  For sysadmins like me, I think this
> might be a very useful tool!
>
> So I've started on this task twice without making much progress.  My first
> approach was to try pass ruby-bits to eval and program execution to popen.
> My current thought is that it will be a lot easier to simply override the
> class Irb.  I'm not sure if this is a bad idea as my code might become tied
> to a specific version of ruby/irb.
>
> I'm wondering if anyone else has thought about this problem and cares to
> give me any advice/suggestions.  If anyone is interested in collaboration,
> we could use github.
>
> Thanks!
>
> Rohit
>