# jruby -v
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on IBM J9 VM
pxa6460sr12-20121025_01 (SR12) [linux-amd64]
I installed shoes using the gem install command. But no matter what I try,
I can't execute shoes.
*# gem install shoes*
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Successfully installed shoes-3.0.1
1 gem installed
Installing ri documentation for shoes-3.0.1...
Installing RDoc documentation for shoes-3.0.1...
*# gem list | grep -i shoes*
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
green_shoes (1.1.373)
shoes (3.0.1)
shoes-cucumber (0.0.2)
shoes-mocks (0.0.2)
Can anyone tell me how I can execute shoes, which I installed as a gem?
# jruby -v
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on IBM J9 VM
pxa6460sr12-20121025_01 (SR12) [linux-amd64]
I installed shoes using the gem install command. But no matter what I try, I
can't execute shoes.
# gem install shoes
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Successfully installed shoes-3.0.1
1 gem installed
Installing ri documentation for shoes-3.0.1...
Installing RDoc documentation for shoes-3.0.1...
# gem list | grep -i shoes
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
green_shoes (1.1.373)
shoes (3.0.1)
shoes-cucumber (0.0.2)
shoes-mocks (0.0.2)
Can anyone tell me how I can execute shoes, which I installed as a gem?
# jruby -v
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on IBM J9 VM
pxa6460sr12-20121025_01 (SR12) [linux-amd64]
I installed shoes using the gem install command. But no matter what I
try,
I can't execute shoes.
*# gem install shoes*
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your
ruby.
Successfully installed shoes-3.0.1
1 gem installed
Installing ri documentation for shoes-3.0.1...
Installing RDoc documentation for shoes-3.0.1...
*# gem list | grep -i shoes*
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your
ruby.
green_shoes (1.1.373)
shoes (3.0.1)
shoes-cucumber (0.0.2)
shoes-mocks (0.0.2)
Can anyone tell me how I can execute shoes, which I installed as a gem?
Thank you
Could you please post this also on shoes@librelist.com? I am sure
someone will help you.
Meanwhile, I suggest using green shoes (gem install green_shoes) as
there are some issues with shoes3 as I recall and next release is still
in progress.
as seba mentioned, green_shoes is another great option, and usually
installs with no problems through the gem. i'm trying to make some
sense out of the errors you posted, and i'll certainly get back to you
if i do. seba forwarded this thread to the shoes mailing list as well,
and there should be some folks there who can help out more.
OK, I went ahead installed green_shoes. When I try to run it, I get this:
/usr/local/bin/gshoes
/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' 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 `<top
(required)>'
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
`<top (required)>'
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/bin/gshoes:2:in
`<top (required)>'
from /usr/local/bin/gshoes:23:in `load'
from /usr/local/bin/gshoes:23:in `<main>'
Ruby Student wrote in post #1109537:
> This is perhaps a silly question.
>
> My platform is:
>
> Red Hat Enterprise Linux Workstation release 6.3 (Santiago)
>
> # ruby -v
> ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
>
> # jruby -v
> jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on IBM J9 VM
> pxa6460sr12-20121025_01 (SR12) [linux-amd64]
>
> I installed shoes using the gem install command. But no matter what I
> try,
> I can't execute shoes.
>
> *# gem install shoes*
> /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
> It seems your ruby installation is missing psych (for YAML output).
> To eliminate this warning, please install libyaml and reinstall your
> ruby.
> Successfully installed shoes-3.0.1
> 1 gem installed
> Installing ri documentation for shoes-3.0.1...
> Installing RDoc documentation for shoes-3.0.1...
>
> *# gem list | grep -i shoes*
> /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
> It seems your ruby installation is missing psych (for YAML output).
> To eliminate this warning, please install libyaml and reinstall your
> ruby.
> green_shoes (1.1.373)
> shoes (3.0.1)
> shoes-cucumber (0.0.2)
> shoes-mocks (0.0.2)
>
> Can anyone tell me how I can execute shoes, which I installed as a gem?
>
> Thank you
Could you please post this also on shoes@librelist.com? I am sure
someone will help you.
Meanwhile, I suggest using green shoes (gem install green_shoes) as
there are some issues with shoes3 as I recall and next release is still
in progress.
[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 `<top
(required)>': 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
`<top (required)>'
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
`<top (required)>'
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 `<main>'
OK. I followed your instructions and this is what I got:
PRIOR to *gem clean
···
*
*
tmp]# gem list glib2
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
*** LOCAL GEMS ***
glib2 (2.0.0, 1.2.6, 1.2.1)
[root@oc5204722173 tmp]# gem list gtk2
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
*** LOCAL GEMS ***
gtk2 (1.2.1)
*
AFTER *gem clean*
*
tmp]# gem list glib2
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
*** LOCAL GEMS ***
glib2 (2.0.0)
[root@oc5204722173 tmp]# gem list gtk2
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/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' for GLib:Module
(NoMethodError)
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from /usr/local/lib/ruby/gems/1.9.1/gems/gtk2-1.2.1/lib/gtk2.rb:11:in
`<top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from
/usr/local/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/green_shoes.rb:6:in
`<top (required)>'
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 `<main>'
*
*
*Again, thank you for your help.
*
On Wed, May 22, 2013 at 8:50 AM, Kouhei Sutou <kou@cozmixng.org> wrote: