[英]How would I run the “start” command on Mac?
I'm following this guide on fixing a RubyGems SSL issue. 我正在按照本指南修复RubyGems SSL问题。 I'm stuck on step 2, where they use the
start
command. 我被困在第2步,在那里他们使用
start
命令。 Mac doesn't have this, so according to this discussion I used open
instead. Mac没有此功能,因此根据此讨论,我改用
open
。 This opened up code in Xcode, but the tutorial seemed to imply it would open a file browser to get to the ssl_certs directory. 这在Xcode中打开了代码,但是该教程似乎暗示它将打开文件浏览器以到达ssl_certs目录。 Is
open
not equivalent to start
and if so what should I use? open
不等于start
,如果是,我应该使用什么? Or is using open correct and I'm doing something else wrong? 还是使用open正确并且我做错了其他事情?
What I typed: Alexs-MBP:~ alextyshka$ open .rbenv/versions/2.2.0/lib/ruby/site_ruby/2.2.0/rubygems.rb
我输入的内容:
Alexs-MBP:~ alextyshka$ open .rbenv/versions/2.2.0/lib/ruby/site_ruby/2.2.0/rubygems.rb
The aforementioned tutorial explicitly states: 上述教程明确指出:
Now, let's locate that directory.
现在,让我们找到该目录。 From within the same window, enter the path part up to the file extension...
在同一窗口内,输入文件扩展名之前的路径部分。
which would be: 可能是:
open .rbenv/versions/2.2.0/lib/ruby/site_ruby/2.2.0/rubygems
Windows vs Mac . Windows与Mac 。 Both
start <folder-path>
and open <folder-path>
opens the specified folder using Windows Explorer or macOS Finder, respectively. start <folder-path>
和open <folder-path>
分别使用Windows资源管理器或macOS Finder打开指定的文件夹。 But keep in mind that these commands aren't completely identical otherwise. 但是请记住,这些命令在其他方面并不完全相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.