I thought I would share this little journey here for any others who find themselves in the same predicament. Thanks! –KyleTaylored Dec 19 '12 at 21:46 stackoverflow.com/questions/8007683/gcc-4-2-version-missing –aleung Dec 23 '12 at 5:55 2 If apple-gcc42 is missing Install the Command Line Tools (Xcode 4.3). Already have an account? Join them; it only takes a minute: Sign up An error occurred while installing RedCloth (4.2.7), and Bundler cannot continue up vote 1 down vote favorite I have an app on this contact form
How to limit a xorg installation to a single video driver? up vote 29 down vote My ubuntu 12.04 solution is install the ruby1.9.1-full version, that can resolve this issue. ruby redcloth octopress share|improve this question asked Aug 25 '12 at 4:25 thlgood 62521128 What GNU have you? Playing By Programming My mind has an endless capacity for useless information. http://stackoverflow.com/questions/12119138/failed-to-build-gem-native-extension-when-install-redcloth-4-2-9-install-linux
Not the answer you're looking for? To do that: brew tap homebrew/dupes && brew install apple-gcc42. Please click the link in the confirmation email to activate your subscription. share|improve this answer answered Apr 28 '13 at 7:33 Florin Gogianu 14128 add a comment| up vote 0 down vote None of the answers worked on my Ubuntu 14.04.1 LTS.
I think best would be to try rvm, here's a very good guide, you can stop without installing rails: ruby with rvm Then simply $gem install RedCloth Unmanaged ruby gems are See this thread for some pointers: http://forums.opensuse.org/applications/413553-build-essential.html I don't know OpenSuse, but if it's anything like Debian, you can probably also install Ruby gems (and Perl and Python modules) directly from Fetching additional metadata from https://rubygems.org/.. Ruby From source To install from source, get it from the repository: $ git clone git://github.com/jgarber/redcloth.git $ cd redcloth $ rake install You'll need echoe and Ragel to compile it.
Thanks. For me, the command was: sudo apt-get install ruby1.9.1-dev I found the answer (and a better description of the problem) on this blog. Password: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb checking for main() in -lc... http://stackoverflow.com/questions/33554883/an-error-occurred-while-installing-redcloth-4-2-7-and-bundler-cannot-continue Results logged to /home/malc/.gem/ruby/1.9.1/gems/RedCloth-4.2.7/ext/redcloth_scan/gem_make.out An error occured while installing RedCloth (4.2.7), and Bundler cannot continue.
When I run bundle install I got error message An error occured while installing RedCloth (4.2.9), and Bundler cannot continue. ERROR: Error installing RedCloth: ERROR: Failed to build gem native extension. /usr/bin/ruby2.2 -r ./siteconf20150525-6230-9rpa9y.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h extconf failed, exit code 1 Gem files RedCloth is available for native Ruby, JRuby, and Win32 platforms. when trying to install rails Hot Network Questions Can Communism become a stable economic strategy?
What would be the atomic no. why not try these out [email protected]:~/Documents/me/github.io/chr-br.github.io$ sudo gem install RedCloth -v '4.2.9' Building native extensions. Gem Install Redcloth 4.2 9 Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 393 Star 9,498 Fork 3,076 imathis/octopress Code Issues 180 Pull requests 96 Projects Rvm True or False?
Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. weblink yes creating Makefile make "DESTDIR=" compiling redcloth_attributes.c compiling redcloth_inline.c compiling redcloth_scan.c linking shared-object redcloth_scan.bundle clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded I removed Brightbox's ruby2.2 package and reinstalled Ubuntu's ruby package giving myself Ruby 1.9. Animal Shelter in Java How does NumPy solve least squares for underdetermined systems? Github Pages
Reload to refresh your session. With modern technology, is it possible to permanently stay in sunlight, without going into space? Not having the ruby-dev package installed seems to be a common cause for this install error. –John Creamer Apr 22 '15 at 8:11 Solved the issue for me as navigate here If you don't, run all five lines. 1 2 3 4 5 $ brew update $ brew tap homebrew/homebrew- Even after making sure that command line tools were installed with Xcode, it still didn't find the gcc compiler. Terms Privacy Security Status Help You can't perform that action at this time. We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
My default is ruby2.2: $ ruby -v ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux-gnu] chr-br commented May 25, 2015 The same error occurs if I only have Ubuntu's Ruby 1.9 package installed
Even after making sure that command line tools were installed with Xcode, it still didn't find the gcc compiler. Terms Privacy Security Status Help You can't perform that action at this time. We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
How? This can be good and bad. date: invalid date '2016-10-16' Implementation of a generic List Why (in universe) are blade runners called blade runners? Also, here is my Gemfile: $ cat Gemfile source 'https://rubygems.org' gem 'github-pages' I have not tried installing with gem install github-pages, since github's guide recommends against it.
Terms Privacy Security Status Help You can't perform that action at this time. What actually is RedCloth? Unsubstantiated Is there a Korean word for 'Syllable Block'? http://xhpcreations.com/gem-install/gem-install-rails-bus-error.html share|improve this answer edited Mar 31 '10 at 14:08 answered Mar 31 '10 at 13:15 Telemachus 14.7k33977 damn!