LAPISLAZULI HILL#Ruby このページをアンテナに追加 RSSフィード

 | 

2007-11-13

mongrelのインストール 12:23 mongrelのインストール - LAPISLAZULI HILL#Ruby を含むブックマーク はてなブックマーク - mongrelのインストール - LAPISLAZULI HILL#Ruby mongrelのインストール - LAPISLAZULI HILL#Ruby のブックマークコメント

fedora6で

% sudo gem install mongrel
Building native extensions.  This could take a while...
Successfully installed mongrel-1.1.1
# *snip*
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- rdoc/rdoc (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:71:in `load_rdoc'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:41:in `generate_ri'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:112:in `execute'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:111:in `each'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:111:in `execute'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:49:in `each'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:49:in `execute'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/command.rb:70:in `invoke'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:121:in `process_args'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:92:in `run'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:30:in `run'
        from /usr/bin/gem:23

fastthreadのインストールが失敗.rdocをインストール(参照 http://d.hatena.ne.jp/catalina/20070228#c1175682086

% sudo yum install rdoc

もう1回

% sudo gem install mongrel

成功

起動と停止

% cd rails_root
% mongrel_rails start
% mongrel_rails stop
 | 
カウンター
43656