安装rails时出错 [英] Error during rails install

查看:85
本文介绍了安装rails时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  Saads-Mac-Pro:〜SMD $ gem install rails 
构建原生扩展。这可能需要一段时间...
/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/exte/builder.rb:54:警告:PATH中不安全的可写dir / usr,模式040777
错误:安装rails出错:
错误:无法构建gem原生扩展。

/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb
*** extconf.rb失败***
由于某种原因无法创建Makefile,可能缺少必要的
库和/或头文件。检查mkmf.log文件以获取更多详细信息。您可能
需要配置选项。

提供的配置选项:
--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 = / Users / SMD / .rvm / rubies / ruby​​-2.0.0 -p247 / bin / ruby​​
--with-atomic_reference-dir
--without-atomic_reference-dir
--with-atomic_reference -include
--without-atomic_reference-include = $ {atomic_reference-dir} / include
--with-atomic_reference-lib
--without-atomic_reference-lib = $ {atomic_reference-dir} /
/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/mkmf .rb:434:在`try_do'中:编译器无法生成可执行文件。 (RuntimeError)
您必须先安装开发工具。来自/ Users / SMD的/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/mkmf.rb:519:in`try_link0'
中的
/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/mkmf.rb:817:in`try_run'
from extconf.rb:24:in< main>'


Gem文件将保留安装在/Users/SMD/.rvm/gems/ruby-2.0.0-p247/gems/atomic-1.1.13中进行检查。
结果记录到/Users/SMD/.rvm/gems/ruby-2.0.0-p247/gems/atomic-1.1.13/ext/gem_make.out

当我运行这个命令时,这是输出 gem install rails 。我究竟做错了什么?
在此先感谢

编辑:

c $ c> gem env :

  Saads-Mac-Pro:〜SMD $ gem env 
RubyGems环境:
- RUBYGEMS VERSION:2.0.7
- RUBY VERSION:2.0.0(2013-06-27 patchlevel 247)[x86_64-darwin12.3.0]
- INSTALLATION DIRECTORY:/Users/SMD/.rvm/gems/ruby-2.0.0-p247
- RUBY EXECUTABLE:/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
- EXECUTABLE DIRECTORY:/Users/SMD/.rvm/gems/ruby-2.0.0-p247/bin
- RUBYGEMS平台:
- ruby​​
- x86_64-darwin-12
- 创业板路径:
- /Users/SMD/.rvm/gems/ruby-2.0.0-p247
- /Users/SMD/.rvm/gems/ruby-2.0.0- p247 @ global
- 创业板配置:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- 远程来源:
- https://rubygems.org/


解决方案

接下来的各种文章后,我想到了它。



请按照步骤操作。

$ rvm get head



$ rvm --force 2.0。 0



$ gem update



$ gem install rails



顺利通过。

以下是输出:

  Saads-Mac-Pro:〜SMD $ gem install rails 

构建本地扩展。这可能需要一段时间...

/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder。 rb:54:警告:PATH中不安全的可写dir / usr,模式040777
成功安装atomic-1.1.13
提取:thread_safe-0.1.2.gem(100%)
成功已安装thread_safe-0.1.2
获取:activesupport-4.0.0.gem(100%)
已成功安装activesupport-4.0.0
获取:builder-3.1.4.gem(100% )
成功安装的构建器 - 3.1.4
获取:rack-1.5.2.gem(100%)
成功安装的机架-1.5.2
提取:rack-test- 0.6.2.gem(100%)
成功安装rack-test-0.6.2
提取:erubis-2.7.0.gem(100%)
成功安装erubis-2.7.0
提取:actionpack-4.0.0.gem(100%)
成功安装actionpack-4.0.0
提取:activemodel-4.0.0.gem(100%)
成功安装activemodel-4.0.0
获取:arel-4.0.0.gem(100%)
成功安装了arel-4.0.0
提取:activerecord-deprecated_finders-1.0.3.gem(100%)
成功安装activerecord-deprecated_finders-1.0.3
提取:activerecord-4.0.0.gem(100%)
成功安装了activerecord-4.0.0
获取:mime-types-1.24.gem(100%)
成功安装了mime-types-1.24
获取:polyglot-0.3.3.gem(100 %)
成功安装了polyglot-0.3.3
提取:treetop-1.4.15.gem(100%)
成功安装了树顶1.4.15
提取:mail-2.5 .4.gem(100%)
成功安装邮件-2.5.4
提取:actionmailer-4.0.0.gem(100%)
成功安装actionmailer-4.0.0
提取:thor-0.18.1.gem(100%)
成功安装thor-0.18.1
提取:railties-4.0.0.gem(100%)
成功安装railties- 4.0.0
提取:hike-1.2.3.gem(100%)
成功安装hike-1.2.3
提取:tilt-1.4.1.gem(100%)
成功安装tilt-1.4.1
提取:sprockets-2.10.0.gem(100%)
成功安装的链轮-2.10.0
获取:sprockets-rails-2.0.0.gem(100%)
成功安装的链轮 - 导轨-2.0.0
获取:rails-4.0 .0.gem(100%)
成功安装rails-4.0.0
解析atomic-1.1.13的文档
无法将\xCF从ASCII-8BIT转换为UTF- 8 for lib / atomic_reference.bundle,跳过
为atomic-1.1.13安装ri文档
解析thread_safe-0.1.2的文档
为thread_safe-0.1.2安装ri文档
解析activesupport-4.0.0的文档
无法将lib \\ active_support / values / unicode_tables.dat中的\x80从ASCII-8BIT转换为UTF-8,跳过
安装ri文档以获得有效支持-4.0.0
为builder-3.1.4解析文档
/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rdoc/parser。 rb:87:警告:不支持的编码:忽略
/Users/SMD/.rvm/rubies-2.0.0-p247/lib/ruby/2.0.0/rdoc/parser.rb:87:warning:联合国支持编码被忽略
为builder-3.1.4安装ri文档
为rack-1.5.2解析文档
为rack-1.5.2安装ri文档
解析rack- test-0.6.2
为rack-test-0.6.2安装ri文档
为erubis-2.7.0解析文档
为erubis-2.7.0安装ri文档
解析文档actionpack-4.0.0
安装ri文档为actionpack-4.0.0
解析文档为activemodel-4.0.0
安装ri文档为activemodel-4.0.0
解析arel-4.0.0的文档
为arel-4.0.0安装ri文档
解析activerecord-deprecated_finders-1.0.3的文档
安装ri文档以获取activerecord-deprecated_finders-1.0.3
为activerecord-4.0.0解析文档
为activerecord-4.0.0安装ri文档
为mime-types-1.24解析文档
安装用于模仿的ri文档pes-1.24
为polyglot-0.3.3解析文档
为polyglot-0.3.3安装ri文档
为treetop-1.4.15解析文档
为treetop- 1.4.15
解析邮件文档-2.5.4
无法将lib \\ mail / values / unicode_tables.dat中的\x80从ASCII-8BIT转换为UTF-8,跳过
为邮件安装ri文档-2.5.4
为actionmailer-4.0.0解析文档
为actionmailer-4.0.0安装ri文档
解析thor-0.18.1的文档
为thor-0.18.1安装ri文档
为railties-4.0.0解析文档
为railties-4.0.0安装ri文档
为hike-1.2.3解析文档
为hike-1.2.3安装ri文档
为tilt-1.4.1解析文档
为tilt-1.4.1安装ri文档
解析链轮文档 - 2.10.0
为链轮安装ri文档 - 2.10.0
解析文档sprocket-rails-2.0.0
安装ri文档for sprockets-rails-2.0.0
为rails-4.0.0解析文档
无法将ASCII码\ x89转换为ASCII -8BIT UTF-8的指南/资产/图像/ belongs_to.png,跳过
无法转换\xF4从ASCII-8BIT到UTF-8的指南/资产/图像/ book_icon.gif,跳过
无法将\x91从ASCII-8BIT转换为UTF-8的指南/ assets / images / bullet.gif,跳过
无法将\xF5从ASCII-8BIT转换为UTF -8 for guides / assets / images / chapters_icon.gif,跳过
无法将ASCII \\ 8BIT的\xF5转换为指南/ assets / images / check_bullet.gif的UTF-8,跳过
无法将\xF4从ASCII-8BIT转换为UTF-8的指南/ assets / images / credits_pic_blank.gif,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8 /assets/images/csrf.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的参考资料/ assets / images / edge_ba dge.png,跳过
无法将\x9E从ASCII-8BIT转换为UTF-8中的guides / assets / images / favicon.ico,跳过
无法将\x80从对于guides / assets / images / feature_tile.gif,将ASCII-8BIT转换为UTF-8,跳过
无法将\x80从ASCII-8BIT转换为UTF-8。跳过
无法将ASCII-8BIT中的\ x89转换为UTF-8中的指南/ assets / images / fxn.png,跳过
无法将ASCII-8BIT中的\ x89转换为UTF-8 for guides / assets / images / getting_started / challenge.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的guides / assets / images / getting_started / confirm_dialog.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / getting_started / forbidden_​​attributes_for_new_post.png,跳过
无法将ASCII码转换为\ x89 8BIT到UTF-8的指南/资产/图像/ getting_started / form_with_errors.png,跳过
不能o将ASCII-8BIT的\ x89转换为指南/ assets / images / getting_started / index_action_with_edit_link.png的UTF-8,跳过
无法将ASCII码8BIT转换为UTF-8的\x89 guides / assets / images / getting_started / new_post.png,跳过
无法将ASCII码为\ x89的转换为UTF-8作为指南/资产/ images / getting_started / post_with_comments.png,跳过
无法将指令/ assets / images / getting_started / rails_welcome.png中的\x89从ASCII-8BIT转换为UTF-8,跳过
无法将\ x89从ASCII-8BIT转换为UTF- 8 for guides / assets / images / getting_started / routing_error_no_controller.png,跳过
无法从ASCII-8BIT将\x89转换为UTF-8的参考资料/ assets / images / getting_started / routing_error_no_route_matches.png,跳过
无法将指南/ assets / images / getting_started / show_action_for_posts.png中的\x89从ASCII-8BIT转换为UTF-8,跳过
无法将ASCII \\ 8BIT中的\ x89转换为UTF -8的指南/资产/图像/ getting_started / template_is_missing_posts_new.png,跳过
无法转换\x89从ASCII-8BIT到UTF-8的指南/资产/图像/ getting_started / undefined_method_post_path.png,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / getting_started / unknown_action_create_for_posts.png,跳过
无法将ASCII码转换为\ x89 UTF-8的指南/资产/图像/ getting_started / unknown_action_new_for_posts.png,跳过
无法将ASCII \\ 8BIT的\xF0转换为指南/资产/图像/ grey_bullet.gif的UTF-8,跳过
无法将\x89从ASCII-8BIT转换为UTF-8,作为guides / assets / images / habtm.png,跳过
无法将\x89从ASCII-8BIT转换为UTF -8为guides / assets / images / has_many.png,跳过
无法将ASCII码为\ x89的转换为UTF-8作为指南/资产/图像/ has_many_through.png,跳过
无法转换\x89对于guides / assets / images / has_one_through.png,跳过
的ASCII-8BIT到UTF-8,无法将\ x89从ASCII-8BIT转换为UTF-8,跳过
无法将ASCII-8BIT中的\ x89转换为UTF-8中的guides / assets / images / header_backdrop.png,跳过
无法将ASCII-8BIT中的\x80转换为UTF-8 for guides / assets / images / header_tile.gif,跳过
无法将ASCII码为\ x89的转换为UTF-8作为指南/资产/ images / i18n / demo_html_safe.png,跳过
无法将指令/资产/图像/ i18n / demo_localized_pirate.png中的\x89从ASCII-8BIT转换为UTF-8,跳过
无法将\ x89从ASCII-8BIT转换为针对指南/资产/图像/ i18n / demo_translated_en.png的UTF-8,跳过
无法将指南/资产/图像/ i18n / demo_translated_pirate.png中的\x89从ASCII-8BIT转换为UTF-跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的指南/资产/图像/ i18n / demo_t ranslation_missing.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / i18n / demo_untranslated.png,跳过
无法将\ x89 对于指南/资产/图像/图标/标注/ 1.png,从ASCII-8BIT到UTF-8,跳过
无法将\x89从ASCII-8BIT转换为UTF-8, images / icons / callouts / 10.png,跳过
无法将指令/资产/图像/图标/标注/ 11.png中的\x89从ASCII-8BIT转换为UTF-8,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/资产/图像/图标/标注/ 12.png,跳过
无法将\ x89从ASCII-8BIT转换为指南/资产/图像/图标/标注/ 13.png的UTF-8,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/资产/图像/图标/标注/ 14.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / icons / callouts / 15.png,跳过
无法将\ x89 \\ x89从ASCII-8BIT转换为UTF-8获取指南/资产/图像/图标/标注/ 2.png,跳过
无法将\x89从ASCII-8BIT转换为UTF- assets / images / icons / callouts / 3.png,跳过
无法将指令/资产/图像/图标/标注/ 4.png中的\x89从ASCII-8BIT转换为UTF-8,跳过
无法将指令/资产/图像/图标/标注/ 5.png中的\x89从ASCII-8BIT转换为UTF-8,跳过
无法将\ x89从ASCII- 8BIT UTF-8的指南/资产/图像/图标/标注/ 6.png,跳过
无法转换为\x89从ASCII-8BIT到UTF-8的指南/资产/图像/ callouts / 7.png,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/资产/图像/图标/标注/ 8.png,跳过
无法转换对于指南/资产/图像/图标/标注/ 9.png,从ASCII-8BIT到UTF-8的\x89跳过
无法将\x89从ASCII-8BIT转换为UTF-8导游/资产/图像/图标/慎用。 png,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / icons / example.png,跳过
无法将\ x89从对于指南/资产/图像/图标/ home.png,跳过
的ASCII-8BIT转换为UTF-8,无法将\x89从ASCII-8BIT转换为UTF- important.png,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / icons / next.png,跳过
无法将\ x89 对于指南/资产/图像/图标/ note.png,从ASCII-8BIT到UTF-8,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8的指南/资产/图像/ icons / prev.png,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / icons / tip.png,跳过
无法将\ x89对于指南/资产/图像/图标/ up.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF-8,从ASCII-8BIT转换为UTF-图片/图标/ warning.pn g,跳过
无法将ASCII \\ 8BIT中的\ 0xFF转换为UTF-8中的guides / assets / images / jaimeiniesta.jpg,跳过
无法将\xF5从ASCII- 8BIT转UTF-8 for guides / assets / images / nav_arrow.gif,跳过
无法将ASCII \\ 8BIT中的\ 0xFF转换为UTF-8中的guides / assets / images / oscardelben.jpg,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / polymorphic.png,跳过
无法将\ x89从ASCII-8BIT转换为UTF- 8 for guides / assets / images / radar.png,跳过
无法将ASCII码8BIT的\x89转换为UTF-8的指南/ assets / images / rails4_features.png,跳过
无法将指令/ assets / images / rails_guides_kindle_cover.jpg的\ xFF从ASCII-8BIT转换为UTF-8,跳过
无法将ASCII \\ 8BIT的\ 0xEC转换为UTF- assets / images / rails_guides_logo.gif,跳过
无法将\x8C从ASCII-8BIT转换为UTF-8作为指南/资产/图片s / rails_logo_remix.gif,跳过
无法将ASCII \\ 8BIT中的\ x89转换为UTF-8中的guides / assets / images / session_fixation.png,跳过
无法将\x80 对于guides / assets / images / tab_grey.gif,从ASCII-8BIT到UTF-8,跳过
无法将\x80从ASCII-8BIT转换为UTF-8。 gif,跳过
无法从ASCII-8BIT将\x80转换为UTF-8的指南/ assets / images / tab_note.gif,跳过
无法将ASCII码转换为\ x80 8BIT到UTF-8的指南/资产/图像/ tab_red.gif,跳过
无法将\x80从ASCII-8BIT转换为UTF-8的指南/资产/图像/ tab_yellow.gif,跳过
无法将\x89从ASCII-8BIT转换为UTF-8的指南/ assets / images / tab_yellow.png,跳过
无法将\xFF从ASCII-8BIT转换为UTF- 8 for guides / assets / images / vijaydev.jpg,跳过
安装rails-4.0.0的ri文档
安装了24个gem




抱歉无法编辑终端输出。太多行!



Saads-Mac-Pro:~ SMD$ gem install rails
Building native extensions.  This could take a while...
/Users/SMD/.rvm/rubies/ruby-2.0.0- p247/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:54: warning: Insecure world writable dir /usr in PATH, mode 040777
ERROR:  Error installing rails:
ERROR: Failed to build gem native extension.

/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/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=/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
--with-atomic_reference-dir
--without-atomic_reference-dir
--with-atomic_reference-include
--without-atomic_reference-include=${atomic_reference-dir}/include
--with-atomic_reference-lib
--without-atomic_reference-lib=${atomic_reference-dir}/
/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/mkmf.rb:434:in `try_do': The  compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/mkmf.rb:519:in `try_link0'
from /Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/mkmf.rb:817:in `try_run'
from extconf.rb:24:in `<main>'


Gem files will remain installed in /Users/SMD/.rvm/gems/ruby-2.0.0-p247/gems/atomic-1.1.13 for inspection.
Results logged to /Users/SMD/.rvm/gems/ruby-2.0.0-p247/gems/atomic-1.1.13/ext/gem_make.out

This is the output when i run this command gem install rails. What am i doing wrong? Thanks in Advance

EDIT:

Output of gem env:

Saads-Mac-Pro:~ SMD$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.7
  - RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247) [x86_64-darwin12.3.0]
  - INSTALLATION DIRECTORY: /Users/SMD/.rvm/gems/ruby-2.0.0-p247
  - RUBY EXECUTABLE: /Users/SMD/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/SMD/.rvm/gems/ruby-2.0.0-p247/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-12
  - GEM PATHS:
     - /Users/SMD/.rvm/gems/ruby-2.0.0-p247
     - /Users/SMD/.rvm/gems/ruby-2.0.0-p247@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/

解决方案

i figured it out after following various articles.

Follow are the Steps.

$rvm get head

$rvm --force 2.0.0

$gem update

$gem install rails

went through smoothly.

Following is the output:

Saads-Mac-Pro:~ SMD$ gem install rails

Building native extensions.  This could take a while...

/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:54: warning: Insecure world writable dir /usr in PATH, mode 040777
Successfully installed atomic-1.1.13
Fetching: thread_safe-0.1.2.gem (100%)
Successfully installed thread_safe-0.1.2
Fetching: activesupport-4.0.0.gem (100%)
Successfully installed activesupport-4.0.0
Fetching: builder-3.1.4.gem (100%)
Successfully installed builder-3.1.4
Fetching: rack-1.5.2.gem (100%)
Successfully installed rack-1.5.2
Fetching: rack-test-0.6.2.gem (100%)
Successfully installed rack-test-0.6.2
Fetching: erubis-2.7.0.gem (100%)
Successfully installed erubis-2.7.0
Fetching: actionpack-4.0.0.gem (100%)
Successfully installed actionpack-4.0.0
Fetching: activemodel-4.0.0.gem (100%)
Successfully installed activemodel-4.0.0
Fetching: arel-4.0.0.gem (100%)
Successfully installed arel-4.0.0
Fetching: activerecord-deprecated_finders-1.0.3.gem (100%)
Successfully installed activerecord-deprecated_finders-1.0.3
Fetching: activerecord-4.0.0.gem (100%)
Successfully installed activerecord-4.0.0
Fetching: mime-types-1.24.gem (100%)
Successfully installed mime-types-1.24
Fetching: polyglot-0.3.3.gem (100%)
Successfully installed polyglot-0.3.3
Fetching: treetop-1.4.15.gem (100%)
Successfully installed treetop-1.4.15
Fetching: mail-2.5.4.gem (100%)
Successfully installed mail-2.5.4
Fetching: actionmailer-4.0.0.gem (100%)
Successfully installed actionmailer-4.0.0
Fetching: thor-0.18.1.gem (100%)
Successfully installed thor-0.18.1
Fetching: railties-4.0.0.gem (100%)
Successfully installed railties-4.0.0
Fetching: hike-1.2.3.gem (100%)
Successfully installed hike-1.2.3
Fetching: tilt-1.4.1.gem (100%)
Successfully installed tilt-1.4.1
Fetching: sprockets-2.10.0.gem (100%)
Successfully installed sprockets-2.10.0
Fetching: sprockets-rails-2.0.0.gem (100%)
Successfully installed sprockets-rails-2.0.0
Fetching: rails-4.0.0.gem (100%)
Successfully installed rails-4.0.0
Parsing documentation for atomic-1.1.13
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/atomic_reference.bundle, skipping
Installing ri documentation for atomic-1.1.13
Parsing documentation for thread_safe-0.1.2
Installing ri documentation for thread_safe-0.1.2
Parsing documentation for activesupport-4.0.0
unable to convert "\x80" from ASCII-8BIT to UTF-8 for lib/active_support/values/unicode_tables.dat, skipping
Installing ri documentation for activesupport-4.0.0
Parsing documentation for builder-3.1.4
/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rdoc/parser.rb:87: warning: Unsupported encoding : ignored
/Users/SMD/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rdoc/parser.rb:87: warning: Unsupported encoding  ignored
Installing ri documentation for builder-3.1.4
Parsing documentation for rack-1.5.2
Installing ri documentation for rack-1.5.2
Parsing documentation for rack-test-0.6.2
Installing ri documentation for rack-test-0.6.2
Parsing documentation for erubis-2.7.0
Installing ri documentation for erubis-2.7.0
Parsing documentation for actionpack-4.0.0
Installing ri documentation for actionpack-4.0.0
Parsing documentation for activemodel-4.0.0
Installing ri documentation for activemodel-4.0.0
Parsing documentation for arel-4.0.0
Installing ri documentation for arel-4.0.0
Parsing documentation for activerecord-deprecated_finders-1.0.3
Installing ri documentation for activerecord-deprecated_finders-1.0.3
Parsing documentation for activerecord-4.0.0
Installing ri documentation for activerecord-4.0.0
Parsing documentation for mime-types-1.24
Installing ri documentation for mime-types-1.24
Parsing documentation for polyglot-0.3.3
Installing ri documentation for polyglot-0.3.3
Parsing documentation for treetop-1.4.15
Installing ri documentation for treetop-1.4.15
Parsing documentation for mail-2.5.4
unable to convert "\x80" from ASCII-8BIT to UTF-8 for lib/mail/values/unicode_tables.dat, skipping
Installing ri documentation for mail-2.5.4
Parsing documentation for actionmailer-4.0.0
Installing ri documentation for actionmailer-4.0.0
Parsing documentation for thor-0.18.1
Installing ri documentation for thor-0.18.1
Parsing documentation for railties-4.0.0
Installing ri documentation for railties-4.0.0
Parsing documentation for hike-1.2.3
Installing ri documentation for hike-1.2.3
Parsing documentation for tilt-1.4.1
Installing ri documentation for tilt-1.4.1
Parsing documentation for sprockets-2.10.0
Installing ri documentation for sprockets-2.10.0
Parsing documentation for sprockets-rails-2.0.0
Installing ri documentation for sprockets-rails-2.0.0
Parsing documentation for rails-4.0.0
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/belongs_to.png, skipping
unable to convert "\xF4" from ASCII-8BIT to UTF-8 for guides/assets/images/book_icon.gif, skipping
unable to convert "\x91" from ASCII-8BIT to UTF-8 for guides/assets/images/bullet.gif, skipping
unable to convert "\xF5" from ASCII-8BIT to UTF-8 for guides/assets/images/chapters_icon.gif, skipping
unable to convert "\xF5" from ASCII-8BIT to UTF-8 for guides/assets/images/check_bullet.gif, skipping
unable to convert "\xF4" from ASCII-8BIT to UTF-8 for guides/assets/images/credits_pic_blank.gif, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/csrf.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/edge_badge.png, skipping
unable to convert "\x9E" from ASCII-8BIT to UTF-8 for guides/assets/images/favicon.ico, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/feature_tile.gif, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/footer_tile.gif, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/fxn.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/challenge.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/confirm_dialog.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/forbidden_attributes_for_new_post.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/form_with_errors.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/index_action_with_edit_link.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/new_post.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/post_with_comments.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/rails_welcome.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/routing_error_no_controller.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/routing_error_no_route_matches.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/show_action_for_posts.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/template_is_missing_posts_new.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/undefined_method_post_path.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/unknown_action_create_for_posts.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getting_started/unknown_action_new_for_posts.png, skipping
unable to convert "\xF0" from ASCII-8BIT to UTF-8 for guides/assets/images/grey_bullet.gif, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/habtm.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_many.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_many_through.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_one.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_one_through.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/header_backdrop.png, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/header_tile.gif, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/demo_html_safe.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/demo_localized_pirate.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/demo_translated_en.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/demo_translated_pirate.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/demo_translation_missing.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/demo_untranslated.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/1.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/10.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/11.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/12.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/13.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/14.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/15.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/2.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/3.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/4.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/5.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/6.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/7.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/8.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/callouts/9.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/caution.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/example.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/home.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/important.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/next.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/note.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/prev.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/tip.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/up.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons/warning.png, skipping
unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/jaimeiniesta.jpg, skipping
unable to convert "\xF5" from ASCII-8BIT to UTF-8 for guides/assets/images/nav_arrow.gif, skipping
unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/oscardelben.jpg, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/polymorphic.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/radar.png, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/rails4_features.png, skipping
unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/rails_guides_kindle_cover.jpg, skipping
unable to convert "\xEC" from ASCII-8BIT to UTF-8 for guides/assets/images/rails_guides_logo.gif, skipping
unable to convert "\x8C" from ASCII-8BIT to UTF-8 for guides/assets/images/rails_logo_remix.gif, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/session_fixation.png, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_grey.gif, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_info.gif, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_note.gif, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_red.gif, skipping
unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_yellow.gif, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_yellow.png, skipping
unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/vijaydev.jpg, skipping
Installing ri documentation for rails-4.0.0
24 gems installed

Sorry couldn't edit the terminal output. Too many lines!

这篇关于安装rails时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