Yep.
Thanks.  I had tried that when running the install script, and something
else got in the way, but this way worked.

I am going to see if I can dial back the yum invocation, and still get the
installation to work, as we have a lot of Ruby applications, like Chef,
that are persnickety about versions.

For the record:

1. sudo yum install ruby rubygems ruby-devel gcc

2. Locate Java:

   $ ls -l `which java`

     lrwxrwxrwx. 1 root root 22 Mar  6 19:50 /usr/bin/java ->
/etc/alternatives/java

   $ ls -l /etc/alternatives/java

     lrwxrwxrwx. 1 root root 26 Mar  6 19:50 /etc/alternatives/java ->
/usr/java/default/bin/java

3. $ JAVA_HOME=/usr/java/default

   $ export JAVA_HOME

4. $ export PATH=$PATH:$JAVA_HOME/bin

5. $ sudo env JAVA_HOME=$JAVA_HOME PATH=$PATH gem install buildr

--Ed
-- 
Ed Smiley, Software Architect Sr
*e*brary | 410 Cambridge Avenue| Palo Alto, CA 94306 USA |
[email protected]
www.ebrary.com
*e*brary is a member of the ProQuest family of companies.
*ProQuest*...Start Here.  2011 InformationWeek Top Innovator

On Tue, Mar 6, 2012 at 6:02 PM, Antoine Toulme <[email protected]>wrote:

> Maybe it's not in your $PATH ?
>
> Try:
>
> export PATH=$PATH:$JAVA_HOME/bin
>
>> ...> Hi,
>>> >
>>> > I was supporting another developer in getting Buildr up and running.
>>> > So I am trying to assemble a _working_ plan of installation for
>>> supported
>>> > operating systems.
>>> >... [previous whines go here]...
>>>
>>

Reply via email to