Sha256: bbd9db80b3665ffacd3117713e4684c7db78d48815c5e24a66a1faf4a9c305fe

Contents?: true

Size: 309 Bytes

Versions: 12

Compression:

Stored size: 309 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')

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
negroku-2.1.0 lib/negroku/tasks/nodenv.rake
negroku-2.0.3 lib/negroku/tasks/nodenv.rake
negroku-2.0.2 lib/negroku/tasks/nodenv.rake
negroku-2.0.1 lib/negroku/tasks/nodenv.rake
negroku-2.0.0 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre7 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre6 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre5 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre4 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre3 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre2 lib/negroku/tasks/nodenv.rake
negroku-2.0.0.pre1 lib/negroku/tasks/nodenv.rake