Forum: Ruby Installing a gem not hosted by rubygems.org - simplest way?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4828d528e2e46f7c8160c336eb332836?d=identicon&s=25 Robert Heiler (shevegen)
on 2016-09-28 09:26
Hello.

I have a few gems that are not on rubygems.org, mostly because there
already exists a gem with the very same name. For instance:

    http://shevegen.square7.ch/configuration-1.0.19.gem

Now, people can wget it, then install it, which works fine. But it
is a bit of a hassle in that you need to do two commands.

I think you can do "gem sources -a" to add more sources, but
this is also a bit cumbersome.

My question is - is there a way to install a remote gem with
just a single gem-command instruction, if it is NOT on rubygems.org?

It's ok if some extra switches are used for this gem install command
but I am wondering if this functionality is available; and if not,
whether it may be useful to have it. If so then I may file an issue
request but I first have to find out whether it is possible or not.

Thanks!
This topic is locked and can not be replied to.