librelist archives

« back to archive

Gems

Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 05:54
Hi All,
   Remembering I'm a Ruby 'newby' - I see the benefit of using a standard 
library routine ie the Launchy gem - I have downloaded it, but not tried 
to install it yet - but I am just wondering - Shoes is not a standard Ruby
install (ie re folder structure, naming etc etc) - is there anything 
special I should know re installing gems for use with Shoes?
Thanks
    Roger

Re: [shoes] Gems

From:
Cecil Coupe
Date:
2010-08-14 @ 06:03
Shoes.setup (its in the manual, FTW) is for installing/checking for gems
in Shoes. It has some issues if the gem requires compiling C/C++ code
(as in it probably will fail)

On Sat, 2010-08-14 at 15:54 +1000, Roger Lovelock wrote:
> Hi All,
>    Remembering I'm a Ruby 'newby' - I see the benefit of using a
> standard library routine ie the Launchy gem - I have downloaded it,
> but not tried to install it yet - but I am just wondering - Shoes is
> not a standard Ruby install (ie re folder structure, naming etc etc) -
> is there anything special I should know re installing gems for use
> with Shoes?
> Thanks
>     Roger

Re: [shoes] Gems

From:
Devyn Cairns
Date:
2010-08-14 @ 06:47
On Fri, Aug 13, 2010 at 11:03 PM, Cecil Coupe <ccoupe@cableone.net> wrote:

> Shoes.setup (its in the manual, FTW) is for installing/checking for gems
> in Shoes. It has some issues if the gem requires compiling C/C++ code
> (as in it probably will fail)
>

Interesting, I've heard of such issues but never experienced them myself.
Probably because I've never really used Shoes on Windows, or a distro
without GCC.

Now that I think of it, it's most problematic with OS X (without Developer
Tools), Ubuntu (without build-essential), and Windows (not much here you can
do to make it "just work")


> On Sat, 2010-08-14 at 15:54 +1000, Roger Lovelock wrote:
> > Hi All,
> >    Remembering I'm a Ruby 'newby' - I see the benefit of using a
> > standard library routine ie the Launchy gem - I have downloaded it,
> > but not tried to install it yet - but I am just wondering - Shoes is
> > not a standard Ruby install (ie re folder structure, naming etc etc) -
> > is there anything special I should know re installing gems for use
> > with Shoes?
> > Thanks
> >     Roger
>
>
>


-- 
    ~devyn

Re: [shoes] Gems

From:
Devyn Cairns
Date:
2010-08-14 @ 06:01
I think Shoes.setup is still functional. This is the preferred method:

Shoes.setup do
  gem 'launchy'
end

Shoes.app do
  #…
end

If it's not working, leave it like that (it should work in the future), and
use shoes -g

It just calls Shoes' gem command in its context, for example, "shoes -g
install launchy"

On Fri, Aug 13, 2010 at 10:54 PM, Roger Lovelock
<rogerlovelock@hotmail.com>wrote:

>  Hi All,
>    Remembering I'm a Ruby 'newby' - I see the benefit of using a standard
> library routine ie the Launchy gem - I have downloaded it, but not tried to
> install it yet - but I am just wondering - Shoes is not a standard Ruby
> install (ie re folder structure, naming etc etc) - is there anything special
> I should know re installing gems for use with Shoes?
> Thanks
>     Roger
>



-- 
    ~devyn

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 06:10
Thanks all - I'll explore!
Roger


From: Devyn Cairns 
Sent: Saturday, August 14, 2010 4:01 PM
To: shoes@librelist.com 
Subject: Re: [shoes] Gems


I think Shoes.setup is still functional. This is the preferred method: 


Shoes.setup do
  gem 'launchy'
end


Shoes.app do
  #…
end


If it's not working, leave it like that (it should work in the future), 
and use shoes -g


It just calls Shoes' gem command in its context, for example, "shoes -g 
install launchy"


On Fri, Aug 13, 2010 at 10:54 PM, Roger Lovelock 
<rogerlovelock@hotmail.com> wrote:

  Hi All,
     Remembering I'm a Ruby 'newby' - I see the benefit of using a 
standard library routine ie the Launchy gem - I have downloaded it, but 
not tried to install it yet - but I am just wondering - Shoes is not a 
standard Ruby install (ie re folder structure, naming etc etc) - is there 
anything special I should know re installing gems for use with Shoes?
  Thanks
      Roger



