当我运行>捆绑安装时
`An error occurred while installing nokogiri (1.6.2.1), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.2.1'` succeeds before bundling.
好的,所以我运行> sudo gem install nokogiri -v'1.6.2.1'
我有这个 :
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.2.1 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.2.1/ext/nokogiri/gem_make.out
当我运行命令时:rails g controller ...
Could not find gem 'rspec-rails (= 2.13.1) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
请帮我!
可能的重复项:
问题可能是您必须本地安装Nokogiri依赖的libxml和libxslt。
如果您运行gem install nokogiri -v '1.6.2.1' | grep libxml
,是否有显示?
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句