Amateur Math Guy
Amateur Math Guy

Reputation: 199

Trouble installing nodejs gem

I'm having some trouble installing the nodejs gem. I believe my situation is similar to the question posted here, so I followed the instructions and added gem 'nodejs' to the gemfile, but I'm getting the error

Could not find gem 'nodejs (>= 0) ruby' in the gems available on this machine.

Does anyone know how to resolve this issue?

Upvotes: 2

Views: 17593

Answers (2)

Victor Pudeyev
Victor Pudeyev

Reputation: 4539

The gem is called node: gem install node

Upvotes: 3

Azolo
Azolo

Reputation: 4383

There is actually no nodejs gem in the RubyGems repository.

The error is just echoing that it can't find a gem with that name.

It's actually just an external binary, that as Blender mentioned, can be installed using the recommendations from nodejs.org.

Upvotes: 4

Related Questions