librelist archives

« back to archive

Newbie's trying to wear the shoes

Newbie's trying to wear the shoes

From:
Marco Bresciani
Date:
2012-03-31 @ 17:19
Hi all,
   thank you very much for the guideliens... I'm trying to wear my shoes. I did

		gem install green_shoes

and it seems it worked: at least it installed everything with no errors while 
at office gave me a lot of problems (any idea on this? I could post the error 
message on Monday).
   Now I did

		gem list

and everything seems fine

	C:\Users\Marco\Desktop>gem list
	
	*** LOCAL GEMS ***
	
	atk (1.1.2 x86-mingw32)
	bigdecimal (1.1.0)
	cairo (1.12.1 x86-mingw32)
	gdk_pixbuf2 (1.1.2 x86-mingw32)
	glib2 (1.1.2 x86-mingw32)
	green_shoes (1.1.358)
	gtk2 (1.1.2 x86-mingw32)
	io-console (0.3)
	json (1.5.4)
	minitest (2.5.1)
	pango (1.1.2 x86-mingw32)
	pkg-config (1.1.3)
	rake (0.9.2.2)
	rdoc (3.9.4)

but then I followed the tutorial and wrote little.rb with Shoes.app { button 
"Push me" } and I have this error message:

	C:\Users\Marco\Desktop>ruby prova.rb
	prova.rb:1:in `<main>': uninitialized constant Shoes (NameError)

Any idea? Suggestion?

Marco
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Peluche Originali Disney, Simpson, Bugs Bunny, Spongebob... a partire da 
soli Euro 9.90!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11653&d=31-3

Re: [shoes] Newbie's trying to wear the shoes

From:
Steve Klabnik
Date:
2012-03-31 @ 17:23
Make prova.rb have "require 'green_shoes'" at the top!

Re: [shoes] Newbie's trying to wear the shoes

From:
Marco Bresciani
Date:
2012-03-31 @ 17:44
Steve Klabnik ha scritto:
> Make prova.rb have "require 'green_shoes'" at the top!

Okay, okay... I'm officially stupid! :)

Thanks,

Marco

PS: change the tutorial... ;)
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Vuoi arredare casa con stile? MisterCupido.com realizza perfette 
Riproduzioni d'Opere d'Arte! Scopri subito le nostre migliori proposte in 
offerta!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11451&d=31-3

Re: [shoes] Newbie's trying to wear the shoes

From:
Steve Klabnik
Date:
2012-03-31 @ 18:06
> Okay, okay... I'm officially stupid! :)

Beginners are never stupid, just inexperienced!

Re: [shoes] Newbie's trying to wear the shoes

From:
Marco Bresciani
Date:
2012-03-31 @ 18:13
Steve Klabnik ha scritto:
>> Okay, okay... I'm officially stupid! :)
>
> Beginners are never stupid, just inexperienced!

Oh, no... this time I'm stupid: it's been ages since I do #include 
<whatever.h> or import my.own.crazy.package.Class; and I simply forgot that 
tutorials shall not be followed mindless... ;) I'm studying, not copy-pasting! :)

Marco
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Conto Corrente Arancio. Carta di credito e prelievi gratis. Scopri i vantaggi!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12248&d=31-3