我使用https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/requirements.md指定的命令在Mac上设置了Git服务器。在Mac上克隆Git
当我在浏览器中点击IP时,我也能够获得登录页面。其他人也能够访问我的服务器,但是当我克隆使用下面的命令:
git clone [email protected]:root/mobilesecurityproduct.git
Cloning into 'mobilesecurityproduct'...
我得到
env: ruby: No such file or directory
fatal: The remote end hung up unexpectedly
我检查了gitlab-shell
的ENV路径,并试图取代它下面的错误输出which ruby
,但我得到相同的错误。
任何人都可以帮我解决这个问题吗?
你确定你已经安装在机器上的红宝石,正确配置? – Abizern
这个shell大概是在'gitlab'用户下运行的。该用户是否可以访问ruby可执行文件? – Casper
这个克隆地址看起来破坏了。你确定这是正确的道路吗?这看起来像某种Windows路径。 – tadman