Eric Hodel
6/20/2008 11:45:00 PM
On Jun 20, 2008, at 16:18 PM, Eric Marthinsen wrote:
> I'm writing a fairly involved Ruby application. I want to stabilize
> the
> gems that I'm using by freezing them (I also want to simplify
> deployment
> of the app). Freezing gems is a pretty well understood and documented
> process for a Rails application, but I haven't found anything on how
> to
> do this with a Ruby console app.
The easiest way to do this is to use gems itself. It is smart.
Gem::Specification.new 'my_gem', MyGem::VERSION do |s|
s.add_dependency 'other_gem', '= 1.0'
end
Then simply install your ruby application as a gem.