Mam aplikację RoR, która musi być hostowana na Apache, więc próbowałem zainstalować Apache Passenger. Kiedy uruchomić następującą komendę:Instalacja Pasażerów Apache, Ruby Development Headers Not Found
sudo passenger-install-apache2-module
uzyskać:
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
więc poprosił mnie, aby uruchomić następujące polecenie:
sudo apt-get install ruby1.8-dev
i zrobiłem to z następującym wynikiem
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.
Kiedy uruchamiam:
sudo passenger-install-apache2-module
uzyskać ten sam rezultat mnie z prośbą, aby uruchomić:
sudo apt-get install ruby1.8-dev
można spróbować nowszej wersji Ruby? Lub zainstalować z rvm? – simonmorley
Którą wersję pakietu Enterprise Ruby pobrałeś? Zakładam też, że używasz dystrybucji Debiana opartej na Debianie: Ubuntu? Mennica? Proszę wyjaśnić - spróbuję tego wszystkiego w wirtualnym. Używam systemu Ubuntu, Mint i Ubuntu - nigdy nie miałem żadnych problemów z instalacją pasażerów .... –