-- 
    ~devyn

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 06:44
Shoes.setup showed a message (first time only) saying it was installing 
launchy - but it did not seem to work within my program and I can't find 
anything related to launchy in the Shoes folders (should I?). I then tried
'shoes -g install launchy' which exited with a code 0, tried 'shoes -g q 
-L' and got the message Exiting Rubygems with exit_code 1, tried the 
longer 'shoes -g query --local' and got just an alert box with no message.
I'm quite happy to proceed using the code I developed with RUBY_PLATFORM 
rather than the gem - but just wanted to give the feedback in case there 
is a problem with either Shoes.setup or Shoes -g (more likely I'm doing 
something wrong though). Should the launchy.gem be saved in a particular 
location for the install to work .. should Shoes -g be run in a particular
location ... etc etc.
Hope I'm being more of a help than a hindrance!
Roger


From: Devyn Cairns 
Sent: Saturday, August 14, 2010 4:01 PM
To: shoes@librelist.com 
Subject: Re: [shoes] Gems


I think Shoes.setup is still functional. This is the preferred method: 


Shoes.setup do
  gem 'launchy'
end


Shoes.app do
  #…
end


If it's not working, leave it like that (it should work in the future), 
and use shoes -g


It just calls Shoes' gem command in its context, for example, "shoes -g 
install launchy"


On Fri, Aug 13, 2010 at 10:54 PM, Roger Lovelock 
<rogerlovelock@hotmail.com> wrote:

  Hi All,
     Remembering I'm a Ruby 'newby' - I see the benefit of using a 
standard library routine ie the Launchy gem - I have downloaded it, but 
not tried to install it yet - but I am just wondering - Shoes is not a 
standard Ruby install (ie re folder structure, naming etc etc) - is there 
anything special I should know re installing gems for use with Shoes?
  Thanks
      Roger



-- 
    ~devyn

Re: [shoes] Gems

From:
ashbb
Date:
2010-08-14 @ 07:53
Hi Roger,

In my case with Shoes-0.r1503 on Windows 7, the following snippet worked
fine.

    Shoes.setup do
      gem 'launchy'
    end

    Shoes.app do
      para require 'launchy'
    end


I got launchy-0.3.7 under C:\ashbb\.shoes\+gem. c:\ashbb is my home
directory.

Umm... I'm not sure why... but it might be a problem for Vista, I guess. :(

Access authority is okay? Delete .shoes directory and run again, ... just an
idea, though.

ashbb

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 07:57
Thanks ashbb - I'll give that atry in the morning - about to go out to dinner!
Thanks
Roger


From: ashbb 
Sent: Saturday, August 14, 2010 5:53 PM
To: shoes@librelist.com 
Subject: Re: [shoes] Gems


Hi Roger,

In my case with Shoes-0.r1503 on Windows 7, the following snippet worked fine. 

    Shoes.setup do
      gem 'launchy'
    end
    
    Shoes.app do
      para require 'launchy'
    end


I got launchy-0.3.7 under C:\ashbb\.shoes\+gem. c:\ashbb is my home directory.

Umm... I'm not sure why... but it might be a problem for Vista, I guess. :(

Access authority is okay? Delete .shoes directory and run again, ... just 
an idea, though. 

ashbb

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 08:07
Thanks ashbb - my wife wasn't ready - so I had another go at the gem 
following your example code - all works fine now! Main problem is little 
syntax errors on my part due to my ignorance of both Shoes and Ruby! 
Thanks for your patience.
Roger



From: ashbb 
Sent: Saturday, August 14, 2010 5:53 PM
To: shoes@librelist.com 
Subject: Re: [shoes] Gems


Hi Roger,

In my case with Shoes-0.r1503 on Windows 7, the following snippet worked fine. 

    Shoes.setup do
      gem 'launchy'
    end
    
    Shoes.app do
      para require 'launchy'
    end


I got launchy-0.3.7 under C:\ashbb\.shoes\+gem. c:\ashbb is my home directory.

Umm... I'm not sure why... but it might be a problem for Vista, I guess. :(

Access authority is okay? Delete .shoes directory and run again, ... just 
an idea, though. 

ashbb

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 08:26
As it turns out launchy will open a web page via an http: url - but will 
not open a local .htm file - so I will have to use my original code - but 
in the process I have learned a lot about gems and Shoes - so Thankyou for
that!
Roger


