Hi there,

I was advised to leave php and move onto Ruby so here i am.

I've been on the ruby site, and downloaded the file to compile, and in addition to that i downloaded XCode for mac OS X.

On terminal, I have tried following the instructions from the README file:
* How to compile and install

This is what you need to do to compile and install Ruby:

1. If ./configure does not exist or is older than configure.in,
run autoconf to (re)generate configure.

2. Run ./configure, which will generate config.h and Makefile.

3. Edit defines.h if you need. Usually this step will not be needed.

4. Remove comment mark(#) before the module names from ext/Setup (or
add module names if not present), if you want to link modules

If you don't want to compile non static extension modules
(probably on architectures which does not allow dynamic loading),
remove comment mark from the line "#option nodynamic" in

5. Run make.

6. Optionally, run 'make test' to check whether the compiled Ruby
interpreter works well. If you see the message "test succeeded",
your ruby works as it should (hopefully).

7. Run 'make install'

You may have to be a super user to install ruby.

If you fail to compile ruby, please send the detailed error report with
the error log and machine/OS type, to help others.

However, i get a few issues: (after typing make into the command line....

1 - regex.c: In function 'ruby_re_compile_pattern':
regex.c:1351: warning: incompatible implicit declaration of built-in function 'alloca'

regex.c:1433: warning: incompatible implicit declaration of built-in function 'alloca'

These issues are repeated, but with a different c:nnnn number before the warning:.

2 - ossl_hmac.c:163: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness

the log file in terminal is MASSIVE and then, then i thought it wouldn't get any worse (!) i got this...
** Ruby is not compiled with --enable-pthread, but your Tcl/Tk
** library seems to be compiled with pthread support. This
** combination may cause frequent hang or segmentation fault
** errors when Ruby/Tk is working. We recommend that you NEVER
** create the library with such a combination of pthread support.
** Please recompile Ruby with the "--enable-pthread" configure option
** or recompile Tcl/Tk with the "--disable-threads" configure option.

Now my knowledge of editing in UNIX is none exixtent so have no idea what's going on here...

After this finishes, i must type make install, which does the following:
make install
./miniruby ./instruby.rb --dest-dir="" --extout=".ext" --make="make" --mflags="" --make-flags="" --installed-list .installed.list --mantype="doc"
installing binary commands
installing command scripts
installing library scripts
installing headers
installing manpages
installing extension objects
installing extension scripts
my name:~/Desktop/Ruby_on_Rails/ruby-1.8.6 my_name$

Now, according to the instructions, that's it, but still returns a problem page as i cannot connect to localhost:3000

Can anyone out there explain this to me in simple terms, and if possible, how do i get sorted with this?

Really sorry for the long thread, but it's the only way to capture the error to ask for help..

Advise and help much needed & appreciated.