Making a Gem
As to not forget the process of packaging up a gem and putting it on my own hosting just follow these simple tests :–
1) Firstly make sure the PROJECT_NAME.gemspec
file is up to date and you have updated the version.rb
file to the correct version.
2) run the command
1 2 3 |
|
that should put a gem file in the root directory with the name PROJECT_NAME-VERSION.gem
or in pkg/PROJECT_NAME-VERSION.gem
To publish to your own gem host
1) First set up geminabox as per these instructions
1
|
|
2) then gem inabox PROJECT_NAME-VERSION.gem
it’ll ask for url
3) put in your gem host
and away she goes
Get it straight from git
Two ways
1 2 3 4 5 |
|
which is just USERNAME/PROJECT_NAME