Sha256: 16349523c49f2f85d29f233c17da93c45bcb34535a5b61cc2b80ef63eb4562a4

Contents?: true

Size: 380 Bytes

Versions: 26

Compression:

Stored size: 380 Bytes

Contents

## nodenv.rb
#
# Adds capistrano/nodenv specific variables and tasks

namespace :load do
  task :defaults do

    # Set the node version using the .node-version file
    # Looks for the file in the project root
    set :nodenv_node, File.read('.node-version').strip if File.exist?('.node-version')

    # Set the path to rbenv
    set :nodenv_path, "/usr/local/nodenv"

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
negroku-2.3.4 lib/negroku/tasks/nodenv.rake
negroku-2.3.3 lib/negroku/tasks/nodenv.rake
negroku-2.3.2 lib/negroku/tasks/nodenv.rake
negroku-2.3.1 lib/negroku/tasks/nodenv.rake
negroku-2.3.0 lib/negroku/tasks/nodenv.rake
negroku-2.2.0 lib/negroku/tasks/nodenv.rake