人力検索はてな
モバイル版を表示しています。PC版はこちら
i-mobile

【Ruby on Rails】以下のエラーが出る理由と対応策を教えてください。

$ ruby script/server
=> Booting WEBrick...
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/webrick.rb:11: warning: already initialized constant OPTIONS
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- gettext/rails (MissingSourceFile)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from ./script/../config/../config/environment.rb:63
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
... 7 levels...
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from

●質問者: pandeiro_jp
●カテゴリ:ウェブ制作
✍キーワード:ActiveSupport config gettext LIB Rails
○ 状態 :終了
└ 回答数 : 1/1件

▽最新の回答へ

1 ● kent0608
●60ポイント

>no such file to load -- gettext/rails

gettextがinstallされていないようです。

http://www.yotabanana.com/hiki/ja/ruby-gettext.html

関連質問


●質問をもっと探す●



0.人力検索はてなトップ
8.このページを友達に紹介
9.このページの先頭へ
対応機種一覧
お問い合わせ
ヘルプ/お知らせ
ログイン
無料ユーザー登録
はてなトップ