Skip to content

Commit

Permalink
Copied note to readme on non-standard libraptor2 path
Browse files Browse the repository at this point in the history
  • Loading branch information
dwbutler committed Sep 1, 2014
1 parent 76e5a83 commit 953e89e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -168,6 +168,13 @@ Mac and the most common Linux and BSD distributions:
% [sudo] pkg_add -r raptor # FreeBSD
% [sudo] pkg_add raptor # OpenBSD / NetBSD

If the `libraptor2` library is in the standard library search path, and
the `rapper` command is in the standard command search path, all should
be well and work fine out of the box. However, if either is in a
non-standard location, be sure to set the `RDF_RAPTOR_LIBPATH` and/or
`RDF_RAPTOR_BINPATH` environment variables appropriately before
requiring `rdf/raptor`.

Download
--------

Expand Down
6 changes: 3 additions & 3 deletions lib/rdf/raptor.rb
Expand Up @@ -57,15 +57,15 @@ module RDF
# RDF::Format.for(:content_type => "application/xhtml+xml")
#
# {RDF::Raptor} includes an FFI implementation, which loads the
# `libraptor` library into the Ruby process, as well as a CLI
# `libraptor2` library into the Ruby process, as well as a CLI
# implementation, which drives the `rapper` command-line tool in a
# sub-process.
#
# The FFI implementation is used by default unless the `libraptor` library
# The FFI implementation is used by default unless the `libraptor2` library
# cannot be found, or if the `RDF_RAPTOR_ENGINE` environment variable is
# explicitly set to `'cli'`.
#
# If the `libraptor` library is in the standard library search path, and
# If the `libraptor2` library is in the standard library search path, and
# the `rapper` command is in the standard command search path, all should
# be well and work fine out of the box. However, if either is in a
# non-standard location, be sure to set the `RDF_RAPTOR_LIBPATH` and/or
Expand Down

0 comments on commit 953e89e

Please sign in to comment.