1
Я пытаюсь установить рельсы на Mac OS X (Yosemite). я получаю следующее сообщение об ошибке:Не удалось установить рельсы на Mac OS X (Yosemite)
Mohammads-iMac:~ mohammadriazi$ gem install rails --no-ri --no-rdoc
Building native extensions. This could take a while... ERROR: Error
installing rails: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
extconf.rb checking if the C compiler accepts ... yes checking if the
C compiler accepts
-Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using packaged libraries. checking for gzdopen() in
-lz... yes checking for iconv... yes
************************************************************************ IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxml2-2.9.2 with the
following patches applied:
- 0001-Revert-Missing-initialization-for-the-catalog-module.patch
- 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
[--with-xml2-config=/path/to/xml2-config]
[--with-xslt-config=/path/to/xslt-config]
If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install
Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
Я пытаюсь обновить драгоценный камень, но я все еще получаю ошибку. Я также установил домашний вал
Пожалуйста, помогите! Thanks
Возможно, вы захотите запланировать рубин до последней версии для yosemite. http://stackoverflow.com/questions/18549107/which-ruby-version-am-i-really-running может оказаться полезным –
Не устанавливайте Rails в систему Ruby. Оставьте установку Apple Ruby самостоятельно и вместо этого используйте rbenv или RVM или Homebrew для установки отдельного Ruby, который вы можете затем добавить к своему сердцу. –