I am trying to run 'gem specific_install' (https://github.com/rdp/specific_install) to install another gem from a Github repository:
sudo gem specific_install https://github.com/RemoteRepository/foo_gem.git
After being prompted for my Github Username and password, I am able to download the gem. However, I get the following error:
ERROR: While executing gem ... (NoMethodError)
undefined method `build' for Gem::Package:Module
Apparently, other people have the same error based on a comment to a specific_install related answer to this question: How to install gem from GitHub source?
How can this error be resolved?