rubyのフレームワークrailsをgemsからインストールします。
$ sudo gem install rails Password: ・・・ 24 gems installed Installing ri documentation for activesupport-3.0.1... Installing ri documentation for builder-2.1.2... ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="" ... RDOC args: --ri --op /opt/local/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers --quiet lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation ・・・ File not found: lib
なんだかエラーがでましたね。。
$ gem search *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.1) actionpack (3.0.1) activemodel (3.0.1) activerecord (3.0.1) activeresource (3.0.1) activesupport (3.0.1) arel (1.0.1) builder (2.1.2) bundler (1.0.3) erubis (2.6.6) i18n (0.4.2) mail (2.2.9) mime-types (1.16) polyglot (0.3.1) rack (1.2.1) rack-mount (0.6.13) rack-test (0.5.6) rails (3.0.1) railties (3.0.1) rake (0.8.7) thor (0.14.4) treetop (1.4.8) tzinfo (0.3.23)
rails3.0.1がインストールされています。
documentationがインストールできなかっただけのようですので、ま、いっか。
$ rails -v Rails 3.0.1
$ sudo gem install rails Password: Successfully installed activesupport-3.0.1 Successfully installed builder-2.1.2 Successfully installed i18n-0.4.2 Successfully installed activemodel-3.0.1 Successfully installed rack-1.2.1 Successfully installed rack-test-0.5.6 Successfully installed rack-mount-0.6.13 Successfully installed tzinfo-0.3.23 Successfully installed abstract-1.0.0 Successfully installed erubis-2.6.6 Successfully installed actionpack-3.0.1 Successfully installed arel-1.0.1 Successfully installed activerecord-3.0.1 Successfully installed activeresource-3.0.1 Successfully installed mime-types-1.16 Successfully installed polyglot-0.3.1 Successfully installed treetop-1.4.8 Successfully installed mail-2.2.9 Successfully installed actionmailer-3.0.1 Successfully installed rake-0.8.7 Successfully installed thor-0.14.4 Successfully installed railties-3.0.1 Successfully installed bundler-1.0.3 Successfully installed rails-3.0.1 24 gems installed Installing ri documentation for activesupport-3.0.1... Installing ri documentation for builder-2.1.2... ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="<!-- HI -->" ... RDOC args: --ri --op /opt/local/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers --quiet lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation (continuing with the rest of the installation) Installing ri documentation for i18n-0.4.2... Installing ri documentation for activemodel-3.0.1... Installing ri documentation for rack-1.2.1... Installing ri documentation for rack-test-0.5.6... Installing ri documentation for rack-mount-0.6.13... Installing ri documentation for tzinfo-0.3.23... Installing ri documentation for abstract-1.0.0... Installing ri documentation for erubis-2.6.6... Installing ri documentation for actionpack-3.0.1... Installing ri documentation for arel-1.0.1... Installing ri documentation for activerecord-3.0.1... Installing ri documentation for activeresource-3.0.1... Installing ri documentation for mime-types-1.16... Installing ri documentation for polyglot-0.3.1... Installing ri documentation for treetop-1.4.8... Installing ri documentation for mail-2.2.9... Installing ri documentation for actionmailer-3.0.1... Installing ri documentation for rake-0.8.7... Installing ri documentation for thor-0.14.4... Installing ri documentation for railties-3.0.1... Installing ri documentation for bundler-1.0.3... Installing ri documentation for rails-3.0.1... File not found: lib
投稿日: