Sha256: 7121014d2ed621dd85af1370b58835033f8932975ddbd4825ae6c8d4ee6a0b84

Contents?: true

Size: 606 Bytes

Versions: 15

Compression:

Stored size: 606 Bytes

Contents

namespace :rails do
  task :prepare do
    on roles :all do
      execute <<-EOBLOCK
        echo gem: --no-ri --no-rdoc | sudo tee -a /etc/gemrc
        sudo gem install bundler
        sudo gem install rack -v 1.6.0
        sudo gem install thin -v 1.6.3
        sudo thin install
        sudo /usr/sbin/update-rc.d -f thin defaults
      EOBLOCK
      execute 'sudo apt-get install -y imagemagick libmagickwand-dev'

      execute <<-EOBLOCK
        sudo mkdir -p /var/www/#{fetch :application}
        sudo chown #{host.user}:#{host.user} /var/www/#{fetch :application}
      EOBLOCK

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
prun-ops-0.2.18 lib/capistrano/config/rails.rake
prun-ops-0.2.17 lib/capistrano/config/rails.rake
prun-ops-0.2.16 lib/capistrano/config/rails.rake
prun-ops-0.2.15 lib/capistrano/config/rails.rake
prun-ops-0.2.14 lib/capistrano/config/rails.rake
prun-ops-0.2.13 lib/capistrano/config/rails.rake
prun-ops-0.2.12 lib/capistrano/config/rails.rake
prun-ops-0.2.11 lib/capistrano/config/rails.rake
prun-ops-0.2.10 lib/capistrano/config/rails.rake
prun-ops-0.2.9 lib/capistrano/config/rails.rake
prun-ops-0.2.8 lib/capistrano/config/rails.rake
prun-ops-0.2.7 lib/capistrano/config/rails.rake
prun-ops-0.2.6 lib/capistrano/config/rails.rake
prun-ops-0.2.4 lib/capistrano/config/rails.rake
prun-ops-0.2.3 lib/capistrano/config/rails.rake