News for hackers. Stuff that matters.
Re:Making Debian Responsible For Its Actions by rbanffy on Tuesday September 28, 2010 @01:41PM (#1736491)
How do you specify which version you want in your program?
Re:Making Debian Responsible For Its Actions by blasdel on Tuesday September 28, 2010 @06:33PM (#1737621)
The naive way will just load the highest-numbered version you have installed:

  require 'rack'
When you have rubygems loaded, this is equivalent to:

  gem 'rack', '>=0'
You can specify exact and relative dependencies easily. There are a fuckton of frameworks to handle this for you, many of them oriented around copying the depended-upon gems into your app when it's deployed, as is common in the Java world.
Re:Making Debian Responsible For Its Actions by telemachos on Tuesday September 28, 2010 @02:10PM (#1736634)
Bundler[1] is one way.

[1] http://gembundler.com/rationale.html