Closed herbertia closed 10 years ago
Redcarpet has been having some Segfaults, but the most recent version (3.1.1) fixes them. I just patched Slate to use Redcarpet 3.1.1...does updating to the most recent version of Slate, and then running bundle install
fix your problem?
Hi, problem fixed! Thanks a lot for your help ;-) I am closing the ticket.
No problem! Glad to have helped! :smile_cat:
I did the few steps to install and use slate but after launching middleman server, when I am trying to access to localhost:4567, the application crashes with the following error:
== The Middleman is loading == The Middleman is standing watch at http://0.0.0.0:4567 == Inspect your site configuration at http://0.0.0.0:4567/__middleman/ /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/tilt-1.4.1/lib/tilt/markdown.rb:125: [BUG] Segmentation fault ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports the more detail of.
-- Control frame information ----------------------------------------------- c:0030 p:---- s:0201 e:000200 CFUNC :render c:0029 p:0026 s:0197 e:000196 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/tilt-1.4.1/lib/tilt/markdown.rb:125 c:0028 p:0034 s:0191 e:000190 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/tilt-1.4.1/lib/tilt/template.rb:103 c:0027 p:0252 s:0185 E:000310 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/core_extensions/rendering.r c:0026 p:0171 s:0167 e:000166 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/core_extensions/rendering.r c:0025 p:0217 s:0154 e:000153 BLOCK /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/sitemap/resource.rb:143 c:0024 p:0043 s:0150 e:000149 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/activesupport-3.2.16/lib/active_support/notifications.rb:125 c:0023 p:0054 s:0145 e:000144 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/util.rb:42 c:0022 p:0021 s:0138 e:000137 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/application.rb:215 c:0021 p:0015 s:0133 e:000132 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/sitemap/resource.rb:16 c:0020 p:0067 s:0128 E:000888 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/sitemap/resource.rb:114 c:0019 p:0181 s:0121 E:000230 METHOD /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/core_extensions/request.rb: c:0018 p:0013 s:0109 e:000108 BLOCK /Users/Stephanie/.rvm/gems/ruby-2.0.0-p247@clm-api-doc/gems/middleman-core-3.2.2/lib/middleman-core/core_extensions/request.rb: [FINISH] c:0017 p:---- s:0107 e:000106 CFUNC :catch ......
These are the gems installed: Installing rake (10.1.1) Installing i18n (0.6.9) Installing multi_json (1.8.4) Installing activesupport (3.2.16) Using bundler (1.5.3) Installing chunky_png (1.2.9) Installing coffee-script-source (1.7.0) Installing execjs (1.4.0) Installing coffee-script (2.2.0) Installing fssm (0.2.10) Installing sass (3.2.14) Installing compass (0.12.2) Installing eventmachine (1.0.3) Installing http_parser.rb (0.5.3) Installing em-websocket (0.5.0) Installing ffi (1.9.3) Installing tilt (1.4.1) Installing haml (4.0.5) Installing hike (1.2.3) Installing json (1.8.1) Installing kramdown (1.3.1) Installing rb-fsevent (0.9.4) Installing rb-inotify (0.9.3) Installing rb-kqueue (0.2.0) Installing listen (1.3.1) Installing rack (1.5.2) Installing rack-test (0.6.2) Installing thor (0.18.1) Installing middleman-core (3.2.2) Installing sprockets (2.10.1) Installing sprockets-helpers (1.0.1) Installing sprockets-sass (1.0.2) Installing middleman-sprockets (3.2.0) Installing uglifier (2.4.0) Installing middleman (3.2.2) Installing middleman-gh-pages (0.0.3) Installing rack-livereload (0.3.15) Installing middleman-livereload (3.1.1) Installing rouge (1.3.2) Installing middleman-syntax (2.0.0) Using redcarpet (3.0.0) from https://github.com/vmg/redcarpet.git (at master) Your bundle is complete!
I am using ruby-2.0.0-p247.
Please advise on what I did wrong in order to make it works. Thanks for your help