2010-10-31

Railsのコマンドが変わった

Rials 3.0.1 になって変わったようだ。

新規プロジェクト: $ rails new プロジェクト名
WEBサーバ起動 : $ rails s(erver)

Railsアップデート

 一部エラーが出てるようだが意味不明、railsは3.0.1になってる。

$ sudo gem update rails
[sudo] password for masou:
Updating installed gems
Updating rails
Successfully installed activesupport-3.0.1
Successfully installed builder-2.1.2
... 略 ...
Successfully installed rails-3.0.1
Gems updated: activesupport, builder, i18n, activemodel, rack, rack-test, rack-mount, tzinfo, abstract, erubis, actionpack, arel, activerecord, activeresource, mime-types, polyglot, treetop, mail, actionmailer, thor, railties, bundler, rails
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 /usr/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 bundler-1.0.3...
Installing ri documentation for rails-3.0.1...
File not found: lib