gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whjiang <...@git.apache.org>
Subject [GitHub] incubator-gearpump pull request: Gearpump 36 fix gearpump doc buil...
Date Thu, 21 Apr 2016 01:17:47 GMT
Github user whjiang commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/2#discussion_r60513815
  
    --- Diff: docs/README.md ---
    @@ -19,9 +19,39 @@ ERROR:  While executing gem ... (Errno::EPERM)
         Operation not permitted - /usr/bin/listen
     ```
     
    +If you are using Mac OSX 10.11+ (El Capitan), you will need to execute following command:
    +```
    +sudo gvim /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb
    +```
    +And change following code in this file:
    +```ruby
    +module FFI
    +...
    +    def self.map_library_name(lib)
    +        ...
    +        lib = Library::LIBC if lib == 'c'
    +        lib = Library::LIBCURL if lib == 'libcurl'
    +...
    +module Library
    +    CURRENT_PROCESS = FFI::CURRENT_PROCESS
    +    LIBC = '/usr/lib/libc.dylib'
    +    LIBCURL = '/usr/lib/libcurl.dylib'
    +```
    +
     Kramdown is needed for Markdown processing and the Python based Pygments is used for
syntax
     highlighting.
     
    +If you encountered following error
    +```
    +You are missing a library required for syntax highlighting. Please run:
    +  $ [sudo] gem install pygments
    --- End diff --
    
    yes. We need to install pygments.rb gem. The error message is reported by the plugin.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message