From e28035d7adcbd83eca4f5b566785ccf7bd2915db Mon Sep 17 00:00:00 2001 From: Bob Aman Date: Mon, 8 Oct 2012 17:07:08 +0300 Subject: [PATCH] This should "resolve" issues with OS X. This is actually a pretty terrible solution, but side-effects should be low. --- Gemfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 5158fbcae..9f04393fc 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,11 @@ gem 'jruby-openssl', :platforms => :jruby group :development do gem 'launchy', '>= 2.1.1' gem 'yard' - gem 'redcarpet' + if File.exist?('/usr/bin/gcc-4.2') + # Not a critically important gem to have around. + # If it's not going to build, skip it. + gem 'redcarpet' + end end group :examples do