Help us understand the problem. What is going on with this article?

作ったgemをリリースするまで

More than 5 years have passed since last update.

メモ

作成したソースを諸々コミットする

$ git add .
$ gc -m 'version 0.1'

パッケージを作成する

$ bundle exec rake build

→pkgフォルダおよび、その下にxxxxxxxx-x.x.xgemファイルが作成される

rubygems.orgのアカウントを取得

rubygems

1.「sign up」からアカウントを作成
2. アカウント作成後、Edit profile(https://rubygems.org/profile/edit) に移動
3.APIアクセス用の鍵を作成(以下のコマンドが用意されている)

$ curl -u Username https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials

githubにリポジトリを作り、ソースをアップロード

割愛

リリース(rubygemsへアップロード)

$ bundle exec rake release

以後のバージョンアップはgithubへアップ→リリースを繰り返す。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした