lfzawacki Posted August 3, 2009 Posted August 3, 2009 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. Quote
Ashoat Posted August 3, 2009 Posted August 3, 2009 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. Quote
lfzawacki Posted August 4, 2009 Author Posted August 4, 2009 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.