From: Ruby Student Date: 2013-05-22T21:46:38+09:00 Subject: Re: How to run shoes built via gem --047d7bea3e1629854a04dd4de173 Content-Type: text/plain; charset=ISO-8859-1 Hi Asbb, I tried your suggestion and this is the outcome: tmp]# vi test.rb [root@oc5204722173 tmp]# cat test.rb require "green_shoes" Shoes.app{} [root@oc5204722173 tmp]# ruby test.rb /usr/local/lib/ruby/gems/1.9.1/gems/gtk2-1.2.1/lib/gtk2/base.rb:20:in `': undefined method `prepend_environment_path' for GLib:Module (NoMethodError) from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require' from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/gtk2-1.2.1/lib/gtk2.rb:11:in `' from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require' from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/green_shoes.rb:6:in `' from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require' from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require' from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require' from test.rb:1:in `
' Thank you for your time On Wed, May 22, 2013 at 7:14 AM, ashbb shoeser wrote: > Hi Ruby Student, > > Umm,... how did you get the error? > > Could you try the following and confirm to get the same error? > > c:\tmp> echo require "green_shoes"; Shoes.app{} > test.rb > > c:\tmp> ruby test.rb > > ashbb > > -- > Posted via http://www.ruby-forum.com/. > > -- Ruby Student --047d7bea3e1629854a04dd4de173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Asbb,

I tried your suggestion an= d this is the outcome:

tmp]# vi test.rb

[root@oc5204722173 tm= p]# cat test.rb
require "green_shoes"
Shoes.app{}

[r= oot@oc5204722173 tmp]# ruby test.rb
/usr/local/lib/ruby/gems/1.9.1/gems/gtk2-1.2.1/lib/gtk2/base.rb:20:in `<= top (required)>': undefined method `prepend_environment_path' fo= r GLib:Module (NoMethodError)
=A0=A0=A0 from /usr/local/lib/ruby/1.9.1/r= ubygems/custom_require.rb:55:in `require'
=A0=A0=A0 from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `= require'
=A0=A0=A0 from /usr/local/lib/ruby/gems/1.9.1/gems/gtk2-1.2= .1/lib/gtk2.rb:11:in `<top (required)>'
=A0=A0=A0 from /usr/lo= cal/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
=A0=A0=A0 from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `= require'
=A0=A0=A0 from /usr/local/lib/ruby/gems/1.9.1/gems/green_sh= oes-1.1.374/lib/green_shoes.rb:6:in `<top (required)>'
=A0=A0= =A0 from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `requir= e'
=A0=A0=A0 from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `= rescue in require'
=A0=A0=A0 from /usr/local/lib/ruby/1.9.1/rubygems= /custom_require.rb:35:in `require'
=A0=A0=A0 from test.rb:1:in `<= main>'
3D""3D""
Thank you for your time


<= div class=3D"gmail_quote">On Wed, May 22, 2013 at 7:14 AM, ashbb shoeser <lists@ruby-forum.com> wrote:
Hi Ruby Student,

Umm,... how did you get the error?

Could you try the following and confirm to get the same error?

c:\tmp> echo require "green_shoes"; Shoes.app{} > test.rb
c:\tmp> ruby test.rb

ashbb



--
Ruby Studen= t --047d7bea3e1629854a04dd4de173--