How Gemfury Works

Gemfury is a private package repository to help you easily reuse code without worrying about its hosting or deployment. It integrates directly with existing package management tools that you already use.

Upload

Upload your private code packages to Gemfury via the web interface or command line . The packages are transferred to your repository via SSL and stored securely & privately in the cloud for future deployment.

Install

With your packages in place, you can now deploy them by using your private Repo URL with existing package management tools. Nothing to learn here. Use the same workflows and commands that you've been using for all the open source and public packages.

Install RubyGems with Bundler or command line

Using private Gems with Bundler is easy, just add your Gemfury Repo URL to the project's Gemfile. source 'https://452f6E403CDph10714e41@gem.fury.io/me/' To use Gemfury with command line, add the Gemfury Repo URL to your .gemrc with this command: $ gem sources -a https://452f6E403CDph10714e41@gem.fury.io/me/ And you're ready to gem install your private Gems from Gemfury.

npm support via package.json and command line

Once you upload your private modules to your Gemfury account, you can install them anywhere using command line: npm install my-module --registry https://npm.fury.io/452f6E403CDph10714e41/me/ Or switch your .npmrc to our smart proxy which seamlessly blends your Gemfury repo with the public npm registry: registry = https://npm-proxy.fury.io/452f6E403CDph10714e41/me/ You're always ready to seamlessly npm install your private and public modules from Gemfury.

Include private dependencies in your composer.json

Once you push one or more private packages to Gemfury, you can use them inside of your project by simply adding the following line to your composer.json:

"repositories": [{
  "type":"composer",
  "url":"https://php.fury.io/452f6E403CDph10714e41/me/"
}]
And you're ready to seamlessly composer.phar install your private packages from Gemfury.

Python modules via Requirements.txt and Pip

Once you upload your private packages from the dashboard or via command-line, you can install them anywhere using either command line: pip install my-package --extra-index-url https://pypi.fury.io/452f6E403CDph10714e41/me/ Or inside of your project by adding the following statement to requirements.txt: --extra-index-url https://pypi.fury.io/452f6E403CDph10714e41/me/ And you're ready to seamlessly pip install your private packages from Gemfury.

One-line APT-source is all your need

Once you push one or more packages to Gemfury, you can install them on any server or cloud host by simply adding the following apt source: deb [trusted=yes] https://SeCrEt-ToKeN@apt.fury.io/me/ / And you're ready to seamlessly apt-get install your packages from Gemfury.

YUM install your private RPMs from Gemfury

Once you push one or more private packages to Gemfury, you can install them on any server or cloud host by simply adding the following yum repo:

[fury]
name=Gemfury Private Repo
baseurl=https://SeCrEt-ToKeN@yum.fury.io/me/
enabled=1
gpgcheck=0
And you're ready to seamlessly yum install your private packages from Gemfury.

Are my packages really secure here?

Yes! Your packages are protected during deployment by a secret token that's part of your Gemfury Repo URL. As long as you keep this URL secret, only you can access your account. All package uploads, deployments, and installations are done via SSL.