instance method unpack

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

unpack(options={})

No documentation comment.

Parameters

options opt = {}
Source
# File railties/lib/rails/gem_dependency.rb, line 250
    def unpack(options={})
      unless frozen? || framework_gem?
        FileUtils.mkdir_p unpack_base
        Dir.chdir unpack_base do
          Gem::GemRunner.new.run(unpack_command)
        end
        # Gem.activate changes the spec - get the original
        real_spec = Gem::Specification.load(specification.loaded_from)
        write_specification(real_spec)
      end
      dependencies.each { |dep| dep.unpack(options) } if options[:recursive]
    end

Defined in railties/lib/rails/gem_dependency.rb line 250 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::GemDependency

Type at least 2 characters to search.

↑↓ navigate · open · esc close