The one thing I worry about is trying to install gems that require compilation. The native MySQL bindings is a good example. Is jGems going to prompt saying why this can't be installed? Is the same going to hold true for dependencies?
-Zach
On 6/12/06, Charles O Nutter <[EMAIL PROTECTED]> wrote:
We have kicked around the idea of renaming the jruby script to ruby in the past, but of course that raises many other issues for those of us running both. The symlinking idea would work well for unixers, and adding a ruby.bat file would work for Windows folks, but the intention here is that with no Ruby around you could download JRuby, unpack it, and start installing gems without a lot of hassle. Is it an achievable goal?
Here's a suggestion to jar discussion: what about having jgem, jgemupdate, etc that just know how to call the stock scripts? It's not great, but it follows our tradition of prefixing j, it allows those scripts to update independently, and it doesn't break anything for anyone.
So in the release, instead of running "jruby <jruby_home>/bin/gem install rake" you would just run "jgem install rake".
Again, not great, but are there other suggestions?On 6/12/06, Chris Nokleberg <[EMAIL PROTECTED]> wrote:On Mon, 12 Jun 2006 11:03:50 -0500, Charles O Nutter wrote:
> We would like to include RubyGems 0.8.11 pre-installed in the next release
> of JRuby. However, there are a few issues with doing that we need to
> resolve:
>
> 1. The scripts RubyGems installs reference 'ruby' directly in their #! line.
> This requires us to call "jruby bin/gem" to invoke them
Not if you symlink the system ruby -> jruby :-)
Seriously, since you use gentoo you're probably aware of "java-config" and
the like. Eventually I think something similar will be needed for
ruby--where cruby and jruby are both first-class implementations that you
can choose from. The script would adjust your environment variables and
the like so that your #! scripts will pick up the right interpreter.
Chris
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel
_______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel