Sha256: 297c279044611bc3e23a96a853d228a2e150fc5c281b35d3ae2dd9dfb564310e

Contents?: true

Size: 1.69 KB

Versions: 1

Compression:

Stored size: 1.69 KB

Contents

# This rakefile is for building the EC2 on Rails gem.
# To build a server AMI, see server/rakefile.rb

begin
  require 'jeweler'
  require 'rake'
  
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "ec2onrails-xtreme-head"
    gemspec.summary = "Client-side libraries (Capistrano tasks) for managing and deploying to EC2 on Rails servers."
    gemspec.description = <<-DESC
      Deploy a Ruby on Rails app on EC2 in five minutes. 
      EC2 on Rails is an Ubuntu Linux server image for Amazon EC2 that's ready to run a standard
      Ruby on Rails application with little or no customization. 
      It's a Ruby on Rails virtual appliance.
      This gem contains Capistrano tasks to manage and deploy to an EC2 on Rails server instance.
    DESC
    if gemspec.name == "ec2onrails-xtreme-head"
      experimental_warning = " *** This is the experimental, pre-release version.*** For the regular version install the gem 'ec2onrails-xtreme'"
      gemspec.summary += experimental_warning
      gemspec.description += experimental_warning
    end
    gemspec.homepage = "http://ec2onrails.rubyforge.org"

    gemspec.authors = ['Xtreme Labs', 'Dwayne Forde']
    gemspec.email = "aws@xtremelabs.com"
    
    gemspec.files = FileList['lib/**/**/*', 'Rakefile', 'Version'].to_a    

    gemspec.add_dependency('capistrano', '>= 2.5.19')
    gemspec.add_dependency('archive-tar-minitar', '>= 0.5.2')
    gemspec.add_dependency('optiflag', '>= 0.7')
    
    gemspec.rubyforge_project = gemspec.name
    Jeweler::RubyforgeTasks.new do |rubyforge|
      rubyforge.doc_task = "rdoc"
    end
  end
  
  Jeweler::GemcutterTasks.new
  
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ec2onrails-xtreme-head-0.0.7 Rakefile