Ruby gem projects: Difference between revisions
From wikinotes
No edit summary |
No edit summary |
||
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.