Ruby gem projects: Difference between revisions
From wikinotes
(→Notes) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<blockquote> | <blockquote> | ||
{| class="wikitable" | {| class="wikitable" | ||
- | |- | ||
| [[ruby bundler]] || | | [[ruby bundler]] || | ||
|- | |- | ||
Line 11: | Line 11: | ||
|} | |} | ||
</blockquote><!-- Notes --> | </blockquote><!-- Notes --> | ||
{{ NOTE | | |||
If you want a gem with a different name than the module it requires,<br> | |||
simply define a top-level import with the gem name,<br> | |||
that requires the top-level module you want to expose. | |||
}} |
Latest revision as of 15:11, 2 May 2024
Notes
ruby bundler ruby gemspec define project info (name, author, requirements) for rubygems.org ruby gemfile define project requirements
NOTE:
If you want a gem with a different name than the module it requires,
simply define a top-level import with the gem name,
that requires the top-level module you want to expose.