Skip to content

Instantly share code, notes, and snippets.

@alduro
Created October 31, 2012 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alduro/3989006 to your computer and use it in GitHub Desktop.
Save alduro/3989006 to your computer and use it in GitHub Desktop.
aldo@macbook ~/Satio/Desarrollo/rails/ng-task/namegoddess (master) > rake gems:install
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /Users/aldo/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake aborted!
no such file to load -- RedCloth
Tasks: TOP => environment
(See full trace by running task with --trace)
aldo@macbook ~/Satio/Desarrollo/rails/ng-task/namegoddess (master) > gem install redCloth
ERROR: Could not find a valid gem 'redCloth' (>= 0) in any repository
^CERROR: Interrupted
aldo@macbook ~/Satio/Desarrollo/rails/ng-task/namegoddess (master) > gem install redcloth
ERROR: Could not find a valid gem 'redcloth' (>= 0) in any repository
ERROR: Possible alternatives: RedCloth
aldo@macbook ~/Satio/Desarrollo/rails/ng-task/namegoddess (master) > gem install RedCloth
Fetching: RedCloth-4.2.9.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing RedCloth:
ERROR: Failed to build gem native extension.
/Users/aldo/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
checking for main() in -lc... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/aldo/.rvm/rubies/ruby-1.9.2-head/bin/ruby
--with-redcloth_scan-dir
--without-redcloth_scan-dir
--with-redcloth_scan-include
--without-redcloth_scan-include=${redcloth_scan-dir}/include
--with-redcloth_scan-lib
--without-redcloth_scan-lib=${redcloth_scan-dir}/lib
--with-clib
--without-clib
/Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:440:in `try_link'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:552:in `try_func'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:748:in `block in have_library'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from /Users/aldo/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/mkmf.rb:743:in `have_library'
from extconf.rb:5:in `<main>'
Gem files will remain installed in /Users/aldo/.rvm/gems/ruby-1.9.2-head/gems/RedCloth-4.2.9 for inspection.
Results logged to /Users/aldo/.rvm/gems/ruby-1.9.2-head/gems/RedCloth-4.2.9/ext/redcloth_scan/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment