-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rdiscount is broken in os x snow leopard #6
Comments
Found a fix: diff --git a/lib/rdiscount.rb b/lib/rdiscount.rb Markdown = RDiscount unless defined? Markdown -require 'rdiscount.so'
|
That probably doesn't actually fix it. |
Reinstalling XCode from the Snow Leopard DVD fixed my ruby install, it was missing header files, etc... After the reinstall I was able to successfully install rdiscount via gem. |
Cool. |
After installing via gems: gem install rdiscount
Invoking: rdiscount
Will yield:
ruby/18/gems/rdiscount-1.3.5/lib/rdiscount.bundle: dlopen(/.gem/ruby/18/gems/rdiscount-1.3.5/lib/rdiscount.bundle, 9): no suitable image found. Did find: (LoadError) /.gem/ruby/18/gems/rdiscount-1.3.5/lib/rdiscount.bundle: mach-o, but wrong architecture - /.gem/ruby/18/gems/rdiscount-1.3.5/lib/rdiscount.bundle from /opt/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'from /.gem/ruby/18/gems/rdiscount-1.3.5/lib/rdiscount.rb:72
from /opt/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /opt/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'from /.gem/ruby/18/gems/rdiscount-1.3.5/bin/rdiscount:4
from /.gem/ruby/18/bin/rdiscount:19:in
load' from /.gem/ruby/18/bin/rdiscount:19
The text was updated successfully, but these errors were encountered: