Skip to content
Go to file



Add this line to your application's Gemfile:

gem 'specific_install'

And then execute:

$ bundle

Or install it yourself as:

$ gem install specific_install


A Rubygem plugin that allows you to install an "edge" gem straight from its github repository, or install one from an arbitrary url web:


$ gem specific_install

Or more explicitly:

$ gem specific_install -l

Or very tersely:

gem specific_install githubsvnclone/rdoc

Or a specific branch

$ gem specific_install edge

Or a specific branch in an explicit way

$ gem specific_install -l -b edge

Or a specific subdirectory in a repo

$ gem specific_install -d src/ruby

Or install in the users personal gem directory

$ gem specific_install -u

The following URI types are accepted:

Additional Options

-l --location URL of resource
  Formats of URL/Resource
    * Full URL to HTTP Repo ``
    * Full URL to Git Repo  ``
    * URL of Pre-Built Gem  ``
    * Github Repo shortcode `rdp/specific_install`

-b --branch BRANCH to use for Gem creation
  Branch option does a `git checkout BRANCH` before `gem build GEM`
      `git specific_install -l rdp/specific_install -b pre-release`
  Note: This feature is new and may not fail gracefully.

-d --directory DIRECTORY in source
  This will change the directory in the downloaded source directory
  before building the gem.

-r, --ref COMMIT-ISH to use for Gem creation
  Ref option does a `git reset --hard COMMIT-ISH` before `gem build GEM`

-u, --user-install to indicate that the gem should be unpacked into the users personal gem directory.
  This will install the gem in the user folder making it possible to use specific_install without root access.

`git_install` is aliased to the behavior of `specific_install`
  This alias is shorter and is more intention revealing of the gem's behavior.

Internal Behavior

It runs git clone, and rake install, install the gem, then deletes the temp directory.


v0.2.10 is known to work against Rubygems v2.2.2 and has a compatibility issue with Rubygems v1.8.25 (possible other older Rubygems). Work-arounds: Upgrade Rubygems via rvm rubygems current or install older version of specific_install.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


Copyright 2010-2014 Roger Pack -


rubygems plugin to allow you to install an "edge" gem straight from its github repository




No packages published


You can’t perform that action at this time.