在Debian Wheezy上安装git和gitlab

艾蒂安

我正在使用debian wheezy,并想在我的服务器上安装git&gitlab

我遵循这个指导老师https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md直到执行“安装gems”的步骤

sudo -u git -H bundle install --deployment --without development test postgres aws

我明白了

Fetching source index from https://rubygems.org/
Using rake (10.1.0)
Using i18n (0.6.9)
Using minitest (4.7.5)
Using multi_json (1.8.4)

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
        from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from extconf.rb:13:in `<main>'


Gem files will remain installed in /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/atomic-1.1.14 for inspection.
Results logged to /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/atomic-1.1.14/ext/gem_make.out
An error occurred while installing atomic (1.1.14), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.14'` succeeds before bundling.

当然,我尝试过

gem install atomic -v'1.1.14'

我用git用户和root用户那样尝试过

普通用户返回失败(无自举),但是git和root工作,即使在此之后,我也得到完全相同的错误消息

有人设法安装它吗?

或者在红宝石方面有一些经验,知道什么地方可能是错的

谢谢。

米卡·瓦列里
apt-get install ruby-dev

应该解决它:)。我刚做完

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在Debian Wheezy上安装GitLab要求initctl失败

来自分类Dev

在Debian Wheezy上安装Chromium

来自分类Dev

如何在Debian Wheezy上安装git 1.8或更高版本

来自分类Dev

如何在Debian Wheezy上安装gitosis?

来自分类Dev

如何在Debian Wheezy上安装gitosis?

来自分类Dev

在VMWare Fusion上安装Debian 7(Wheezy)

来自分类Dev

在Debian Wheezy上安装Config :: Pit

来自分类Dev

如何在Debian Wheezy Docker映像上安装pgrep / pkill

来自分类Dev

如何在Debian Wheezy上安装真正的Thunderbird?

来自分类Dev

在Debian Wheezy上安装Skype [amd64]

来自分类Dev

在Debian Wheezy上安装mysql-server 5.6

来自分类Dev

Debian Wheezy Pam和Samba

来自分类Dev

在Debian上安装Unity

来自分类Dev

在debian上安装powernap?

来自分类Dev

在Debian上安装Steam

来自分类Dev

在Debian上安装dig

来自分类Dev

在Debian上安装Unity

来自分类Dev

在Debian上安装wifi

来自分类Dev

在Debian上安装xvfb

来自分类Dev

在Debian上安装mysql

来自分类Dev

在Debian Wheezy中安装python pip

来自分类Dev

在Debian上安装和卸载gnome

来自分类Dev

在debian上安装/配置和运行sshguard

来自分类Dev

How to install git 1.8 or above on Debian Wheezy

来自分类Dev

在Debian Wheezy上安装铬浏览器取决于:铬(> = 10)但不可安装

来自分类Dev

在Debian Wheezy上使用Brackets Sprint 40

来自分类Dev

dpkg覆盖Debian Wheezy上的错误

来自分类Dev

Debian双启动。Wheezy和Jessy

来自分类Dev

Debian Wheezy,ejabberd和转发保密