Jekyll
http://jekyllrb.com/
Jekyll on GitHub
https://github.com/mojombo/jekyll
Jekyll-bootstrap
http://jekyllbootstrap.com/
Octopress
http://octopress.org/
danzwl
V2EX  ›  Jekyll

bundle install时出现错误怎么办

  •  
  •   danzwl · Apr 16, 2012 · 6317 views
    This topic created in 5141 days ago, the information mentioned may be changed or developed.
    Fetching gem metadata from http://rubygems.org/.......
    Using rake (0.9.2)
    Using RedCloth (4.2.8)
    Using posix-spawn (0.3.6)
    Using albino (1.3.3)
    Using blankslate (2.1.2.4)
    Using chunky_png (1.2.1)
    Using fast-stemmer (1.0.0)
    Using classifier (1.3.3)
    Using fssm (0.2.7)
    Using sass (3.1.5)
    Using compass (0.11.5)
    Using directory_watcher (1.4.0)
    Using ffi (1.0.9)
    Using haml (3.1.2)
    Using kramdown (0.13.3)
    Using liquid (2.2.2)
    Using syntax (1.0.0)
    Using maruku (0.6.0)
    Using jekyll (0.11.0)
    Using rubypython (0.5.1)
    Using pygments.rb (0.1.3)
    Using rack (1.3.2)
    Installing rb-fsevent (0.4.3.1) with native extensions
    Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /Users/danzwl/.rvm/rubies/ruby-1.9.2-p318/bin/ruby extconf.rb
    creating Makefile
    CFLAGS='-isysroot /Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7 -mdynamic-no-pic -std=gnu99 -Os -pipe -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wnewline-eof -Wconversion -Wshorten-64-to-32 -Wglobal-constructors -pedantic' /usr/bin/clang -isysroot /Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7 -mdynamic-no-pic -std=gnu99 -dead_strip -framework CoreServices -o '/Users/danzwl/.rvm/gems/ruby-1.9.2-p318/gems/rb-fsevent-0.4.3.1/bin/fsevent_watch' fsevent/fsevent_watch.c
    fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found
    #include <stdio.h>
    ^
    1 error generated.
    extconf.rb:59:in `<main>': Compilation of fsevent_watch failed (see README) (RuntimeError)


    Gem files will remain installed in /Users/danzwl/.rvm/gems/ruby-1.9.2-p318/gems/rb-fsevent-0.4.3.1 for inspection.
    Results logged to /Users/danzwl/.rvm/gems/ruby-1.9.2-p318/gems/rb-fsevent-0.4.3.1/ext/gem_make.out
    An error occured while installing rb-fsevent (0.4.3.1), and Bundler cannot continue.
    Make sure that `gem install rb-fsevent -v '0.4.3.1'` succeeds before bundling.
    4 replies    1970-01-01 08:00:00 +08:00
    bitsmix
        1
    bitsmix  
       Apr 16, 2012
    没编译环境
    danzwl
        2
    danzwl  
    OP
       Apr 16, 2012
    @bitsmix 后来bundle update就好了
    LarryLv
        3
    LarryLv  
       Apr 16, 2012
    说句题外话,源用 http://ruby.taobao.org 会比较快一些。
    ddatsh
        4
    ddatsh  
       Apr 16, 2012
    gem sources --remove http://rubygems.org/
    gem sources -a http://ruby.taobao.org/
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4934 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 01:06 · PVG 09:06 · LAX 18:06 · JFK 21:06
    ♥ Do have faith in what you're doing.