# Can't get irb to read its configuration file

**URL:** <https://www.ruby-forum.com/t/cant-get-irb-to-read-its-configuration-file/68105>\
**Category:** Ruby\
**Created:** [September 9, 2006, 8:03am UTC](https://www.ruby-forum.com/t/cant-get-irb-to-read-its-configuration-file/68105 "2006-09-09T08:03:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/u/Pierre_Barbier_de_R)\
**Post date:** [September 9, 2006, 8:03am UTC](https://www.ruby-forum.com/t/cant-get-irb-to-read-its-configuration-file/68105/1 "2006-09-09T08:03:55Z")

</div>

Hello,

I was trying to use Wirble, and following the mail, I edited my ~/.irbrc

However, it seems that the content of that file is just not read … I  
tried to debug the irb scripts and I found out that this file was  
correctly found, however, the content do not seems to be evaluated at  
all ☹

Also, I tried to evaluate that .irbrc file directly from irb and it does  
work …

For information I am using :

$ irb --version  
irb 0.9.5(05/04/13)  
$ ruby --version  
ruby 1.8.4 (2005-12-24) [i486-linux]

Thanks,

Pierre

---

<div class="post-metadata">

**Author:** ![Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/u/Pierre_Barbier_de_R)\
**Post date:** [September 9, 2006, 8:31am UTC](https://www.ruby-forum.com/t/cant-get-irb-to-read-its-configuration-file/68105/2 "2006-09-09T08:31:56Z")

</div>

Pierre Barbier de Reuille wrote:

> For information I am using :
> 
> $ irb --version  
> irb 0.9.5(05/04/13)  
> $ ruby --version  
> ruby 1.8.4 (2005-12-24) [i486-linux]

Did you just put something in there like “puts ‘hello’”? Did it print?

Regards

```
robert
```

---

<div class="post-metadata">

**Author:** ![Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/u/Pierre_Barbier_de_R)\
**Post date:** [September 9, 2006, 8:53am UTC](https://www.ruby-forum.com/t/cant-get-irb-to-read-its-configuration-file/68105/3 "2006-09-09T08:53:57Z")

</div>

Are you using ver 0.1.2  
[http://pablotron.org/files/gems/wirble-0.1.2.gem](http://pablotron.org/files/gems/wirble-0.1.2.gem)  
[http://pablotron.org/files/gems/wirble-0.1.2.gem.asc](http://pablotron.org/files/gems/wirble-0.1.2.gem.asc)

I did not get any with 0.1.1 and it did not work until i installed 0.1.2

You could run irb in debug mode to hopefully see any errors in .irbrc

irb -d

Simon

---

<div class="post-metadata">

**Author:** ![Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c89c15/32.png) [@Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/u/Pierre_Barbier_de_R)\
**Post date:** [September 9, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/cant-get-irb-to-read-its-configuration-file/68105/4 "2006-09-09T18:38:39Z")

</div>

Simon Mitchell wrote:

> 

Thanks, for some reason, installing the 0.1.2 corrected the problem. And  
indeed, using “irb -d” (which I didn’t know about) shown an error while  
loading wirble. The strangest part was I could load wirble outside the  
.irbrc file without problem 😕

But well, now it is working, thanks 🙂

Pierre
