# ROR Hivelogic install problems

**URL:** <https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067>\
**Category:** Rails\
**Created:** [October 21, 2006, 12:03am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067 "2006-10-21T00:03:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 21, 2006, 12:03am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/1 "2006-10-21T00:03:46Z")

</div>

Hi,  
I’m following the instructions from Hivelogic"Building Ruby, Rails,  
LightTPD, and MySQL on Tiger". I’m trying to install on a MacMini  
running Tiger(OSX 10.4.6). When I execute the Ruby install by running:  
./configure --prefix=/usr/local --enable-pthread  
–with-readline-dir=/usr/local  
make  
sudo make install  
sudo make install-doc

I get no errors, but I’m not sure if it executes correctly since I’m  
not 100% sure what this is supposed to do.

The problem occurs when I try to execute the rubygems install in the  
next section on this line:  
sudo /usr/local/bin/ruby setup.rb I get  
sudo: /usr/local/bin/ruby: command not found.

In “/usr/local/bin” there is no directory or executable named “ruby”.  
Should the Ruby make have created this??

Also none of the curl commands in this tutorial work for me. I had to  
download and untar the ruby files outside of the terminal program.  
Then use “mv” to move them to the correct directory. I can “curl” the  
file on the wiki curl website, so I can “curl” from terminal, just not  
the tutorial files.

any ideas what I’m doing wrong??

thanks,

Jon

---

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 21, 2006, 12:14am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/2 "2006-10-21T00:14:19Z")

</div>

hi, it sounds like you didnt install ruby in the local area.

---

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 21, 2006, 12:29am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/3 "2006-10-21T00:29:51Z")

</div>

On Oct 20, 2006, at 3:18 PM, Jose Hales-Garcia wrote:

> > Also none of the curl commands in this tutorial work for me. I  
> > had to  
> > download and untar the ruby files outside of the terminal program.  
> > Then use “mv” to move them to the correct directory. I can “curl”  
> > the  
> > file on the wiki curl website, so I can “curl” from terminal, just  
> > not  
> > the tutorial files.

I wasn’t reading this statement carefully enough the first time.  
There are known problems unpacking archives using Stuff-it which can  
cause bizarre problems. To be kosher according to Hivelogic’s  
instructions you need to get curl working. That’s a big problem  
right there. What shell are you using? curl is located in /usr/  
bin. Is it there?

Jose

…  
Jose Hales-Garcia  
UCLA Department of Statistics  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 23, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/4 "2006-10-23T23:28:55Z")

</div>

Hi,

I was able to get the “curl” command to work in terminal. I added  
the “”–disable --epsv" option. Once I did this everything worked  
correctly.

When I execute the following:  
./configure --prefix=/usr/local  
–enable-pthread–with-readline-dir=/usr/local  
make  
sudo make install  
sudo make install-doc

I get no errors, but ruby is not created in /usr/local/bin. I gave  
everyone r/w priv’s for these folders, so I don’t believe it is a  
permissions issue. I searched my entire hard drive with the “find”  
command in terminal, and ruby is not being created in another  
directory.

I see there is something called “DarwinPorts” that is a package  
installation for ROR. Have you ever used that?? Any thoughts good or  
bad??

thanks,

Jon

---

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 21, 2006, 12:19am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/5 "2006-10-21T00:19:49Z")

</div>

On Oct 20, 2006, at 2:58 PM, Jon wrote:

> I get no errors, but I’m not sure if it executes correctly since I’m  
> not 100% sure what this is supposed to do.

I’m assuming you’re getting a slew of messages. When things are  
compiling correctly they’re just information or warnings that can  
often times be ignored. Somewhere in the messages should be an  
indication of the problem.

> The problem occurs when I try to execute the rubygems install in the  
> next section on this line:  
> sudo /usr/local/bin/ruby setup.rb I get  
> sudo: /usr/local/bin/ruby: command not found.

Not producing a /usr/local directory when it’s invoked in the  
configure statement is a serious problem. It may indicate you don’t  
have write permissions in /usr.

> In “/usr/local/bin” there is no directory or executable named “ruby”.  
> Should the Ruby make have created this??

Definitely yes.

> Also none of the curl commands in this tutorial work for me. I had to  
> download and untar the ruby files outside of the terminal program.  
> Then use “mv” to move them to the correct directory. I can “curl” the  
> file on the wiki curl website, so I can “curl” from terminal, just not  
> the tutorial files.

Moving things manually is a source of unaccountable problems later.  
Better to figure what’s wrong with the permissions before trying to  
fix anything manually. There could be weird problems later.

Jose

…  
Jose Hales-Garcia  
UCLA Department of Statistics  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 25, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/6 "2006-10-25T23:02:47Z")

</div>

removed\_email\_address@domain.invalid wrote:

> setup on the mac (and explains some advantages of package management  
> vs. install-by-hand).  
> [http://blog.duncandavidson.com/2006/04/sandboxing\_rail.html](http://blog.duncandavidson.com/2006/04/sandboxing_rail.html)
> 
> cheers,  
> jean-pierre

Hi,

Thanks for all of your input.

I was able to get Ruby to compile after I installed the latest  
X-code(v2.4) off of the Apple devolper website. I am using an Intel  
based Mac Mini. I believe the X-Code version I installed off a DVD was  
not compatible with the Intel Mac even though I got no error message  
indicating that.

I also needed to add the following option to the “curl” command  
“–disable-epsv”. Without that option the curl command would not work.

Jon Lesher

---

<div class="post-metadata">

**Author:** ![jon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@jon](https://www.ruby-forum.com/u/jon)\
**Post date:** [October 24, 2006, 12:43am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067/7 "2006-10-24T00:43:35Z")

</div>

On 10/23/06, Jon [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> […]
> 
> I see there is something called “DarwinPorts” that is a package  
> installation for ROR. Have you ever used that?? Any thoughts good or  
> bad??

James Duncan Davidson’s article, “Sandboxing Rails With MacPorts” (nee  
darwinports) does a great job walking one through rails development  
setup on the mac (and explains some advantages of package management  
vs. install-by-hand).  
[http://blog.duncandavidson.com/2006/04/sandboxing\_rail.html](http://blog.duncandavidson.com/2006/04/sandboxing_rail.html)

cheers,  
jean-pierre
