0
我试图建立在轨道上的环境红宝石运行一个网站的应用程序(时钟吧) unfortunely因为我是那种新手的东西很多的脚麻:P无法安装乘客
这是我得到当我运行/var/lib/gems/1.8/gems/passenger-3.0.2/bin# ./passenger-install-apache2-module
> * 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... found *
> OpenSSL support for Ruby... found *
> RubyGems... found * Rake... found at
> /usr/bin/rake * rack... not 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
行,所以我只是想念架,所以我这样做:
gem install rack --source http://chneukirchen.org/releases/gems/
Successfully installed rack-1.2.1
1 gem installed
Installing ri documentation for rack-1.2.1...
Installing RDoc documentation for rack-1.2.1...
e veryhting看起来不错,但我仍然有同样的问题 机架仍然没有被乘客找到,我该如何解决?
其他事情我不明白如何更新宝石?
# gem update --system
ERROR: While executing gem ... (RuntimeError)
gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.
任何帮助,欢迎!
我会跟随你的操作方法,但首先我需要删除与资质安装的软件包,你在这个名单我需要删除哪些了解?这是所有的东西我apt-get的,因为我尝试安装红宝石......
> aptitude install git-core
> aptitude install libssl-dev zlib1g-dev build-essential
> mysql-server mysql-client
> libmysql-ruby libmysqlclient-dev
> imagemagick libmagick9-dev
> librmagick-ruby librmagick-ruby1.8
> libxslt1-dev
> aptitude install rubygems
> aptitude install ruby1.8-dev
> aptitude install rubygems1.9
> aptitude install rake
> aptitude install rubygems
> aptitude install ruby libzlib-ruby rdoc irb
> aptitude install rubygems1.9
> aptitude install libyaml-ruby
> aptitude install libzlib-ruby
> aptitude install libcurl4-openssl-dev
> aptitude install libopenssl-ruby
> aptitude install apache2-prefork-dev
> aptitude install libapr1-dev
> aptitude install ibaprutil1-dev
感谢,似乎我的所有问题都来自于...但我不知道该怎么做才能解决这个问题,我使用aptitude删除了rubygems,并且计划从源代码安装它: http://rubyforge.org/frs/?group_id=126 ...会这样做吗?或者我应该删除红宝石? ruby -v - > ruby 1.6.8 ...我需要RVM吗? – krifur 2011-02-01 14:34:18