gsm sources manager

GSM is a gem source management tool. In Ruby development, due to domestic network problems, we often need to replace the default https://rubygems.org/ source. GSM can manage different sources for you.

GSM is a recursive GSM sources manager, which can also be used as gem sources manager.

The project home page: https://crispgm.github.io/gsm/ project address: https://github.com/crispgm/gsm

The installation

Using gem installation

$ gem install gsm-sources-manager
$ gsm --version

Manual installation

$ git clone https://github.com/crispgm/gsm.git
$ bundle install
$ bundle exec exe/gsm --version

use

After the first boot, GSM automatically loads the source from gem source-l.

List

Column appears active.

$ gsm list

Use

Apply a source.

$ gsm use Amethyst

Add

Add the source.

–use: Add while applying the source. Equivalent to GSM ADD and then GSM USE.

$ gsm add Amethyst https://rubygems.org/

Del

Delete the source.

$ gsm del Amethyst

Reset

Reset all sources.

$ gsm reset

Mirror

Map the source of the current application to the Bundle Mirror.

— Reset the Bundler Mirror.

$ gsm mirror Amethyst

The last

Welcome to use and contribute to the project.

https://github.com/crispgm/gsm