Problem installing on Mac OSX

You can edit your path by modifying the .cshrc file within your ~/ home
directory.

My Path looks something like this:

setenv PATH
“/Users/nshb/bin:/usr/local/bin:/opt/local/lib/mysql5/bin:/usr/local/sbin:/opt/local/bin:/bin:/sbin:/usr/bin:/usr/sbin”

I am curious, where abouts did you need to modify the path to proceed?

BTW, all the other tutorials I have found rely on downloading the TGZ
files,
which becomes a mess when wanting to update. DarwinPorts are there for a
reason, and work exceptionally well. I don’t recommend using alternative
methods unless DarwinPorts either a) doesn’t have the version you want
b)
simply doesn’t have the package you want.

-Nathaniel

On 7/16/06, Todd F. [email protected] wrote:


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Kind regards,

Nathaniel B.
President & CEO
Inimit Innovations Inc. - http://inimit.com

Forgot to mention, once you modify your path, you will need to reload
the
TERM. You can verify your path has been updated by running:

echo $PATH

-NSHB

On 7/16/06, Nathaniel B. [email protected] wrote:

I am curious, where abouts did you need to modify the path to proceed?

Rails mailing list
President & CEO
Inimit Innovations Inc. - http://inimit.com


Kind regards,

Nathaniel B.
President & CEO
Inimit Innovations Inc. - http://inimit.com

Todd F. wrote:

Problem fixed, again. I tried the letter O instead.

curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz

That’s Step 5 (typo above). Now things seem to be moving. Will update
once all is done for other people struggling.

Nathaniel B. wrote:

Forgot to mention, once you modify your path, you will need to reload
the
TERM. You can verify your path has been updated by running:

echo $PATH

-NSHB

On 7/16/06, Nathaniel B. [email protected] wrote:

I am curious, where abouts did you need to modify the path to proceed?

Rails mailing list
President & CEO
Inimit Innovations Inc. - http://inimit.com


Kind regards,

Nathaniel B.
President & CEO
Inimit Innovations Inc. - http://inimit.com

Both your set of instructions and the hivelogic instructions require
that I edit the path. I have been having no luck. First I tried the
command explicitly given to me by hivelogic. Didn’t work. Then I
edited every .XXXXX file I could find reference to, tried every
combination of syntax I could find, and no luck.

Is there anyone out there who knows how to edit a path on mac osx?
Seems crazy that Ruby on Rails would be stopped in its tracks by a path
issue.

Nathaniel B. wrote:

I am curious, where abouts did you need to modify the path to proceed?

Here’s the section from your instructions:

  • Install xCode from your CDs (Disk 1), or download from Apple
  • Download and Install DarwinPorts (latest is DarwinPorts-1.2.1-10.4.dmg)
  • Add /opt/local/bin/port to your path

Todd F. wrote:

I have been having no luck [editing the path]. First I tried the
command explicitly given to me by hivelogic. Didn’t work. Then I
edited every .XXXXX file I could find reference to, tried every
combination of syntax I could find, and no luck.

Is there anyone out there who knows how to edit a path on mac osx?
Seems crazy that Ruby on Rails would be stopped in its tracks by a path
issue.

Figured it out, and am sharing for the benefit of all newbies. Here is a
good place to look for instructions and an explanation, which helps you
out without regard to shell.

Note that the instructions actually were insufficient to do what I
needed, because the hivelogic instructions require that the addition of
/usr/local/bin and /usr/local/sbin go at the front. These instructions
put it at the end. So just put /usr/local/bin:/usr/local/sbin before
$path with the space between teh two, and it works:

% echo ‘set path = (/usr/local/bin $path)’ >> ~/.cshrc
% source ~/.cshrc

Note that this problem game up when trying to install rubygems, and it
told me the file was not a gzip. Stumped, even after fixing the path, I
redownloaded the file and that solved the problem. Now I’m continuing.
Sorry for those people who know this stuff well. I’m trying to help
everyone in my shoes.

Todd F. wrote:


That’s Step 5 (typo above). Now things seem to be moving. Will update
once all is done for other people struggling.

Now the latest problem with hivelogic instructions. I reach the FCGI
section, and do everything word for word:

curl -O http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
tar xzvf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure --prefix=/usr/local
make
sudo make install
cd …

Okay. Then …

Weâ??ll also need to add the Ruby-FastCGI bindings

curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz
tar xzvf ruby-fcgi-0.8.6.tar.gz
cd ruby-fcgi-0.8.6
/usr/local/bin/ruby install.rb config --prefix=/usr/local

This doesn’t work. Here’s what I get:

install.rb: entering config phase…
—> lib
<— lib
—> ext
—> ext/fcgi
/usr/local/bin/ruby /Users/me/src/ruby-fcgi-0.8.6/ext/fcgi/extconf.rb
checking for fcgiapp.h… no
checking for fastcgi/fcgiapp.h… no
*** /Users/me/src/ruby-fcgi-0.8.6/ext/fcgi/extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Any ideas?

Todd F. wrote:

I tried the instruction tutorial on
http://maczealots.com/tutorials/ruby-on-rails/

and in the middle of trying to install fixrbconfig I got an error:

usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably
means you haven’t yet installed Xcode from the Tiger DVD. You won’t be
able to compile Ruby extensions without it. Please install it then rerun
this program.

I had installed Xcode.

Any clue?

Also, I’m bothered by this error and the fact that configuration needs
to be fixed. Why do I need to “fix” something after installing it, why
do I have to use terminal to do it, and why do I have an obscure error
like this one?

The main problem I see with languages and scripts like Ruby on Rails,
PHP, etc. is that they will never be distributable to everyone who
really needs them because the task of installing the underlying
application is so daunting. Any discussion in the open source community
about solving that problem?

please mr.flaming i bought a macbook air from some guy and it has u
logged on as a user but i dont know the password so i cant do much and i
cant create my own account can u please tell me the psssword i spent
1200 on it and the guy didnt tell me the password can u please tell me
the password hint on the account is advent its your account on itunes
and the macbook

On Mon, 2006-07-17 at 03:39 +0200, Todd F. wrote:

Nathaniel B. wrote:

I am curious, where abouts did you need to modify the path to proceed?

Here’s the section from your instructions:

  • Install xCode from your CDs (Disk 1), or download from Apple
  • Download and Install DarwinPorts (latest is DarwinPorts-1.2.1-10.4.dmg)
  • Add /opt/local/bin/port to your path

path=$PATH:/opt/local/bin/port

Craig

On Feb 21, 3:36 am, Omar S. [email protected]
wrote:

please mr.flaming i bought a macbook air from some guy and it has u
logged on as a user but i dont know the password so i cant do much and i
cant create my own account can u please tell me the psssword i spent
1200 on it and the guy didnt tell me the password can u please tell me
the password hint on the account is advent its your account on itunes
and the macbook

You can reset the password with a Mac OS X installation disk (see
If you forgot your Mac login password - Apple Support )

Fred