我正在使用 ec2 和 Rubber 进行部署,而不是 debugger-linecache 失败,因为我说我正在使用带有橡胶的 cap 以便于使用 ec2 部署现在这是他给我的输入:
* executing "cd /mnt/feelike-app-staging/releases/20130304122452 && bundle install --gemfile /mnt/feelike-app-staging/releases/20130304122452/Gemfile --path /mnt/feelike-app-staging/shared/bundle --deployment --quiet --without development test"
servers: ["feelike-app.feelike-app-dev.tk"]
[feelike-app.feelike-app-dev.tk] executing command
** [out :: feelike-app.feelike-app-dev.tk] Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
** [out :: feelike-app.feelike-app-dev.tk]
** [out :: feelike-app.feelike-app-dev.tk] /usr/local/rubies/1.9.3-p392/bin/ruby extconf.rb
** [out :: feelike-app.feelike-app-dev.tk] checking for vm_core.h... no
** [out :: feelike-app.feelike-app-dev.tk] checking for vm_core.h... no
** [out :: feelike-app.feelike-app-dev.tk] Makefile creation failed
** [out :: feelike-app.feelike-app-dev.tk] **************************************************************************
** [out :: feelike-app.feelike-app-dev.tk] No source for ruby-1.9.3-p392 provided with debugger-ruby_core_source gem.
** [out :: feelike-app.feelike-app-dev.tk] **************************************************************************
** [out :: feelike-app.feelike-app-dev.tk] *** extconf.rb failed ***
** [out :: feelike-app.feelike-app-dev.tk] Could not create Makefile due to some reason, probably lack of
** [out :: feelike-app.feelike-app-dev.tk] necessary libraries and/or headers. Check the mkmf.log file for more
** [out :: feelike-app.feelike-app-dev.tk] details. You may need configuration options.
** [out :: feelike-app.feelike-app-dev.tk]
** [out :: feelike-app.feelike-app-dev.tk] Provided configuration options:
** [out :: feelike-app.feelike-app-dev.tk] --with-opt-dir
** [out :: feelike-app.feelike-app-dev.tk] --without-opt-dir
** [out :: feelike-app.feelike-app-dev.tk] --with-opt-include
** [out :: feelike-app.feelike-app-dev.tk] --without-opt-include=${opt-dir}/include
** [out :: feelike-app.feelike-app-dev.tk] --with-opt-lib
** [out :: feelike-app.feelike-app-dev.tk] --without-opt-lib=${opt-dir}/lib
** [out :: feelike-app.feelike-app-dev.tk] --with-make-prog
** [out :: feelike-app.feelike-app-dev.tk] --without-make-prog
** [out :: feelike-app.feelike-app-dev.tk] --srcdir=.
** [out :: feelike-app.feelike-app-dev.tk] --curdir
** [out :: feelike-app.feelike-app-dev.tk] --ruby=/usr/local/rubies/1.9.3-p392/bin/ruby
** [out :: feelike-app.feelike-app-dev.tk] --with-ruby-dir
** [out :: feelike-app.feelike-app-dev.tk] --without-ruby-dir
** [out :: feelike-app.feelike-app-dev.tk] --with-ruby-include
** [out :: feelike-app.feelike-app-dev.tk] --without-ruby-include=${ruby-dir}/include
** [out :: feelike-app.feelike-app-dev.tk] --with-ruby-lib
** [out :: feelike-app.feelike-app-dev.tk] --without-ruby-lib=${ruby-dir}/lib
** [out :: feelike-app.feelike-app-dev.tk]
** [out :: feelike-app.feelike-app-dev.tk]
** [out :: feelike-app.feelike-app-dev.tk] Gem files will remain installed in /mnt/feelike-app-staging/shared/bundle/ruby/1.9.1/gems/debugger-linecache-1.1.2 for inspection.
** [out :: feelike-app.feelike-app-dev.tk] Results logged to /mnt/feelike-app-staging/shared/bundle/ruby/1.9.1/gems/debugger-linecache-1.1.2/ext/trace_nums/gem_make.out
** [out :: feelike-app.feelike-app-dev.tk] An error occurred while installing debugger-linecache (1.1.2), and Bundler
** [out :: feelike-app.feelike-app-dev.tk] cannot continue.
** [out :: feelike-app.feelike-app-dev.tk] Make sure that `gem install debugger-linecache -v '1.1.2'` succeeds before
** [out :: feelike-app.feelike-app-dev.tk] bundling.
** [out :: feelike-app.feelike-app-dev.tk]
command finished in 64109ms
failed: "/bin/bash -l -c 'cd /mnt/feelike-app-staging/releases/20130304122452 && bundle install --gemfile /mnt/feelike-app-staging/releases/20130304122452/Gemfile --path /mnt/feelike-app-staging/shared/bundle --deployment --quiet --without development test'" on feelike-app.feelike-app-dev.tk
现在我已经安装在“gem install debugger-linecache -v '1.1.2'”并且仍然失败不知道该怎么做......