March 25th, 2009

redMine on cygwinをやってみた

(Read: 57362)
Add to Hatena Bookmark


Windows Vista 64bitにて.

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

bash-3.2$ mkdir /usr/local/src
bash-3.2$ cd /usr/local/src

bash-3.2$ wget -q
bash-3.2$ tar xzf rubygems-1.3.1.tgz
bash-3.2$ cd rubygems-1.3.1
bash-3.2$ ruby setup.rb
mkdir -p /usr/lib/ruby/site_ruby/1.8
mkdir -p /usr/bin
mkdir -p /usr/lib/ruby/site_ruby/1.8/rbconfig
install -c -m 0644 rbconfig/datadir.rb /usr/lib/ruby/site_ruby/1.8/rbconfig/datadir.rb
-- Jim & Chad & Eric (for the RubyGems team)


RubyGems installed the following executables:

If `gem` was installed by a previous RubyGems installation, you may need
to remove it by hand.
bash-3.2$ cd ..

bash-3.2$ gem install rails
Successfully installed rake-0.8.4
Successfully installed activesupport-2.3.2
Successfully installed activerecord-2.3.2
Successfully installed actionpack-2.3.2
Successfully installed actionmailer-2.3.2
Successfully installed activeresource-2.3.2
Successfully installed rails-2.3.2
7 gems installed
Installing ri documentation for rake-0.8.4...
Installing ri documentation for activesupport-2.3.2...
Installing ri documentation for activerecord-2.3.2...
Installing ri documentation for actionpack-2.3.2...
Installing ri documentation for actionmailer-2.3.2...
Installing ri documentation for activeresource-2.3.2...
Installing RDoc documentation for rake-0.8.4...
Installing RDoc documentation for activesupport-2.3.2...
Installing RDoc documentation for activerecord-2.3.2...
Installing RDoc documentation for actionpack-2.3.2...
Installing RDoc documentation for actionmailer-2.3.2...
Installing RDoc documentation for activeresource-2.3.2...

bash-3.2$ gem install sqlite3-ruby
Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.2.4
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.4...
Installing RDoc documentation for sqlite3-ruby-1.2.4...

bash-3.2$ wget -q
bash-3.2$ tar xzf redmine-0.8.2.tar.gz
bash-3.2$ cd redmine-0.8.2
bash-3.2$ cp ./config/database.yml.example ./config/database.yml
bash-3.2$ cp ./config/email.yml.example ./config/email.yml
bash-3.2$ vi ./config/database.yml
bash-3.2$ vi ./config/email.yml
bash-3.2$ rake db:migrate RAILS_ENV=production
== 99 AddDeleteWikiPagesAttachmentsPermission: migrating ======================
== 99 AddDeleteWikiPagesAttachmentsPermission: migrated (0.0000s) =============

== 100 AddChangesetsUserId: migrating =========================================
-- add_column(:changesets, :user_id, :integer, {:default=>nil})
-> 0.0580s
== 100 AddChangesetsUserId: migrated (0.0790s) ================================

== 101 PopulateChangesetsUserId: migrating ====================================
== 101 PopulateChangesetsUserId: migrated (0.0000s) ===========================

bash-3.2$ rake load_default_data RAILS_ENV=production
(in /usr/local/src/redmine-0.8.2)

Select language: bg, ca, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl,
no, pl, pt, pt-br, ro, ru, sk, sr, sv, th, tr, uk, vn, zh, zh-tw [en] ja
Default configuration data loaded.

Note: The rake task load_default_data has been deprecated, please use the replacement version redmine:load_default_data

bash-3.2$ ruby ./script/server -e production
=> Booting WEBrick...
=> Rails 2.1.2 application started on
=> Ctrl-C to shutdown server; call with --help for options
[2009-03-25 02:49:53] INFO WEBrick 1.3.1
[2009-03-25 02:49:53] INFO ruby 1.8.7 (2008-08-11) [i386-cygwin]
[2009-03-25 02:49:53] INFO WEBrick::HTTPServer#start: pid=620 port=3000
Cygwin + Redmine - 脳味噌出力中



- CSSでやっつけで簡単なログの色分けをした
- sqlite3-rubyのインストールが抜けていたので追加
- redMineの設定ファイル関連が抜けていたので追加



▼ 人気のトピック

< 過去の記事 [ 3All Categories ] 新しい記事 >
Powered by gsblog (customize)

[ POST ] [ AddLink ] [ CtlPanel ]

Subscribe blog

Bookmark blog

About me

about me





2009 calendar

1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
| Day | Month | Year |

Powered by RRDTOOL.




Mail to admin

人気ブログランキングへ RSS feed meter for Search Engine Optimization
blogpeople.netに登録!! スカウター : よくきたblog

My Google news

My Google News

Related site

ころんころん♪ べびぽよ フォト蔵Wiki
string(40) "/categ-1/year-2009/month-3/id-1237917210"