Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Why so complicated?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Uwe Kubosch  
View profile  
 More options Sep 12 2012, 3:25 pm
From: Uwe Kubosch <u...@kubosch.no>
Date: Wed, 12 Sep 2012 21:24:25 +0200
Local: Wed, Sep 12 2012 3:24 pm
Subject: Re: [jruby-user] Why so complicated?
In our projects we do exactly what your say, and even more:  We check the java and JRuby directories into version control, including the installed gems.  That way you only need to check out the project, and you are good to go.

It ensures all developers have the same version of everything, and that production is identical to development and test.

We sometimes wonder if we should change our practice, but regularly decide to keep the current setup.

On 2012-09-11, at 11:17, Robin McKay <li...@ruby-forum.com> wrote:

> Why is it almost routine, whenever anyone looks for advice on this
> Forum, to be advised to use things like RVM and Bundler (apparently
> there is now even a JBundler).

> These things may be useful for MRI Ruby (RVM certainly is) but JRuby
> doesn't need them.

> As far as I can see the simplest way to use JRuby is to download the zip
> file with your preferred version and extract it into the directory where
> you will build your project. Then create a short shell script or batch
> file that will (a) add the JRuby /bin directory to the PATH and (b) open
> a terminal at the project directory.

> From that point on if you add gems (the usual way with gem install XXX)
> they will be stored within the project. You can create a sub-directory
> for jars to keep things tidy (perhaps /lib) and include them with
> "require '/lib/xxx.jar'"

> Everything is within the project directory and nothing can be mixed up
> with any other project.

> And if you want to run a copy of your project on another PC all you have
> to do is copy the project directory and all its contents. The only thing
> needed on the other PC is the JVM.

> I can't understand why people spend dozens or hundreds of hours creating
> something like Bundler (or JBundler) when a half dozen hours writing an
> explanation of what needs to be done and how to do it would be a lot
> "cheaper" in programmer-hours and more useful because then the users
> would actually learn something rather than blindly following "black box"
> instructions.

> --
> Posted via http://www.ruby-forum.com/.

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

>    http://xircles.codehaus.org/manage_email

--
Uwe Kubosch
u...@kubosch.no
http://kubosch.no/

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

    http://xircles.codehaus.org/manage_email


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.