Sha256: 6f684549837c7f579ffd9ecd762374b598d2378f1c4709277b9ff78e96012927

Contents?: true

Size: 557 Bytes

Versions: 41

Compression:

Stored size: 557 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  define_recipe :ruby_inline do
    
    #
    # Tasks
    #
    task :ruby_inline, :roles => :app, :except => {:no_release => true, :no_symlink => true} do
      run "mkdir -p #{release_path}/tmp/ruby_inline/"
      run "mkdir -p #{release_path}/tmp/ruby_inline/.ruby_inline"
      sudo "chmod 755 #{release_path}/tmp/ruby_inline/"
      sudo "chmod 755 #{release_path}/tmp/ruby_inline/.ruby_inline"
    end
    
    #
    # Callbacks
    #
    after "deploy:symlink_configs", "ruby_inline"
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
factorylabs-fdlcap-0.3.10 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.11 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.15 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.16 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.17 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.18 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.19 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.20 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.21 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.23 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.24 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.25 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.26 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.27 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.28 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.3 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.4 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.5 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.6 lib/fdlcap/recipes/ruby_inline.rb
factorylabs-fdlcap-0.3.7 lib/fdlcap/recipes/ruby_inline.rb