From: Roger Lovelock 
Sent: Saturday, August 14, 2010 6:07 PM
To: shoes@librelist.com 
Subject: Re: [shoes] Gems


Thanks ashbb - my wife wasn't ready - so I had another go at the gem 
following your example code - all works fine now! Main problem is little 
syntax errors on my part due to my ignorance of both Shoes and Ruby! 
Thanks for your patience.
Roger



From: ashbb 
Sent: Saturday, August 14, 2010 5:53 PM
To: shoes@librelist.com 
Subject: Re: [shoes] Gems


Hi Roger,

In my case with Shoes-0.r1503 on Windows 7, the following snippet worked fine. 

    Shoes.setup do
      gem 'launchy'
    end
    
    Shoes.app do
      para require 'launchy'
    end


I got launchy-0.3.7 under C:\ashbb\.shoes\+gem. c:\ashbb is my home directory.

Umm... I'm not sure why... but it might be a problem for Vista, I guess. :(

Access authority is okay? Delete .shoes directory and run again, ... just 
an idea, though. 

ashbb

Re: [shoes] Gems

From:
Martin DeMello
Date:
2010-08-14 @ 09:02
On Sat, Aug 14, 2010 at 1:56 PM, Roger Lovelock
<rogerlovelock@hotmail.com> wrote:
> As it turns out launchy will open a web page via an http: url - but will not
> open a local .htm file - so I will have to use my original code - but in the
> process I have learned a lot about gems and Shoes - so Thankyou for that!

Did you try explicitly Launchy::Browser.run(file)? That worked for me
on linux. If it doesn't work on windows, that's worth filing  a bug
with launchy - it's a perfectly valid use case.

martin

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 11:59
No - I did Launchy.open(filename) - I'll try your version and let you know 
how I go.
Thanks
Roger

--------------------------------------------------
From: "Martin DeMello" <martindemello@gmail.com>
Sent: Saturday, August 14, 2010 7:02 PM
To: <shoes@librelist.com>
Subject: Re: [shoes] Gems

> On Sat, Aug 14, 2010 at 1:56 PM, Roger Lovelock
> <rogerlovelock@hotmail.com> wrote:
>> As it turns out launchy will open a web page via an http: url - but will 
>> not
>> open a local .htm file - so I will have to use my original code - but in 
>> the
>> process I have learned a lot about gems and Shoes - so Thankyou for that!
>
> Did you try explicitly Launchy::Browser.run(file)? That worked for me
> on linux. If it doesn't work on windows, that's worth filing  a bug
> with launchy - it's a perfectly valid use case.
>
> martin
> 

Re: [shoes] Gems

From:
Roger Lovelock
Date:
2010-08-14 @ 23:18
Yes, that worked!
   Thanks
       Roger

--------------------------------------------------
From: "Martin DeMello" <martindemello@gmail.com>
Sent: Saturday, August 14, 2010 7:02 PM
To: <shoes@librelist.com>
Subject: Re: [shoes] Gems

> On Sat, Aug 14, 2010 at 1:56 PM, Roger Lovelock
> <rogerlovelock@hotmail.com> wrote:
>> As it turns out launchy will open a web page via an http: url - but will 
>> not
>> open a local .htm file - so I will have to use my original code - but in 
>> the
>> process I have learned a lot about gems and Shoes - so Thankyou for that!
>
> Did you try explicitly Launchy::Browser.run(file)? That worked for me
> on linux. If it doesn't work on windows, that's worth filing  a bug
> with launchy - it's a perfectly valid use case.
>
> martin
> 

gems

From:
Mark Sobkowicz
Date:
2012-03-15 @ 12:18
Is there a simple way to install a gem in (red) shoes?  Since shoes has 
its own ruby, I can't figure out how to do it at the command line (I'm on 
mac 10.7.3).   I can open the package and install it there, but then I 
have to figure out all the dependencies myself!  I found some references 
online, but couldn't make any of those ways work.

I was trying to make a 'chat' program using the pubnub-ruby gem to use 
with my high school class.  I'd also like to try some stuff with 
Active-Record.

Mark

Re: [shoes] gems

From:
ashbb
Date:
2012-03-16 @ 12:01
Hi Mark and folks,

> I can't figure out how to do it at the command line

