Problem with monkeybars and rawr install.

  3 posts   Feedicon  
Replies: 2 - Last Post: December 17, 2009 16:18
by: Logan Barnett
showing 1 - 3 of 3
 
Posted: December 17, 2009 06:55 by chtrinh
Hi,
I'm running snow leopard and using macports. I did the following to install monkeybar and rawr:

macbook-pro:~ chtrinh$ sudo jgem install monkeybars
Successfully installed rawr-1.3.8
Successfully installed monkeybars-1.0.4
2 gems installed
Installing ri documentation for rawr-1.3.8...
Installing ri documentation for monkeybars-1.0.4...
Installing RDoc documentation for rawr-1.3.8...
Installing RDoc documentation for monkeybars-1.0.4...
macbook-pro: ~ chtrinh$ monkeybars
-bash: monkeybars: command not found

So I did this:

macbook-pro: ~ chtrinh$ jruby -S monkeybars demo
Creating directory demo
/bin/sh: rawr: command not found

Error installing Monkeybars project:
No such file or directory - File not found - demo/build_configuration.rb
/opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/monkeybars-1.0.4/bin/monkeybars:53:in `initialize'
/opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/monkeybars-1.0.4/bin/monkeybars:53
/opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/monkeybars-1.0.4/bin/monkeybars:19:in `load'
/opt/local/share/java/jruby/bin/monkeybars:19

Does any know the cause of this issue? Btw, I uninstall and reinstall twice (seemed to help someone in a previous post, but not me).

Thanks in advance,
Chris
 
Posted: December 17, 2009 08:10 by chtrinh
Nevermind!
So simple I totally forgot about it.

For those with the same problem, try this:

ln -s sourcefile/ where_rawr_is_suppose_to_be/

you can find the source file by:
jruby -S gem environment

and get the gem install dir location and from there your rawr gem .

Hope this helps someone.
 
Posted: December 17, 2009 16:18 by Logan Barnett

Sounds like wherever Rubygems is stuffing the executable scripts is not on your path. It's nice to know there's a workaround but you shouldn't have to symlink to get gems working like that.

Replies: 2 - Last Post: December 17, 2009 16:18
by: Logan Barnett
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close