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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...