-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docs about authentication for api and publishing gems, close #4
- Loading branch information
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,16 +101,17 @@ Of course, our smoke test isn’t over yet: Let’s `require` our gem and use it | |
>> Hola.hi | ||
Hello world! | ||
|
||
Hola now needs to be shared with the rest of the Ruby community. Publishing | ||
your gem out to RubyGems.org only takes one command, granted you have an | ||
account on the site. Once you’re signed up, then you can push out a gem. | ||
Hola now needs to be shared with the rest of the Ruby community. Publishing your | ||
gem out to RubyGems.org only takes one command, granted you have an account on | ||
the site. To setup your computer with your rubygems account: | ||
|
||
$ curl -u qrush https://rubygems.org/api/v1/api_key.yaml > | ||
~/.gem/credentials | ||
Enter host password for user 'qrush': | ||
|
||
Once this has been setup, push out the gem: | ||
|
||
% gem push hola-0.0.0.gem | ||
Enter your RubyGems.org credentials. | ||
Don't have an account yet? Create one at http://rubygems.org/sign_up | ||
Email: [email protected] | ||
Password: | ||
Signed in. | ||
Pushing gem to RubyGems.org... | ||
Successfully registered gem: hola (0.0.0) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters