Rip: A New Way to Package Ruby Software
Jun 19, 2009, 00:02 (0 Talkback[s])
(Other stories by Martin Streicher)
WEBINAR:
On-Demand
How to Help Your Business Become an AI Early Adopter
[ Thanks to An Anonymous Reader for
this link. ]
"If you work on multiple Ruby projects concurrently,
you’re probably accustomed to juggling gems. One project
requires one batch of gems; another effort depends on a different
set; and a third project utilitizes a specific legacy gem.
Thankfully, the Ruby gem system can maintain multiple versions of
the same gem in a single repository, making much of this task easy.
If you need an explicit version of a gem (or any late model
version, such as 3.x), simply install the code you need and name
the dependency.
"But what if you want to test your code with different versions
of the same gem? Worse, what if each variant of the gem depends on
multiple versions of other gems? Soon you are wrestling with a
morass of interdependencies and no effective technique to enforce
and ensure revision locking among any prescribed subset.
"One solution is a virtual machine per configuration. Create a
base image and create an instance for each permutation.
That’s workable, albeit very time-consuming to establish and
practice."
Complete
Story
Related Stories:
- Sunspot: A Solr-Powered Search Engine for Ruby(May 28, 2009)
- Rails 3 Gets Supersized With Merb(May 07, 2009)
- Code Project: Create a web server in Ruby(Mar 24, 2009)
- Wicked Cool Ruby Scripts(Feb 06, 2009)
- Do Ruby on Rails Developers Need Merb?(Oct 16, 2008)
- Easy Ruby Development, the Eclipse Way(Aug 17, 2008)
- Ruby on Rails Upgrade Eyed(May 28, 2008)
- Consuming RSS Feeds with Ruby(Mar 12, 2008)
- Telling Time with Ruby(Feb 22, 2008)
- Java vs Ruby: A Comparison of the Key Elements(Dec 14, 2007)