public
Description: Capistrano recipe for Panda and MySql
Homepage: http://redwriteshere.com
Clone URL: git://github.com/reddavis/panda_cap.git
panda_cap / ruby.rb
100644 11 lines (9 sloc) 0.302 kb
1
2
3
4
5
6
7
8
9
10
11
namespace :panda do
  
  desc "Install Ruby"
  task :install_ruby do
    sudo "apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby ruby1.8-dev build-essential" do |ch, stream, out|
      puts out
      ch.send_data(input = $stdin.gets) if out =~ /\[Y\/n\]\?/
    end
  end
  
end