Sha256: e1d4c034d1f2328a346fe20a3f4306eb5c66c48d2730373e0621b1029d4b1553

Contents?: true

Size: 563 Bytes

Versions: 146

Compression:

Stored size: 563 Bytes

Contents

module Bundler
  class Dsl
    unless $gex
      alias :gex :gem
      $gex = true
    end

    def gem(nm_gem, opt_gem = {})
      shome = File.expand_path('../..', __FILE__)
      gem_info = File.join(shome, ".local", nm_gem)
      if File.exists? gem_info
        source "http://localhost:9292"
        local_opt = { :path => File.read(gem_info).strip }

        unless local_opt[:path].empty?
          gex nm_gem, local_opt
        else
          gex nm_gem, opt_gem.clone
        end
      else
        gex nm_gem, opt_gem.clone
      end
    end
  end
end

Version data entries

146 entries across 146 versions & 11 rubygems

Version Path
tvd-git-0.0.18 lib/development.rb
alpha_omega-0.0.202 lib/development.rb
alpha_omega-0.0.201 lib/development.rb
alpha_omega-0.0.200 lib/development.rb
tvd-git-0.0.17 lib/development.rb
alpha_omega-0.0.199 lib/development.rb