diff options
author | Andre Arko <andre@arko.net> | 2010-02-12 22:44:52 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-02-12 22:44:52 -0800 |
commit | 1832c4e33d0bfed295b5aec31a530ec1c1ea8d34 (patch) | |
tree | 54014f8fc6b1340c41184bc3cc86384b350168e4 | |
parent | f5027eebfb88210b233dfb6a1ce888b41cec3f09 (diff) | |
download | bundler-1832c4e33d0bfed295b5aec31a530ec1c1ea8d34.tar.gz |
Set spec_dirs so rails 2 works while unlocked
-rw-r--r-- | lib/bundler/runtime.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index 32356ede96..46d33e922c 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -247,6 +247,7 @@ module Bundler source_index_class = (class << Gem::SourceIndex ; self ; end) source_index_class.send(:define_method, :from_gems_in) do |*args| source_index = Gem::SourceIndex.new + source_index.spec_dirs = *args source_index.add_specs *specs source_index end |