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
fdlcap-0.3.28 lib/fdlcap/recipes/ruby_inline.rb