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
ghp-0.0.8 lib/development.rb
ghp-bootstrap-0.0.4 lib/development.rb
ghp-bootstrap-0.0.3 lib/development.rb
ghp-0.0.7 lib/development.rb
ghp-bootstrap-0.0.2 lib/development.rb
ghp-layouts-0.0.5 lib/development.rb
ghp-layouts-0.0.4 lib/development.rb
ghp-0.0.5 lib/development.rb
ghp-0.0.4 lib/development.rb
ghp-layouts-0.0.2 lib/development.rb
ghp-layouts-0.0.1 lib/development.rb
ghp-0.0.2 lib/development.rb
opsdb-0.0.1 lib/development.rb
alpha_omega-1.5.15 lib/development.rb
tvd-microwave-0.0.15 lib/development.rb
tvd-microwave-0.0.13 lib/development.rb
tvd-microwave-0.0.12 lib/development.rb
alpha_omega-1.5.14 lib/development.rb
alpha_omega-1.5.12 lib/development.rb
alpha_omega-1.5.10 lib/development.rb