Try out `-g` option like this:

 $ shoes -g install xxxx.gem

Hope this helps,
ashbb

Re: [shoes] gems

From:
Mark Sobkowicz
Date:
2012-03-16 @ 13:27
This doesn't work for me.   I have 
alias shoes='/Applications/Shoes.app/Contents/MacOS/shoes'

in my .profile.   Is this the shoes executable you're using?  When I say

shoes -g install twitter, I get

/Applications/Shoes.app/Contents/MacOS/shoes: illegal option -- g
open: invalid option --  
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle 
identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.

its like shoes is just a wrapper for open.




On Mar 16, 2012, at 8:01 AM, ashbb wrote:

> Hi Mark and folks,
> 
> > I can't figure out how to do it at the command line
> 
> Try out `-g` option like this:
> 
>  $ shoes -g install xxxx.gem
> 
> Hope this helps,
> ashbb

Re: [shoes] gems

From:
ashbb
Date:
2012-03-16 @ 13:38
Hi Mark,

Oops, sorry. I've never used OSX. I think it works on Windows and Linux.

Red Shoes doesn't seem to support `-g` option for OSX... ???

ashbb

Re: [shoes] gems

From:
Mark Sobkowicz
Date:
2012-03-16 @ 13:50
I installed green shoes last night, and I'm happily working with gems.  
RVM + gemsets == what I'm used to, anyway.   Super fun!

I'll be using the Red Shoes with my high school students, so I'm still 
interested in maybe getting a few gems to work with that.

Mark




On Mar 16, 2012, at 9:38 AM, ashbb wrote:

> Hi Mark,
> 
> Oops, sorry. I've never used OSX. I think it works on Windows and Linux.
> 
> Red Shoes doesn't seem to support `-g` option for OSX... ???
> 
> ashbb
> 

Re: [shoes] gems

From:
Tobias Pfeiffer
Date:
2012-03-16 @ 18:47
On 16.03.2012 14:50, Mark Sobkowicz wrote:
>
> I'll be using the Red Shoes with my high school students, so I'm still 
interested in maybe getting a few gems to work with that.
>
> Mark
>
Have you tried what was written before the:

Shoes.setup do
   gem 'twitter'
end

Works for me. Here you can see how I did it in infoes: 
https://github.com/PragTob/infoes/blob/master/lib/infoes.rb#L3-8

Re: [shoes] gems

From:
Eric Watson
Date:
2012-03-16 @ 14:10
Hi, Mark,

> This doesn't work for me.   I have 
> alias shoes='/Applications/Shoes.app/Contents/MacOS/shoes'

You'll want to use:
alias shoes='/Applications/Shoes.app/Contents/MacOS/shoes-launch'

On OS X, the shoes-launch script is the starting point for Shoes, and sets
up the environment correctly before passing commands along to the shoes 
script.

However, the -g switch seems to be broken (this is on 3.1 beta) :(

huckle:MacOS eric$ ./shoes-launch -g install feminizer
ERROR:  While executing gem ... (NameError)
   uninitialized constant Encoding::US_ASCII
Exiting RubyGems with exit_code 1



You can run other commands fine, like

huckle:MacOS eric$ ./shoes-launch -h
Usage: shoes [options] (app.rb or app.shy)
    -m, --manual                     Open the built-in manual.
    -p, --package                    Package a Shoes app for Windows, OS X
and Linux.
    -g, --gem                        Passes commands to RubyGems.
        --manual-html DIRECTORY      Saves the manual to a directory as HTML.
        --install MODE SRC DEST      Installs a file.
        --nolayered                  No WS_EX_LAYERED style option.
    -v, --version                    Display the version info.
    -h, --help                       Show this message



huckle:MacOS eric$ ./shoes-launch -v
shoes policeman (0.r1739) [universal.x86_64-darwin11.1.0 Ruby1.9.1]


or

huckle:MacOS eric$ ./shoes-launch -m

which launches Shoes.app and pulls up the manual.


Eric

> in my .profile.   Is this the shoes executable you're using?  When I say
> 
> shoes -g install twitter, I get
> 
> /Applications/Shoes.app/Contents/MacOS/shoes: illegal option -- g
> open: invalid option --  
> Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle 
identifier>] [-a <application>] [filenames] [--args arguments]
> Help: Open opens files from a shell.
> 
> its like shoes is just a wrapper for open.
> 
> 
> 
> 
> On Mar 16, 2012, at 8:01 AM, ashbb wrote:
> 
>> Hi Mark and folks,
>> 
>>> I can't figure out how to do it at the command line
>> 
>> Try out `-g` option like this:
>> 
>> $ shoes -g install xxxx.gem
>> 
>> Hope this helps,
>> ashbb
> 

