Sha256: c790302499d46a1a91c4bde514e8d9f9f647b355c97ca212cb3b975fbd7a3938

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

package :ruby_gems do
  requires :build_essential, :ruby

  verify do
    has_executable 'gem'
  end

  apply do
    source "http://rubyforge.org/frs/download.php/56227/rubygems-1.3.3.tgz" do
      skip :configure, :build
      stage :install do
        run("cd #{build_dir} && ruby setup.rb")
        run('ln -Fs /usr/bin/gem1.8 /usr/bin/gem')
        run('gem update')
        run('gem update --system')        
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mdwan-divvy-0.1.0 examples/packages/ruby/ruby_gems.rb
mdwan-divvy-0.1.1 examples/packages/ruby/ruby_gems.rb
mdwan-divvy-0.1.2 examples/packages/ruby/ruby_gems.rb