私はApacheでホストする必要があるRoRアプリケーションを持っていますので、Apache Passengerをインストールしようとしています。私は、次のコマンドを実行すると:Apache Passengerのインストール、Ruby開発ヘッダーが見つかりません
sudo passenger-install-apache2-module
を私が取得:
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* Curl development headers with SSL support... found
* OpenSSL development headers... found
* Zlib development headers... found
* Ruby development headers... not found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /usr/local/bin/rake
* rack... found
* Apache 2... found at /usr/sbin/apache2
* Apache 2 development headers... found at /usr/bin/apxs2
* Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
* Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config
だから、次のコマンドを実行するために私に尋ねた:
sudo apt-get install ruby1.8-dev
と、私は次の結果でこれを行っています
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby1.8-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
実行時:
sudo passenger-install-apache2-module
私は実行するために私を求めて同じ結果を得る:
sudo apt-get install ruby1.8-dev
あなたはルビーの新しいバージョンを試してみてもらえますか?またはrvmでインストールしますか? – simonmorley
どのバージョンのEnterprise Rubyをダウンロードしましたか?また、私はあなたがDebianベースのLinuxディストリビューションをいくつか使用していると仮定しています:Ubuntu?ミント?明らかにしてください - 私はすべて仮想でそれを試してみます。私はUbuntuとMintとUbuntuサーバーを実行しています - 乗客のインストールには何の問題もありませんでした。 –