对一款Ruby编写的客户关系管理系统的探索

对一款Ruby编写的客户关系管理系统的探索

 

https://github.com/michaeldv/fat_free_crm

 

我是在WindowsXP环境下操作的。

 

 

按照文档去操作

 

rake db:create

 

发现缺少Rails 2.3.8 gem.

 

D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2>rake db:create

(in D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2)

Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update your RA

ILS_GEM_VERSION setting in config/environment.rb for the Rails version you do ha

ve installed, or comment out RAILS_GEM_VERSION to use the latest version install

ed.

 

非常RP的跟着语句走了下去,竟然成功下载了,这系统真的是Windows吗?

 

D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2>gem install -v=2.3.8 rails

Fetching: activesupport-2.3.8.gem (100%)

Fetching: activerecord-2.3.8.gem (100%)

Fetching: rack-1.1.1.gem (100%)

Fetching: actionpack-2.3.8.gem (100%)

Fetching: actionmailer-2.3.8.gem (100%)

Fetching: activeresource-2.3.8.gem (100%)

Fetching: rails-2.3.8.gem (100%)

Successfully installed activesupport-2.3.8

Successfully installed activerecord-2.3.8

Successfully installed rack-1.1.1

Successfully installed actionpack-2.3.8

Successfully installed actionmailer-2.3.8

Successfully installed activeresource-2.3.8

Successfully installed rails-2.3.8

7 gems installed

Installing ri documentation for activesupport-2.3.8...

Installing ri documentation for activerecord-2.3.8...

Installing ri documentation for rack-1.1.1...

Installing ri documentation for actionpack-2.3.8...

之后继续进行
rake db:create
提示
Could not find RubyGem test-unit (= 1.2.3)
继续gem install test-unit
过程略。
下载后竟然说…… test-unit (2.2.0 > 1.2.3),竟然这么悲剧,高版本不支持低版本吗……
继续gem install test-unit -v=2.3.8 rails
略。
好,我们继续 rake db:create
……找不到mysql啊,忘了配环境变量了。之后还是找不到。无奈。继续gem install mysql
D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2>gem install mysql
Fetching: mysql-2.8.1-x86-mingw32.gem (100%)
Successfully installed mysql-2.8.1-x86-mingw32
1 gem installed
Installing ri documentation for mysql-2.8.1-x86-mingw32...
Installing RDoc documentation for mysql-2.8.1-x86-mingw32...

D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2>rake db:create
(in D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2)

D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2>rake db:create
(in D:/workspace/ruby/michaeldv-fat_free_crm-d5315a2)
fat_free_crm_development already exists
查一下本地数据库,果然已经OK了,看的出刚才只是下了一个连接器的东西。
好,我们继续向下进行。 
rake crm:setup
rake crm:demo:load
........好的,竟然这么顺利的成功了……我饿了……滚去吃饭啦~

 

posted @ 2011-03-05 02:00  j2ee技术  阅读(182)  评论(0编辑  收藏  举报