Sha256: 45d604d3beaa3ec226dd2b9d0606cbfa3a50ba3101a22a0241c5b5304b4d84a2

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require 'colored'

module Pod
  class Installer
    alias_method :install_before_always_be_bundling, :install!

    def install!
      if validates_for_bundler
        install_before_always_be_bundling!
      else
        puts "\n\n ** Please run `pod install` with bundle exec instead. **\n\n".red
      end
    end

    def validates_for_bundler
      defined?(Bundler)
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-always-be-bundleing-0.0.3 lib/cocoapods_plugin.rb