# Ruby script/console -- Errno:ENOENT

**URL:** <https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939>\
**Category:** Rails\
**Created:** [September 8, 2006, 2:27am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939 "2006-09-08T02:27:32Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [September 8, 2006, 2:27am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/1 "2006-09-08T02:27:32Z")

</div>

I’m trying to load the console of any of the projects on my development  
machine.

bash$ ruby script/console  
Loading development environment.  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25:in  
`exec': No such file or directory - irb -r irb/completion -r script/../config/../config/environment -r console_app -r console_with_helpers --simple-prompt (Errno::ENOENT) from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from  
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:147:in  
`require’  
from script/console:3  
Any ideas would be much appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [September 10, 2006, 5:29am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/2 "2006-09-10T05:29:24Z")

</div>

Alright, Solved the problem. Apparently irb wasn’t linked properly in  
Ubuntu Dapper. I resolved the problem by doing a:  
sudo ln -s /usr/bin/irb1.8 /usr/bin/irb

Hope this can help someone else in the future 🙂

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [September 18, 2006, 5:59am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/3 "2006-09-18T05:59:43Z")

</div>

Jesse Bain wrote:

> Alright, Solved the problem. Apparently irb wasn’t linked properly in  
> Ubuntu Dapper. I resolved the problem by doing a:  
> sudo ln -s /usr/bin/irb1.8 /usr/bin/irb
> 
> Hope this can help someone else in the future 🙂

Well done! Thank you for taking the time to answer back on your original  
post. This helped me out and saved me a lot of time. Thanks again.  
I wonder if there is a buglist for this in launchpad or something? I  
will look into it.

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [February 6, 2007, 10:20pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/4 "2007-02-06T22:20:26Z")

</div>

Landy Defield wrote:

> Well done! Thank you for taking the time to answer back on your original  
> post. This helped me out and saved me a lot of time. Thanks again.  
> I wonder if there is a buglist for this in launchpad or something? I  
> will look into it.

Me again… I was running into this problem on a new Ubuntu Feisty  
install and spent a few minutes looking through Google to figure out why  
I was getting this error. Stumbled across this topic having completely  
forgotten about it. Makes me glad I wrote it down _somewhere_ 🙂

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [February 3, 2007, 1:10pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/5 "2007-02-03T13:10:01Z")

</div>

Jesse Bain wrote:

> Alright, Solved the problem. Apparently irb wasn’t linked properly in  
> Ubuntu Dapper. I resolved the problem by doing a:  
> sudo ln -s /usr/bin/irb1.8 /usr/bin/irb
> 
> Hope this can help someone else in the future 🙂

Thanks for the tip! I had the same problem with Edgy. My console is  
working great now.

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [February 12, 2007, 12:06am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/6 "2007-02-12T00:06:13Z")

</div>

Thank you!

Fixed my problem in Edgy.

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [February 18, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/7 "2007-02-18T21:38:32Z")

</div>

Thanx a lot for the solution, i faced the same problem, and u saved me a  
lot of time.

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [March 22, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/8 "2007-03-22T13:02:11Z")

</div>

Jesse Bain wrote:

> Alright, Solved the problem. Apparently irb wasn’t linked properly in  
> Ubuntu Dapper. I resolved the problem by doing a:  
> sudo ln -s /usr/bin/irb1.8 /usr/bin/irb
> 
> Hope this can help someone else in the future 🙂

You hero. Thanks so much for posting this. Used it on Edgy Eft Ubuntu.  
Let’s make it known…

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [April 17, 2007, 12:18pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/9 "2007-04-17T12:18:37Z")

</div>

Yet Another Thanks!

I am running a fresh install of Debian 4.0 Etch (stable). Why is this  
problem still around…? 🙂

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [May 13, 2007, 9:48pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/10 "2007-05-13T21:48:33Z")

</div>

helped here too.  
etch  
still around…

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [April 16, 2007, 10:36am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/11 "2007-04-16T10:36:46Z")

</div>

Very helpful. Many thanks for posting this! 🙂

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [May 30, 2007, 3:27pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/12 "2007-05-30T15:27:21Z")

</div>

In case anyone was wondering, this problems occurs if you install irb1.8  
and NOT the irb dependency package. If you have already installed  
irb1.8, just do an “apt-get install irb” and the problem should be  
fixed.

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [May 31, 2007, 11:42pm UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/13 "2007-05-31T23:42:56Z")

</div>

Jesse Bain wrote:

> Alright, Solved the problem. Apparently irb wasn’t linked properly in  
> Ubuntu Dapper. I resolved the problem by doing a:  
> sudo ln -s /usr/bin/irb1.8 /usr/bin/irb
> 
> Hope this can help someone else in the future 🙂

it does ! 🙂  
(ubuntu 7.4 - feisty)

thanks a lot [smiley holding a flower]

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [September 22, 2007, 6:18am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/14 "2007-09-22T06:18:37Z")

</div>

This just now helped me, so I thought I’d keep it alive.

It would be nice, though, if the Ubuntu team would get their crap  
together. There is no excuse for the sorry state of ruby/rails on  
Feisty (or earlier versions, for that matter).

---

<div class="post-metadata">

**Author:** ![xtremebain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/a6a055/32.png) [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Post date:** [November 18, 2007, 9:26am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939/15 "2007-11-18T09:26:31Z")

</div>

This also just saved me a bit of researching - thanks Jesse!
