2012年7月10日火曜日

It is memo for redmine install on windows XP. windowsXP上でredmineをinstallする際のメモ。 まだ不十分なので気づいたら追加・修正していきます。
ruby version 1.9.3 redmine 2.0以降はRuby1.9でも動作OKのようだ。
ruby installerを使った。
http://rubyforge.org/frs/download.php/76054/rubyinstaller-1.9.3-p194.exe
DevKit install.
http://github.com/oneclick/rubyinstaller/wiki/Development-Kit

expanding place of c:\tmp\DevKit.
C:\tmp\DevKit> ruby dk.rb init
C:\tmp\DevKit> ruby dk.rb install

gem install activerecord-mysql-adapter

rake db:migrate RAILS_ENV="production"
[参考]
http://www.kinopyo.com/blog/rails3-1rc-please-install-the-mysql-adapter-error

Gemfile.localに
gem 'ruby-mysql'
を追加。

Can't connect to MySQL server on 'localhost' (10061)
database.yml
host: localhost → host: 127.0.0.1
localhostの名前解決ができないようだ。
ping localhostではつながるのだが・・

0 件のコメント:

コメントを投稿