Sha256: dc04079f450546015cc5f29027f930bf49793ff583391b28994f4e32493b78c0

Contents?: true

Size: 357 Bytes

Versions: 59

Compression:

Stored size: 357 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  namespace :ndr_dev_support do
    desc 'Creates a .ruby-version file for this release'
    task :set_ruby_version, except: { no_release: true } do
      run "cd #{release_path} && echo #{fetch(:ruby)} > .ruby-version"
    end
  end

  before 'bundle:install', 'ndr_dev_support:set_ruby_version'
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
ndr_dev_support-5.4.5 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.4.4 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.4.3 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.4.2 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.4.1 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.4.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.3.1 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.3.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.2.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.1.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.0.1 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-5.0.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.2.1 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.2.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.1.3 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.1.2 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.1.1 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.1.0 lib/ndr_dev_support/capistrano/ruby_version.rb
ndr_dev_support-4.0.0 lib/ndr_dev_support/capistrano/ruby_version.rb