17.2. Installation and Packaging
Your end user’s “out-of-the-box experience” should be as painless as possible. As users, we agree fervently with this; as developers, we’d sometimes prefer not to be bothered with packaging and installation issues.
Fortunately, these matters are less painful than in some other languages and environments. The two things you most need to know about are the setup library and RubyGems, Ruby’s “native” packaging and deployment system.
17.2.1. setup.rb
The setup.rb library is the work of Minero Aoki (who also created install.rb, used less often now).
Some would say this is becoming obsolete as RubyGems improves. Others would say they have issues with gems (technical, political, or otherwise). Some would say a “good ...
Get The Ruby Way: Solutions and Techniques in Ruby Programming, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.