Sha256: 057d95c4cf7c51ec463308cc2d33ca856185a111d8f2c1de4f22f2999581086a

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

module Anvil
  class Bundler
    def self.update_gem(gem_name)
      ::Bundler.with_clean_env do
        Cocaine::CommandLine.runner = Cocaine::CommandLine::PopenRunner.new
        line = Cocaine::CommandLine.new('bundle', "update #{gem_name}")
        line.run
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
anvil-core-0.6.0 lib/anvil/bundler.rb
anvil-core-0.5.0 lib/anvil/bundler.rb
anvil-core-0.4.2 lib/anvil/bundler.rb
anvil-core-0.4.1 lib/anvil/bundler.rb
anvil-core-0.4.0 lib/anvil/bundler.rb