• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Rails on Plesk: Complete guide

aww damn.

now I read this after torturing myself for 4 days with how to get ruby at all running...

thanks anyways - bookmarked for future installations! :)
 
Hmmm. I am trying to install Ruby (step 1) and I am getting the error:

no acceptable C compiler found in $PATH

after trying ./configure. Using Enterprise 3 and Plesk 7.5.2.. argh.. anybody?
 
try the tinyurl guide then :)

and before you do that, execute the following

gcc -v
cc -v

if both return a not found message, you'll need to install gcc with the guide
 
tried the tutorial and got this after ./configure:

[root@as gcc-3.3]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /usr/local/src/gcc-3.3 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

thoughts?
 
yup - from what I see, I'd say that to install gcc you first need cc. Which puts us back one more step.

did you try "up2date cc" and "up2date gcc" yet by the way?
 
thanks but know what? I really appreciate your time but don't waste any more. I am leaving my hosting provider for one who supports rails.

Thanks again!!!
 
that's another way to solve the problem :D but learning how to install ruby would have been better because of the educative effect it has.
 
Originally posted by liquidblaze
aww damn.

now I read this after torturing myself for 4 days ...


the days of torturing myself over this stuff are over. I need to concentrate on work and not on the pains of server administration.
 
Hey liquid, sorry for the frustration on my end. Sys admin stuff is not my bag. So, I tried a hosting provider that supports rails but I am not getting alot of the other stuff that was so compelling about my current provider, so I decided to stay.

Anyways, if you or anyone is still up for helping me get a compiler on here, that would be very cool.

My last try was with:
up2date gcc
up2date cc

both of which I get:
up2date: command not found

Also, with:
yum install gcc [configured to ART packages]

I get: Cannot find a package matching gcc

.. same with cc

Thanks in advance for your help.
 
Yes, there are still people who are willing to help.

Have you tried the guide which was posted earlier by liquidblaze?

http://tinyurl.com/cbak7

If you are still unsuccessful with that guide, please post again with which point you got stuck. Then we can go further. :)
 
On the ./configure command:

# ./configure --prefix=/usr
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/httpd/vhosts/domain.com/tmp/gcc-3.3 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
 
Ok, let's try a different approach, which *should* work for RHE (I think you posted that you are on RHE):

Do the following from the SSH (as root user) prompt:

apt-get install gcc

RHE apparently uses apt-get instead of up2date
 
hey, thanks so much for your help!

OK, as root user I get:

bash: apt-get: command not found

LOL...
 
hey cranky! hope all is well.

Red Hat Enterprise Linux AS release 3 (Taroon Update 1)
 
unfortunately my provider (Media Temple), refuses to install or deal with anything.

I got:

# rpm -Uvh gcc-3.2.3-52.i386.rpm
warning: gcc-3.2.3-52.i386.rpm: V3 DSA signature: NOKEY, key ID 025e513b
error: Failed dependencies:
cpp = 3.2.3-52 is needed by gcc-3.2.3-52
glibc-devel >= 2.2.90-12 is needed by gcc-3.2.3-52
libgcc >= 3.2.3-52 is needed by gcc-3.2.3-52
 
Back
Top