Install ruby gem globally from github repository
command-line, github, ruby, rubygems
Solution
Download the source:
git clone https://github.com/thoughtbot/capybara-webkit.git
Build the gem:
cd capybara-webkit && gem build capybara-webkit.gemspec
Install it (the filename/version may vary):
sudo gem install capybara-webkit-0.14.1.gem
Problem
I want to install a ruby gem globally (`sudo gem install capybara-webkit`) but I want it to be installed from the master in its github repository. I know this can be done using bundler but I want to do it from the command line because I'm coding mainly using pry.