I'm running into a problem with the latest versioned release of the RedCloth gem, 4.2.7. Specifically, it's the gcc 4.6 compile issue that was resolved in this commit, but has not yet been included in a release despite how long ago it was committed.
In my Gemfile, I changed this:
gem 'RedCloth', '4.2.7'
to this:
gem 'RedCloth', :git => 'git://github.com/jgarber/redcloth.git'
However, when I run bundle install
, I end up getting a warning message that reads:
RedCloth at /Users/mhuggins/.rvm/gems/ruby-1.9.2-p180@myapp/bundler/gems/redcloth-9d6d28f93b02 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
["ext/redcloth_scan/redcloth_attributes.c", "ext/redcloth_scan/redcloth_inline.c", "ext/redcloth_scan/redcloth_scan.c"] are not files
It looks like this line of the redcloth.gemspec is attempting to include 3 files that don't exist in the source tree, which is what's causing the error.
Anyone know what's going on here for me? I must be missing a step or something. (I'm on OS X using Rails 3.1 edge.)