cloudfoundry 上部署 rails3.2 应用报错?需要 python. 可是在 cloudfoundry 怎么安装 python 呢?
错误信息如下: Staging Application 'zhekoujie': ........Error 310: Staging failed: 'Staging plugin failed staging application: ERROR: Error installing /var/vcap/data/stager/tmp/d20120420-3834-kaxz1z/libv8-3.3.10.4.gem: ERROR: Failed to build gem native extension.
/var/vcap/data/packages/dea_ruby18/6.1/bin/ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/var/vcap/data/packages/dea_ruby18/6.1/bin/ruby extconf.rb:13: uninitialized constant Gem (NameError) Checking for Python...
Gem files will remain installed in /var/vcap/data/stager/tmp/d20120420-3834-kaxz1z/gem_install_dir/gems/libv8-3.3.10.4 for inspection.
Results logged to /var/vcap/data/stager/tmp/d20120420-3834-kaxz1z/gem_install_dir/gems/libv8-3.3.10.4/ext/libv8/gem_make.out
/var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/gemfile_task.rb:143:in block (2 levels) in install_gems': Failed installing libv8-3.3.10.4.gem (RuntimeError)
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/gemfile_task.rb:137:in
each'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/gemfile_task.rb:137:in block in install_gems'
from /var/vcap/data/packages/ruby/5.1/lib/ruby/1.9.1/tmpdir.rb:83:in
mktmpdir'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/gemfile_task.rb:131:in install_gems'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/gemfile_task.rb:47:in
install'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/gemfile_support.rb:35:in compile_gems'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/rails3/plugin.rb:54:in
block in stage_application'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/rails3/plugin.rb:50:in chdir'
from /var/vcap/packages/stager/stager/vendor/bundle/ruby/1.9.1/gems/vcap_staging-0.1.50/lib/vcap/staging/plugin/rails3/plugin.rb:50:in
stage_application'
from /var/vcap/packages/stager/stager/bin/run_plugin:19:in `