summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-04-28 15:43:53 -0700
committerAndre Arko <andre@arko.net>2011-04-28 15:43:53 -0700
commite48440a6c15d48595485c3d1342d4fa433792ae9 (patch)
tree17a498945b936620b41ae6df08aea6cb8c2e6440 /lib/bundler/definition.rb
parent850b161afa3db92983a6ac6ed086f73d5b97b2fb (diff)
parent7c6a566e1362a51435b8f6ac7efe59f0c3dc3022 (diff)
downloadbundler-e48440a6c15d48595485c3d1342d4fa433792ae9.tar.gz
Merge branch '1-0-stable'
Conflicts: lib/bundler/cli.rb lib/bundler/source.rb
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index dc397f9ed6..0853abe6da 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -61,7 +61,7 @@ module Bundler
@unlock[:gems] ||= []
@unlock[:sources] ||= []
- current_platform = Gem.platforms.map { |p| generic(p) }.compact.last
+ current_platform = Bundler.rubygems.platforms.map { |p| generic(p) }.compact.last
@new_platform = !@platforms.include?(current_platform)
@platforms |= [current_platform]