I've gone through hours of tutorials and * articles and still haven't found a solution.
我已经完成了数小时的教程和*文章,仍然没有找到解决方案。
Ruby is installed and it works fine.
Ruby已安装,工作正常。
I ran the command gem install rails
and it went through the gem installation process; I watched as my C:\ruby\lib\ruby\gems\2.4.0\gems
directory was updated with rails dependencies. The funny thing is I don't actually see a gem called rails? I only see rails-dom-testing-2.0.3
and rails-html-sanitizer-1.0.3
我运行了命令gem install rails,它经历了gem安装过程;我看到我的C:\ ruby \ lib \ ruby \ gems \ 2.4.0 \ gems目录已更新为rails依赖项。有趣的是我实际上并没有看到名为rails的宝石?我只看到rails-dom-testing-2.0.3和rails-html-sanitizer-1.0.3
I close the terminal and reopened and it doesn't recognize the rails
command at all.
我关闭终端并重新打开,它根本无法识别rails命令。
I checked that my PATH c:/ruby/bin
matched the executable directory listed in the command gem environment
.
我检查了我的PATH c:/ ruby / bin是否与命令gem环境中列出的可执行目录相匹配。
Still no dice.
仍然没有骰子。
Anyone have any suggestions?
有人有什么建议吗?
1 个解决方案
#1
0
The problem was with msys/mingw, I didn't have them installed so rails was failing to install.
问题出在msys / mingw上,我没有安装它们因此导轨无法安装。
#1
0
The problem was with msys/mingw, I didn't have them installed so rails was failing to install.
问题出在msys / mingw上,我没有安装它们因此导轨无法安装。