Re: [shoes] gems

From:
James Gifford
Date:
2012-03-15 @ 12:26
On Thu, Mar 15, 2012 at 08:18, Mark Sobkowicz <mark@evtika.net> wrote:
> Is there a simple way to install a gem in (red) shoes?  Since shoes has 
its own ruby, I can't figure out how to do it at the command line (I'm on 
mac 10.7.3).   I can open the package and install it there, but then I 
have to figure out all the dependencies myself!  I found some references 
online, but couldn't make any of those ways work.

Can you link to those references?

> I was trying to make a 'chat' program using the pubnub-ruby gem to use 
with my high school class.  I'd also like to try some stuff with 
Active-Record.

You can install gems, but they aren't installed like that. Here's how you do it:



Shoes.setup do
  gem 'gem1 =2.0.6' #syntax: gemname =version
  gem 'metaid'
end

require 'bluecloth'
require 'metaid'

Shoes.app do...

Also, its entirely possible you have a gem with native extensions, in
which case you might not be able to install it like above. I don't
know exactly where the link for that is, maybe Steve or someone else
knows where it is.

Hope that helps,
James

Re: [shoes] gems

From:
Tobias Pfeiffer
Date:
2012-03-15 @ 12:32
On 15.03.2012 13:26, James Gifford wrote:
> On Thu, Mar 15, 2012 at 08:18, Mark Sobkowicz<mark@evtika.net>  wrote:
>> Is there a simple way to install a gem in (red) shoes?  Since shoes has
its own ruby, I can't figure out how to do it at the command line (I'm on 
mac 10.7.3).   I can open the package and install it there, but then I 
have to figure out all the dependencies myself!  I found some references 
online, but couldn't make any of those ways work.
> Can you link to those references?
>
>> I was trying to make a 'chat' program using the pubnub-ruby gem to use 
with my high school class.  I'd also like to try some stuff with 
Active-Record.
> You can install gems, but they aren't installed like that. Here's how you do it:
>
>
>
> Shoes.setup do
>    gem 'gem1 =2.0.6' #syntax: gemname =version
>    gem 'metaid'
> end
>
> require 'bluecloth'
> require 'metaid'
>
> Shoes.app do...
>
> Also, its entirely possible you have a gem with native extensions, in
> which case you might not be able to install it like above. I don't
> know exactly where the link for that is, maybe Steve or someone else
> knows where it is.
>
> Hope that helps,
> James
Little blog post I wrote: 
http://pragtob.wordpress.com/2011/09/09/shoes-and-ruby-gems/

On the topic of native extensions, I've always read that you can't do it 
the normal way but I never had problems with it. Feedzirra has native 
extensions afaik and I use it in infoes, it's just in the Shoes.setup do 
... end - no extra magic. Might be some Linux awesomeness though :P

Otherwise you can always try green shoes, in which case you can install 
gems the way you are used to.

Tobi

Re: [shoes] gems

From:
Mark Sobkowicz
Date:
2012-03-15 @ 12:48
Progress!

A little window pops up and says its trying to install my gem.   Tried 
with several gems, but each time got:

unitialized constant Encoding::US_ASCII
/Applications/Shoes.app/Contents/MacOS/ruby/lib/uri/common.rb:226:in 'escape'

and so on.   Sad you can't copy from the console!  Tried a picture, but 
librelist said the message was too big.

Mark






On Mar 15, 2012, at 8:32 AM, Tobias Pfeiffer wrote:

