Once you have signed up for a Gemfury account, you will want to fill it with packages.
You can use any of the following methods:
From the Dashboard
The most straightforward way to add packages to your account is to visit your dashboard, hit the ”+Upload” button, and follow the steps there.
You may upload in any supported format, and Gemfury will automatically recognize and add it to your account.
Using Gemfury CLI
To install the Gemfury CLI, please run the following command:
$ gem install gemfury
You will need a working Ruby and Rubygems setup in your system. Ruby version at least 1.8 is required.
Authenticate with your Gemfury login credentials:
$ fury login Please enter your Gemfury credentials. Email: email@example.com Password: <hidden password> You are logged in as "[USERNAME]"
And subsequently upload packages with the
fury push command:
$ fury push package-file-1.0.1.tgz
If you are importing a lot of packages, we recommend the mass-upload
fury migrate to upload all packages in a directory:
$ fury migrate ./package-store
To learn more what you can do with the CLI, refer to the Gemfury CLI docs.
To use this method, you will need your
Push-URL, which takes
the following format:
You can find your personal access token in the
Tokens page of your Gemfury account.
To upload a single package, use the following command:
$ curl -F package=@<Package File> <Push-URL>
For example, uploading foo-0.0.2.gem will run like this:
$ curl -F firstname.lastname@example.org https://TOKEN@push.fury.io/USERNAME/ ~~> Processing package upload foo-0.0.2.gem ... ok
If you collaborate on a team account, you can
upload packages to that account by using your personal access token along with
the team’s username in the
To use this method, you will need to add a remote repository reference pointing to your package in Gemfury:
$ git remote add fury https://git.fury.io/USERNAME/PACKAGE-NAME.git
And upload the source content with:
$ git push fury master
You may be asked to authenticate with your Gemfury login credentials.