Preinstall ruby-debug and rcov?

View: New views
6 Messages — Rating Filter:   Alert me  

Preinstall ruby-debug and rcov?

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey, I was thinking yesterday it would be nice to preinstall some of
the tools a lot of people end up using like ruby-debug and rcov. Any
objections to something like this?

I've already committed adba60c which installs the ruby-debug bits
during our build. This allows you to jruby --debug -S rdebug a script
right away with a JRuby install. I'm debating if we'd want to merge it
to 1.4 or not.

Thoughts?

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Preinstall ruby-debug and rcov?

by Jay McGaffigan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think that would be great.

The 2 step I have to go through to install rdebug with jruby was
always a little bit cumbersome... This would be superfantastic.

Jay


On Tue, Oct 27, 2009 at 11:18 AM, Charles Oliver Nutter
<headius@...> wrote:

> Hey, I was thinking yesterday it would be nice to preinstall some of
> the tools a lot of people end up using like ruby-debug and rcov. Any
> objections to something like this?
>
> I've already committed adba60c which installs the ruby-debug bits
> during our build. This allows you to jruby --debug -S rdebug a script
> right away with a JRuby install. I'm debating if we'd want to merge it
> to 1.4 or not.
>
> Thoughts?
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Preinstall ruby-debug and rcov?

by Thomas E Enebo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So long as they are gems I don't see how it could harm anything other
than download size.  Honestly, these are probably pretty tiny in the
grand scheme of things.

-Tom

On Tue, Oct 27, 2009 at 10:18 AM, Charles Oliver Nutter
<headius@...> wrote:

> Hey, I was thinking yesterday it would be nice to preinstall some of
> the tools a lot of people end up using like ruby-debug and rcov. Any
> objections to something like this?
>
> I've already committed adba60c which installs the ruby-debug bits
> during our build. This allows you to jruby --debug -S rdebug a script
> right away with a JRuby install. I'm debating if we'd want to merge it
> to 1.4 or not.
>
> Thoughts?
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
blog: http://blog.enebo.com       twitter: tom_enebo
mail: tom.enebo@...

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Preinstall ruby-debug and rcov?

by Samuel Holloway :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Charles Oliver Nutter-4 wrote:
Hey, I was thinking yesterday it would be nice to preinstall some of
the tools a lot of people end up using like ruby-debug and rcov. Any
objections to something like this?
I can see how it would be helpful to folks that use them but will it create a headache for folks that want a minimal JRuby install?

Re: Preinstall ruby-debug and rcov?

by Rob Heittman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd use it, and the tools you mentioned are not too heavy, but it might create a little confusion too depending on the implementation.  Were you thinking of "j___" versions of any binaries (as, e.g. jirb, so jrcov ...)?  Or keep the native names?

Anti-bloat is a good principle too, and this might be the first wiggly rock on a slippery slope.

I guess my first preference would be to avoid direct packaging, but include some useful scripts that can quickly bootstrap suites of useful gems that work well with JRuby.  For example, I am making a lot of Rails apps under JRuby so I keep having to install rails, jdbc-* drivers, jruby-rack, and the lot; this pile is certainly not lightweight, but I want it instantly within reach after installing jruby (so I have my own little script...).  Especially in cases where the JRuby gem stack requires some changes from C ruby idiom, this easy bootstrapping could save first time JRuby adopters a lot of digging, and grizzled veterans a lot of repetition.

I'm also thinking here of what my Ubuntu boxen do when I type a command but forgot to install the corresponding package:

The program 'xpdf' is currently not installed.  You can install it by typing:
apt-get install xpdf-reader

I always like those reminders.  Saves me on long-term memory storage.

- R

On Tue, Oct 27, 2009 at 2:34 PM, Samuel Holloway <sholloway@...> wrote:

I can see how it would be helpful to folks that use them but will it create
a headache for folks that want a minimal JRuby install?


Re: Preinstall ruby-debug and rcov?

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 27, 2009 at 2:09 PM, Rob Heittman
<rob.heittman@...> wrote:

> I'd use it, and the tools you mentioned are not too heavy, but it might
> create a little confusion too depending on the implementation.  Were you
> thinking of "j___" versions of any binaries (as, e.g. jirb, so jrcov ...)?
>  Or keep the native names?
> Anti-bloat is a good principle too, and this might be the first wiggly rock
> on a slippery slope.
> I guess my first preference would be to avoid direct packaging, but include
> some useful scripts that can quickly bootstrap suites of useful gems that
> work well with JRuby.  For example, I am making a lot of Rails apps under
> JRuby so I keep having to install rails, jdbc-* drivers, jruby-rack, and the
> lot; this pile is certainly not lightweight, but I want it instantly within
> reach after installing jruby (so I have my own little script...).
>  Especially in cases where the JRuby gem stack requires some changes from C
> ruby idiom, this easy bootstrapping could save first time JRuby adopters a
> lot of digging, and grizzled veterans a lot of repetition.

I like this idea a lot. Would meta-gems that are basically empty gems
+ dependencies work? For example:

jruby-essential:
  - jruby-openssl
  - jruby debug stuff

jruby-rails:
  - activerecord-jdbcmysql-adapter
  - activerecord-jdbcsqlite3-adapter
  - rails
  - warbler
  - mongrel or glassfish
  - json-jruby ?

Other ideas? Maybe 'jruby-dev' or 'jruby-testing' gems?

/Nick

> I'm also thinking here of what my Ubuntu boxen do when I type a command but
> forgot to install the corresponding package:
> The program 'xpdf' is currently not installed.  You can install it by
> typing:
> apt-get install xpdf-reader
> I always like those reminders.  Saves me on long-term memory storage.
> - R
>
> On Tue, Oct 27, 2009 at 2:34 PM, Samuel Holloway <sholloway@...>
> wrote:
>>
>> I can see how it would be helpful to folks that use them but will it
>> create
>> a headache for folks that want a minimal JRuby install?
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email