> On 15.03.2012 13:26, James Gifford wrote:
>> On Thu, Mar 15, 2012 at 08:18, Mark Sobkowicz<mark@evtika.net>  wrote:
>>> Is there a simple way to install a gem in (red) shoes?  Since shoes 
has its own ruby, I can't figure out how to do it at the command line (I'm
on mac 10.7.3).   I can open the package and install it there, but then I 
have to figure out all the dependencies myself!  I found some references 
online, but couldn't make any of those ways work.
>> Can you link to those references?
>> 
>>> I was trying to make a 'chat' program using the pubnub-ruby gem to use
with my high school class.  I'd also like to try some stuff with 
Active-Record.
>> You can install gems, but they aren't installed like that. Here's how 
you do it:
>> 
>> 
>> 
>> Shoes.setup do
>>   gem 'gem1 =2.0.6' #syntax: gemname =version
>>   gem 'metaid'
>> end
>> 
>> require 'bluecloth'
>> require 'metaid'
>> 
>> Shoes.app do...
>> 
>> Also, its entirely possible you have a gem with native extensions, in
>> which case you might not be able to install it like above. I don't
>> know exactly where the link for that is, maybe Steve or someone else
>> knows where it is.
>> 
>> Hope that helps,
>> James
> Little blog post I wrote: 
> http://pragtob.wordpress.com/2011/09/09/shoes-and-ruby-gems/
> 
> On the topic of native extensions, I've always read that you can't do it 
> the normal way but I never had problems with it. Feedzirra has native 
> extensions afaik and I use it in infoes, it's just in the Shoes.setup do 
> ... end - no extra magic. Might be some Linux awesomeness though :P
> 
> Otherwise you can always try green shoes, in which case you can install 
> gems the way you are used to.
> 
> Tobi

Re: [shoes] gems

From:
Steve Klabnik
Date:
2012-03-15 @ 13:33
> ... end - no extra magic. Might be some Linux awesomeness though :P

If you personally have build tools installed, it will work. Just when
others use your script, if they don't, it won't.

Re: [shoes] gems

From:
Tobias Pfeiffer
Date:
2012-03-15 @ 17:08
On 15.03.2012 14:33, Steve Klabnik wrote:
>> ... end - no extra magic. Might be some Linux awesomeness though :P
> If you personally have build tools installed, it will work. Just when
> others use your script, if they don't, it won't.
Oh ok, thanks for the clarification. But then this notion of "shoes does 
not support gems with native extensions" is a bit wrong isn't it? I mean 
also for ruby you've got to have build tools installed to install those 
gems if I'm not mistaken.

Re: [shoes] gems

From:
Steve Klabnik
Date:
2012-03-15 @ 19:18
> Oh ok, thanks for the clarification. But then this notion of "shoes does
> not support gems with native extensions" is a bit wrong isn't it? I mean
> also for ruby you've got to have build tools installed to install those
> gems if I'm not mistaken.

We 'don't support it' because it does not 100% work.

Think about the hackety case, for example: people using Shoes apps
aren't necessarily developers. I should be able to give a Shoes app to
my grandma and have it work for her.

Re: [shoes] gems

From:
Peter Fitzgibbons
Date:
2012-03-15 @ 20:38
Yep.  This is where we embrace a constraint.
It's one thing to use some gems to support Shoes.
Shoes itself should be entirely "self contained".
If one wants to venture out into other development, then they're hopefully
up to the task of installing Ruby outright.

Which brings an interesting question... how does a new developer transition
from Shoes/Hackety into ... Ruby?

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


On Thu, Mar 15, 2012 at 2:18 PM, Steve Klabnik <steve@steveklabnik.com>wrote:

> > Oh ok, thanks for the clarification. But then this notion of "shoes does
> > not support gems with native extensions" is a bit wrong isn't it? I mean
> > also for ruby you've got to have build tools installed to install those
> > gems if I'm not mistaken.
>
> We 'don't support it' because it does not 100% work.
>
> Think about the hackety case, for example: people using Shoes apps
> aren't necessarily developers. I should be able to give a Shoes app to
> my grandma and have it work for her.
>

Re: [shoes] gems

From:
James Gifford
Date:
2012-03-16 @ 01:35
On Thursday, March 15, 2012 at 16:38, Peter Fitzgibbons wrote:
> Yep.  This is where we embrace a constraint.
> It's one thing to use some gems to support Shoes.
> Shoes itself should be entirely "self contained".
> If one wants to venture out into other development, then they're 
hopefully up to the task of installing Ruby outright.
> 
> Which brings an interesting question... how does a new developer 
transition from Shoes/Hackety into ... Ruby?
Indeed, a most interesting question. For me, it was kind of backwards. I 
got interested in rails, realizes I needed more knowledge about Ruby in 
general and came to Hackety/Shoes.