试图启动一个新的 rails 应用程序,如果不安装捆绑包,我无法启动服务器。我得到这个错误。我尝试了其他堆栈无济于事。提前感谢您的任何指导!
Using coffee-rails (3.1.1)
Using columnize (0.3.6)
Using country_select (0.0.2)
Using daemon_controller (1.0.0)
Using database_cleaner (0.7.2)
Using multipart-post (1.1.5)
Using databasedotcom (1.3.0)
Using debugger-ruby_core_source (1.1.2)
Installing debugger-linecache (1.1.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb:2:in `require': no such file to load -- debugger/ruby_core_source (LoadError)
from extconf.rb:2
Gem files will remain installed in /Users/jahrichie/.bundler/tmp/2264/gems/debugger-linecache-1.1.1 for inspection.
Results logged to /Users/jahrichie/.bundler/tmp/2264/gems/debugger-linecache-1.1.1/ext/trace_nums/gem_make.out
An error occured while installing debugger-linecache (1.1.1), and Bundler cannot continue.
Make sure that `gem install debugger-linecache -v '1.1.1'` succeeds before bundling.