Skip to content
This repository
Browse code

Install npm via the package manager on non-OS X systems.

  • Loading branch information...
commit 0995ab31737da0f7465533dc08fd07ebf1f126e1 1 parent 1284826
Ben Hoskings authored

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. +11 0 deps/pkg_managers.rb
11 deps/pkg_managers.rb
@@ -19,6 +19,13 @@
19 19 end
20 20
21 21 dep 'npm' do
  22 + requires {
  23 + on :osx, 'npm.src'
  24 + otherwise 'npm.bin'
  25 + }
  26 +end
  27 +
  28 +dep 'npm.src' do
22 29 requires 'nodejs.bin'
23 30 met? { which 'npm' }
24 31 meet {
@@ -26,6 +33,10 @@
26 33 }
27 34 end
28 35
  36 +dep 'npm.bin' do
  37 + provides 'npm >= 1.1'
  38 +end
  39 +
29 40 dep 'pip' do
30 41 requires {
31 42 on :osx, 'pip.src'

0 comments on commit 0995ab3

Please sign in to comment.
Something went wrong with that request. Please try again.