Skip to content

Instantly share code, notes, and snippets.

@cyu
Created September 7, 2009 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyu/182153 to your computer and use it in GitHub Desktop.
Save cyu/182153 to your computer and use it in GitHub Desktop.
An example of how to add a custom library path to the runtime linker of a native ruby gem
sudo env PATH="/opt/curl/bin:$PATH" gem install toland-patron -v "0.4.1" --source http://gems.github.com -- --with-ldflags="-Wl,-R/opt/curl/lib"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment