I set the Git server on the Mac using the commands I decided.
When I press the IP in the browser, I can also get the login page. Others are also able to use my server, but when I clone using the command:
git clone gitlab@My.IP.Address.D: root / mobilesecurityproduct. Clone in git 'mobilesecurityproduct' .. I get the following error
env: ruby: such a file or directory is not fatal: remote end hangs unexpectedly I checked the gitlab-shell for the env path and tried to replace it with the output of that is the Ruby , but I get the same error Meets. Can anyone help me with this?
OK, because you said that you use RVM, I believe to establish Ruby I am setting it up in a standard way, which means that you set it up for personal use only under your own home directory.
The gitlab user will not have access to your home directory and hence it is executable from Ruby.
You have to install Ruby system-wide.
In fact this is the step 2 in the installation instructions:
mkdir / tmp / ruby & amp; Amp; CD / TMP / Ruby Curl - Progress http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz | Tar xz cd ruby-1.9.3-p392. To configure / sudo sudo gem install bundler --no-ri --no-rdoc install The following instructions should be corrected. / P>
Edit As Tedman showed a less intrusive way to establish the ruby system wide on the Mac:
No comments:
Post a Comment