0

我正在尝试按照https://github.com/CiTroNaK/Installation-guide-for-GitLab-on-OS-X的说明在 OSX 服务器上安装 Gitlab

我是 ruby​​ 新手,所以如果我犯了初学者的错误,我会发火……但我最终在 /usr/local/var/rbenv/versions/1.9.3-p448 中都安装了完整的 Ruby 为 ~/.rbenv/versions /1.9.3-p448

我可以删除两者之一吗?我资源不足。

此外...我的 bundle 命令仍然使用 OSX 提供的 Ruby:

macserver:~ admin$ ls -l `which ruby`
-rwxr-xr-x  8 admin  staff  410 Sep 30 18:47 /usr/local/var/rbenv/shims/ruby*

macserver:~ admin$ ls -l `which bundle`
-rwxr-xr-x  1 admin  admin  419 Sep 18 18:05 /Applications/Server.app/Contents/ServerRoot/usr/bin/bundle*

macserver:~ admin$ bundle --version
/Applications/Server.app/Contents/ServerRoot/usr/lib/ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [] (Gem::LoadError)
from /Applications/Server.app/Contents/ServerRoot/usr/lib/ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
from /Applications/Server.app/Contents/ServerRoot/usr/lib/ruby/1.8/rubygems.rb:1208:in `gem'
from /Applications/Server.app/Contents/ServerRoot/usr/bin/bundle:18

我哪里做错了?

4

0 回答 0