adamjmurray/jruby_for_max

System for managing gems

Closed this issue · 1 comments

It's currently very painful working with gems. It should be possible to manage gems from within a Max patcher.

Rubygems API should provide programmatic access to list, install, update, and uninstall gems, see for example http://www.ruby-doc.org/stdlib-1.9.3/libdoc/rubygems/rdoc/Gem/Commands/ListCommand.html

The biggest issue is that gem home is currently set to a folder inside the jruby.jar, so I have to figure out how to work with that. Ideally we could simply change gem home altogether (jruby complete jar only comes with rake and sources gems, not sure if those are required for jruby_for_max), or to support another gem home in conjunction with the one inside the jar.

New version 1.0.2 of JRuby for Max addresses this problem by including a "Gem Manager" patcher in the help file.