问题描述
我是新来的红宝石。我尝试按照网站中给出的步骤在我的电脑上安装GEM。
我从提及站点下载了软件包,并将目录更改为安装程序所在的目录,并尝试使用该命令运行安装程序,
setup.rb在命令提示符下。
但是我弹出一个窗口显示Windows无法打开此文件和提示我选择一个程序来打开这个文件。
现在我该怎么做?让我知道,如果我做错了什么。
我建议您只使用
官方Ruby页面推荐 - 请参阅
I'm new to ruby. I tried to install GEM on my PC by following the steps given in the site http://rubygems.org/pages/download .
I downloaded the package from the mention site and changed the directory to the directory in which the setup resides and tried to run setup using the command,
setup.rb in command prompt.
but I get a window pop up that says "Windows can't open this file" and prompts me to select a program to open this file.
What should I do now? Let me know, if I do something wrong..
I recommend you just use rubyinstaller
It is recommended by the official Ruby page - see https://www.ruby-lang.org/en/downloads/
这篇关于在Windows中安装Ruby Gem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!