redMineをWindowsで試す。
redMineというRubyで書かれたプロジェクト管理ツール、評価してみたいのでWindows Vistaな自分のマシンに入れてみようと思う。
RadRailsにて散々苦労したことも脳裏によぎる・・・
redMineのインストール手順のページ(英語)を参考にしてみる。
Requirements
Ruby on Rails 1.2.2
コマンドプロンプトで確かめる
OKらしい。
Optional:
RedCloth (to enable textile formatting)
オプション扱いだけど、redMineをWindowsにインストールするメモを参照するとwikiが動かないというので入れてみる。
C:\Ruby>set http_proxy=http://(proxy_url):port
C:\Ruby>gem install RedCloth
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed RedCloth-3.0.4
たぶん大丈夫。
MySQLでの操作
- MySQL AdministratorでCatalog「redmine」を作成する
- MySQL Administratorの「User Administration」で「Add new user」ボタンを押して「redmine」を作成
- 上の「Schema Privileges」にて「Assigned Privileges」に「Availabel Privieges」から全部移動!
- Aptaneを使っているので、Aptanaで「ファイル→新規→プロジェクト」で「redmaine」を作る。
- 「config/database.yml」というファイルが出来ている
production:
adapter: mysql
database: redmine
username: redmine
password:
host: localhost
こんな感じにする。
rake db:migrate RAILS_ENV="production"
ここでエラーになる。
また明日!!
http://syo.cocolog-nifty.com/freely/2007/05/redmine_8f5b.html