librelist archives

« back to archive

Really newbie question... part two

Really newbie question... part two

From:
Marco Bresciani
Date:
2012-03-29 @ 20:32
Again, stupid question.

I'm used to NetBeans and I've been able to add the plugin for Ruby support and 
it seems pretty...
  Though, since it's using ruby instead of shoes, I obviously cannot use Shoes 
within NB but I have to get back to jEdit or PSPad or whatever editor you 
prefer to work with my application... pretty tedious, isn't it? :)

Well, it's not possible to do

	require 'shoes'

within a "normal" Ruby appplication so that I can import it?


Or, if you have any idea on how to integrate it with NB...


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:
 Centinaia di Idee Regalo a partire da 1 euro! Su MisterCupido.com alta 
qualita' a prezzi imbattibili... e spedizioni in 2/3 giorni!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11452&d=29-3

Re: [shoes] Really newbie question... part two

From:
ashbb
Date:
2012-03-30 @ 11:23
Hi Marco,

Welcome to Shoes ML!

> Well, it's not possible to do
>
>       require 'shoes'
>
> within a "normal" Ruby appplication so that I can import it?
How about Green Shoes? :)

http://rubygems.org/gems/green_shoes
https://github.com/ashbb/green_shoes

Have fun with Shoes!
ashbb

Re: [shoes] Really newbie question... part two

From:
Marco Bresciani
Date:
2012-03-30 @ 14:11
> hi Marco,  one of the coolest parts of Shoes is that it's so
straightforward and 

Oky, thanks... now I'm just wandering around to make my (Win7) PC wear its
shoes... either green or red or whatever colours are they. :)

I've followed some tutorials around and it seems I need devkit for cairo and
something else.
  Installed DevKit, seem'd ok (at least according to explanations). I'm now
trying to "gem install cairo" and "gem install green_shoes" with no success,
yet. :)

Work in progress,

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:
 Offerta speciale: a partire da soli Euro 18.90 puoi stampare le tue Foto su
vera Tela Pittorica e creare Quadri fino a 80x50 cm!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11453&d=20120330


 
 
 --
 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:
 Apri subito Conto Corrente Arancio. Carta Visa Gratis e nessun Canone!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12247&d=30-3

Re: [shoes] Really newbie question... part two

From:
ashbb
Date:
2012-03-30 @ 14:56
Hi Marco,

Green Shoes for Windows, you don't need devkit.

Just do the following one command line:

  gem install green_shoes

All runtime dependencies will be installed automatically. ;-)

ashbb

Re: [shoes] Really newbie question... part two

From:
Marco Bresciani
Date:
2012-03-30 @ 19:45
ashbb ha scritto:

> Green Shoes for Windows, you don't need devkit.
>
> Just do the following one command line:
>
>    gem install green_shoes
>
> All runtime dependencies will be installed automatically. ;-)

Thanks! I've thought the same... at work I had to "set http_proxy= blah blah" 
since corporate has a lot of firewall, proxies and so... and it seemed working 
... but it gave me some errors.

I'll try at home... as soon as wife will let me use the PC! :)

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=12245&d=30-3

Re: [shoes] Really newbie question... part two

From:
Steve Klabnik
Date:
2012-03-30 @ 13:23
> Or, if you have any idea on how to integrate it with NB...

I don't think any shoes-ers use IDEs at the moment. Using ash's
green_shoes will probably be the easiest way.

Re: [shoes] Really newbie question... part two

From:
Peter Fitzgibbons
Date:
2012-03-30 @ 15:17
For the record, I use RubyMine by JetBrains.
I think you're asking about using the runtime-debugger within NetBeans.  So
you need a bit more understanding about how Shoes utilizes the "embedded"
ruby.  Ultimately, RedShoes is a collection of Ruby plus Ruby-C, so once
you get past the "startup" scripts and links, you'll be able to run inside
an IDE.
Unfortunately, I'm a bit fuzzy on the tiny details because I haven't run
RedShoes as a development target.

Shoes On

Peter Fitzgibbons
(847) 859-9550
Email: peter.fitzgibbons@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibbons@gmail.com


On Fri, Mar 30, 2012 at 8:23 AM, Steve Klabnik <steve@steveklabnik.com>wrote:

> > Or, if you have any idea on how to integrate it with NB...
>
> I don't think any shoes-ers use IDEs at the moment. Using ash's
> green_shoes will probably be the easiest way.
>

Re: [shoes] Really newbie question... part two

From:
Marco Bresciani
Date:
2012-03-30 @ 19:47
Peter Fitzgibbons ha scritto:

> I think you're asking about using the runtime-debugger within NetBeans.  So

Yes. :)

> you need a bit more understanding about how Shoes utilizes the "embedded"

> RedShoes as a development target.

OKay, thanks anyway. I'm getting enthusiast and happy with my little Ruby and 
so I think I'll do my best to make it work... even through office proxies and 
so! I really want to learn Ruby! Thanks all!

Oh... if you are close to Italy, I've just found this http://rubyday.it/ and 
I'll probably be there: Italian Ruby Day, June 15! Let's meet there: by June I 
should be able to make "Hello World!" run! ;)

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:
 Centinaia di Idee Regalo a partire da 1 euro! Su MisterCupido.com alta 
qualita' a prezzi imbattibili... e spedizioni in 2/3 giorni!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11452&d=30-3

Re: [shoes] Really newbie question... part two

From:
J. Kaiden
Date:
2012-03-30 @ 13:38
hi Marco,

  one of the coolest parts of Shoes is that it's so straightforward and
readable, that you really don't need an IDE to use it.  try fooling around
with red or green shoes (or both!) with just a plain old text editor, or
something like scite or gedit (if you're on linux) which will give you
syntax highlighting - i think you'll find you don't need much more....

welcome to Shoes!

  - j