
私はgitを通じて管理され、Jekyllで構築されたウェブサイトをUbuntu 14.04.2 LTSを実行しているサーバーに移行しています。 JekyllはRuby gemとしてインストールされていますが、残念ながらサーバーにはRubyがインストールされていません。
私のユーザーフォルダにRubyをインストールしてみました。 (私はsudoerではありません。)
./configure --prefix=$HOME/bin/ruby && make && make install
よくインストールされているようですが、警告があります。
skip installing bundle gems because of lacking zlib
Ruby実行可能ファイルを実行すると、次のエラーが発生します。
$./ruby system --upgrade
./ruby: No such file or directory -- system (LoadError)
$./tmp/ruby-2.2.3/bin/gem install jekyll
/usr/bin/env: ruby: Permission denied
$ ./bin/ruby/bin/gem install jekyll
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
zlibを見ましたが、ローカルにインストールし、Rubyがそれを指すように設定する方法を見つけることができませんでした。
rvmの試行中に、次のパッケージが見つからないことがわかりました。
libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
役に立つ建築経験がある人はいますか?