aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-04-07 14:58:31 -0700
committerCarlhuda <carlhuda@engineyard.com>2010-04-07 14:58:31 -0700
commitab5b1fc4a9ccd572f5f0bb40aa77abbfb33f3414 (patch)
treee2a5879f3a312133c3c6a8df7947b95ffe752cde /lib/bundler/installer.rb
parenteb819fb75b622d858eb4694615972263290c1632 (diff)
downloadbundler-ab5b1fc4a9ccd572f5f0bb40aa77abbfb33f3414.tar.gz
Add Bundler.flexdef, move locking into Environment, and lock from flex_install
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 6f026af5..08c939b4 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -3,7 +3,9 @@ require 'rubygems/dependency_installer'
module Bundler
class Installer < Environment
def self.install(root, definition, options)
- new(root, definition).run(options)
+ installer = new(root, definition)
+ installer.run(options)
+ installer
end
def run(options)