E
E
Edward Ghore2015-07-16 19:52:10
Ruby on Rails
Edward Ghore, 2015-07-16 19:52:10

When creating a new application in RoR, the following error occurs. How to fix it?

I installed RoR on Windows and this error occurs when creating a new application. I used to install the environment in the same way, but there were no such problems (it may sound a little silly). I'm creating a new app using the 'rails new app_name ' construct. f44bb0ef67444fd4a992084522f24568.PNG
When using the 'gem install json -v ...' construct, another error occurs:bdba9d8dbd954d97b4bd09694173ba3a.PNG

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeny Tkachenko, 2015-07-17
@MrGhore

But it seems to me that the error says clearly that you need to specify the path to DevKit, when you installed Ruby, did you install DevKit?

Y
yueeucrl, 2015-07-16
@yueeucrl

install Nodejs

D
Dima, 2015-07-16
@MAXOPKA

This is one of the main problems when using Ruby on Windows.
It is solved by installing MinGW, and setting the path to the bin directory in the folder with MinGW installed to the PATH system variable.
Follow the first 2 steps from here , and then try to install this gem again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question