From 751f2a7a8f26a01f984cecbfe1385ecc0feda9e0 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Sat, 23 Jul 2016 13:41:57 +0900 Subject: [PATCH] Document installing sinatra-contrib from github [ci skip] --- sinatra-contrib/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sinatra-contrib/README.md b/sinatra-contrib/README.md index 9ef39933..006ed6c6 100644 --- a/sinatra-contrib/README.md +++ b/sinatra-contrib/README.md @@ -75,6 +75,17 @@ Add `gem 'sinatra-contrib'` to *Gemfile*, then execute `bundle install`. If you don't use Bundler, install the gem manually by executing `gem install sinatra-contrib` in your command line. +### Git + +If you want to use the gem from git, for whatever reason, you can do the following: + +```ruby +github 'sinatra/sinatra' do + gem 'sinatra-contrib' +end +``` + +Within this block you can also specify other gems from this git repository. ## Usage