EventMachine インストールThin サーバーの動作には EventMachine が必要。しかし Ruby 64bit 2.0 では導入時にコンパイルエラーが発生する。いずれ修正されるかもしれないが、現在の所http://uisteven.blog.fc2.com/blog-entry-49.htmlのカスタマイズした gem を使わせて頂いた。gem カスタマイズ方法参考:http://higelog.brassworks.jp/?p=2212Apache HTTP Server 設定C:\Program Files\Apache Software Foundation\Apache24\conf\httpd.confコメント外すLoadModule proxy_http_module modules/mod_proxy_http.so追加<Location /redmine> ProxyPass http://localhost:3000/redmine ProxyPassReverse http://localhost:3000/redmine</Location>Redmine 設定C:\redmine-2.5.0\config\environment.rbスタイルシート、Javascript のパスを通知Redmine::Utils::relative_url_root = "/redmine"Thin サーバーの起動thin -e production -p 3000 start --prefix /redmineエラー発生:rack のバージョンが違うC:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:34:in `block in setup': You have already activated rack 1.5.2, but your Gemfile requires rack 1.4.5. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)1.5.2 をアンインストールするgem uninstall rackSelect gem to uninstall: 1. rack-1.4.5 2. rack-1.5.2 3. All versions> 2エラー発生:繋がらないC:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/backends/tcp_server.rb:16:in `connect': cannot load such file -- thin/connection (LoadError)C:\redmine-2.5.0\Gemfile に追加gem thinhttp://localhost/redmine でアクセスを確認人気ブログランキングへ
6131
...
