evan / echoe

A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment
http://fauna.github.com/fauna/echoe
Academic Free License v3.0
82 stars 17 forks source link

unable to install rake install gem on jruby #6

Closed dmitryame closed 13 years ago

dmitryame commented 14 years ago

Hi, I'm unable to rake install gem on jruby, following the instructions i used p.platform = "jruby"

But running "rake install" get the following error message:

/bin/sh: gems: command not found

Please advise

dcolebatch commented 13 years ago

Same here. Trying to work this out now, short of symlinking "gems" to "gem"

---EDIT: You've probably worked it out already, but the easiest solution is to navigate to your jruby bin dir and create a symlink to jgem from "gems"... there already is one for "gem":

~/.rvm/rubies/jruby-1.5.6/bin $ ln -s jgem gems