# Shoes 'method\_missing' error

**URL:** <https://www.ruby-forum.com/t/shoes-method-missing-error/164434>\
**Category:** Ruby\
**Created:** [April 1, 2009, 11:18am UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434 "2009-04-01T11:18:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![onanga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/f04885/32.png) [@onanga](https://www.ruby-forum.com/u/onanga)\
**Post date:** [April 1, 2009, 11:18am UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434/1 "2009-04-01T11:18:09Z")

</div>

Hello all !

I’m new to the ruby community and therefore to Shoes (which is really  
nice easy to use).

I tried out a little making a form, and everything went nicely for  
edit\_line, list\_box, edit\_box, button, but I met trouble when trying to  
build a radio button or a checkbox …

Here’s the sample code I used : [shoooes.net&nbsp;-&nbsp;This website is for sale!&nbsp;-&nbsp;shoooes Resources and Information.](http://help.shoooes.net/Check.html) and  
[shoooes.net&nbsp;-&nbsp;This website is for sale!&nbsp;-&nbsp;shoooes Resources and Information.](http://help.shoooes.net/Radio.html)

This is my code :

Shoes.app do  
radio; para “This is a radio button”  
end

And this triggers this error :

Undefined method ‘radio’ for (App)

- (eval):2 in ‘method missing’
- (eval):2
- (eval):0:in ‘instance\_eval’
- (eval):0

I got the same error trying to use debug(), info(), error(),… (warn()  
seems to work).  
And pressing +\</\> doesn’t open any debug window.

I tried googling for these troubleshoot, but couldn’t find any response.  
I start believing that the API is outdated.

Any one has any clue? Others met these troubles ?

Thanks in advance !

---

<div class="post-metadata">

**Author:** ![onanga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/f04885/32.png) [@onanga](https://www.ruby-forum.com/u/onanga)\
**Post date:** [April 1, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434/2 "2009-04-01T16:04:08Z")

</div>

Me again !

I come to solve for whoever meet the same troubles…

I’m actually on linux Ubuntu and installed Shoes from the repository.  
And you actually should NOT do it that way (version too old ?).

The way that worked for me was following that wiki :  
[http://wiki.github.com/why/shoes/buildingshoes](http://wiki.github.com/why/shoes/buildingshoes) (check bottom “Building  
on Ubuntu”).  
I installed my git in /usr/local/src/shoes (mention it if you know a  
better place)

Then just do

cd /usr/local/bin  
ln -s /usr/local/src/dist/shoes shoes

And it now runs as expected !

Hope this will help… 😉

---

<div class="post-metadata">

**Author:** ![onanga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/f04885/32.png) [@onanga](https://www.ruby-forum.com/u/onanga)\
**Post date:** [April 1, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434/3 "2009-04-01T16:04:25Z")

</div>

Vince Vince wrote:

> Hello all !
> 
> I’m new to the ruby community and therefore to Shoes (which is really  
> nice easy to use).
> 
> I tried out a little making a form, and everything went nicely for  
> edit\_line, list\_box, edit\_box, button, but I met trouble when trying to  
> build a radio button or a checkbox …
> 
> Here’s the sample code I used : [shoooes.net](http://help.shoooes.net/Check.html) and  
> [http://help.shoooes.net/Radio.html](http://help.shoooes.net/Radio.html)
> 
> This is my code :
> 
> Shoes.app do  
> radio; para “This is a radio button”  
> end

And what happens when you use this code:

Shoes.app do  
para “Among these films, which do you prefer?\n”  
radio; para strong(“The Taste of Tea”), " by Katsuhito Ishii\n"  
radio; para strong(“Kin-Dza-Dza”), " by Georgi Danelia\n"  
radio; para strong(“Children of Heaven”), " by Majid Majidi\n"  
end

And this code:

Shoes.app do  
para “Among these films, which do you prefer?\n”  
radio; para strong(“The Taste of Tea”), " by Katsuhito Ishii\n"  
radio; para strong(“Kin-Dza-Dza”), " by Georgi Danelia\n"  
end

And this code:

Shoes.app do  
para “Among these films, which do you prefer?\n”  
radio; para strong(“The Taste of Tea”), " by Katsuhito Ishii\n"  
end

---

<div class="post-metadata">

**Author:** ![onanga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/f04885/32.png) [@onanga](https://www.ruby-forum.com/u/onanga)\
**Post date:** [April 1, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434/4 "2009-04-01T17:00:11Z")

</div>

Hi 7stud !

Thanks for giving a hand.

Actually, any of this triggers the same ‘method\_missing’ error.

That was actually SOLVED by downloading Shoes using git and installing  
with rake.

Thanks a lot though 🙂

---

<div class="post-metadata">

**Author:** ![onanga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/f04885/32.png) [@onanga](https://www.ruby-forum.com/u/onanga)\
**Post date:** [April 1, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434/5 "2009-04-01T17:58:18Z")

</div>

On Wed, Apr 01, 2009 at 11:59:52PM +0900, Vince Vince wrote:

> That was actually SOLVED by downloading Shoes using git and installing  
> with rake.

Say, how did you install Shoes originally? There is a Debian package  
out there, but I believe it is incredibly ancient (like a year old.)  
Back then there were no radio/check buttons, so that might explain  
it.

I will get this worked out, but yeah, in the meantime you’ll want to  
compile from the source code. My profuse apologies!

\_why
