Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Using i18n (0.6.1)
Using multi_json (1.7.2)
Using activesupport (3.2.13)
Using builder (3.2.0)
Using colored (1.2)
Using diff-lcs (1.2.1)
Using json (1.7.7)
Using gherkin (2.11.6)
Using cucumber (1.2.3)
Installing dnssd (2.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/ramkishan/.rvm/rubies/ruby-1.9.2-p318/bin/ruby extconf.rb
checking for dns_sd.h... no
unable to find dnssd header
*** 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
--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=/home/ramkishan/.rvm/rubies/ruby-1.9.2-p318/bin/ruby
--with-warnings
--without-warnings
--with-dnssd-dir
--without-dnssd-dir
--with-dnssd-include
--without-dnssd-include=${dnssd-dir}/include
--with-dnssd-lib
--without-dnssd-lib=${dnssd-dir}/lib
Gem files will remain installed in /home/ramkishan/.rvm/gems/ruby-1.9.2-p318@andriod/gems/dnssd-2.0 for inspection.
Results logged to /home/ramkishan/.rvm/gems/ruby-1.9.2-p318@andriod/gems/dnssd-2.0/ext/dnssd/gem_make.out
An error occurred while installing dnssd (2.0), and Bundler cannot continue.
Make sure that `gem install dnssd -v '2.0'` succeeds before bundling.
我已经安装了 gem install dnssd -v '2.0' 但问题仍然存在。帮助我如何解决它。