diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-19 10:50:03 +0100 |
|---|---|---|
| committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-19 17:21:11 +0100 |
| commit | 42ca30343dbce29ba618d3cefda89f359406eb9c (patch) | |
| tree | ca71d061e451fddda06cb0d1417a375798e022e6 /lib/bundler/lazy_specification.rb | |
| parent | 5dc368b07c407702a485ed53d8fd8a8ab40fa9ef (diff) | |
| download | bundler-42ca30343dbce29ba618d3cefda89f359406eb9c.tar.gz | |
Use newest interface to `bundle config` everywhere
Diffstat (limited to 'lib/bundler/lazy_specification.rb')
| -rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index d9cb01f810..69a721c120 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -77,7 +77,7 @@ module Bundler if search && Gem::Platform.new(search.platform) != Gem::Platform.new(platform) && !search.runtime_dependencies.-(dependencies.reject {|d| d.type == :development }).empty? Bundler.ui.warn "Unable to use the platform-specific (#{search.platform}) version of #{name} (#{version}) " \ "because it has different dependencies from the #{platform} version. " \ - "To use the platform-specific version of the gem, run `bundle config specific_platform true` and install again." + "To use the platform-specific version of the gem, run `bundle config set specific_platform true` and install again." search = source.specs.search(self).last end search.dependencies = dependencies if search && (search.is_a?(RemoteSpecification) || search.is_a?(EndpointSpecification)) |
