Sha256: 9ad795dcde31464bcf89c63cb8ca203b018c73dec10e198e41f33f4fd086013a

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

package :ruby do
  requires :build_essential
  
  verify do
    has_file '/usr/bin/ruby1.8'
    has_file '/usr/bin/ri1.8'
    has_file '/usr/bin/rdoc1.8'
    has_file '/usr/bin/irb1.8'    
  end
  
  apply do
    apt %q(ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 libreadline-ruby1.8 libruby1.8 libopenssl-ruby)
    run('ln -s /usr/bin/ruby1.8 /usr/bin/ruby')
    run('ln -s /usr/bin/ri1.8 /usr/bin/ri')
    run('ln -s /usr/bin/rdoc1.8 /usr/bin/rdoc')
    run('ln -s /usr/bin/irb1.8 /usr/bin/irb')
  end  
end

Version data entries

3 entries across 3 versions & 1 rubygems

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