nodejs is not a gem. Try installing from here
https://nodejs.org/en/download/stable/ On Mon, Apr 25, 2016 at 11:24 AM, ishant kumar <[email protected]> wrote: > my operating system is: windows 7 and my rails version is: 4.2.5.1 and > ruby is: ruby 2.1.8p440 (2015-12-16 revision 53160) [i386-mingw32] > whenever i installed nodejs on system this error shows: > > D:\rubyproject>gem install nodejs > ERROR: Could not find a valid gem 'nodejs' (>= 0) in any repository > ERROR: Possible alternatives: nodes, noderb, modeljs, models, node > what do i do ? > please help me > > On Monday, December 14, 2015 at 1:47:09 PM UTC+5:30, Fu Qiang Zhang wrote: >> >> I am new to rails. >> >> >> After I setup *env :* >> >> <https://lh3.googleusercontent.com/-dHZwTLXY3yE/Vm5xFtHp13I/AAAAAAAAB7s/PhmgkuumaE4/s1600/2015-12-14_153429.png> >> 1. created first project with command *rails new firstrail* >> 2. Enter demo directory >> 3. run command *rails server* >> >> Here, I got the *error* *:* >> >> >> <https://lh3.googleusercontent.com/-x_gudNvq7Qc/Vm5yAfZHTlI/AAAAAAAAB74/_J9_BzRtjU8/s1600/2015-12-14_153756.png> >> uglifier 2.7.2 was installed. I don't know how to fix this error. >> Does any know how to fix this ? >> *Please* help me out, thank you ! >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/8af6fb81-d84e-4544-8f47-707c540532e1%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/8af6fb81-d84e-4544-8f47-707c540532e1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BS_iCt3AahWKfyTCW6eBW%3DyEfLE%2BncurZ-FY6q_z%2BEcVuqCHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

