Jump to content

Recommended Posts

Posted

The Ruby on Rails app I'm going to host at Heliohost uses the RedCloth gem.

So I proceed to install it and I'm presented with the following error:

cPanel 11
Installing "RedCloth" Ruby Gem

INFO:  `gem install -y` is now default and will be removed
INFO:  use --ignore-dependencies to install only the gems you list
Building native extensions.  This could take a while...
ERROR:  Error installing RedCloth:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install -y RedCloth
creating Makefile

make
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I.   -fPIC -g -O2  -O2   -c redcloth_inline.c
make: execvp: gcc: Permission denied
make: *** [redcloth_inline.o] Error 127


Gem files will remain installed in /home/zawacki/ruby/gems/gems/RedCloth-4.2.2 for inspection.
Results logged to /home/zawacki/ruby/gems/gems/RedCloth-4.2.2/ext/redcloth_scan/gem_make.out

 

What can I do about it?

Thanks.

Posted

Perhaps you need root privileges for that particular gem. I've installed it from the root console; let me know if your application is working now.

Posted

Thanks for the quick help. The gem is there and it should be working now, but I'm having a hard time making my app run.

I know this shouldn't be discussed in here so I've created a post in the Questions forum:

 

Find it here

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...