对一款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
........好的,竟然这么顺利的成功了……我饿了……滚去吃饭啦~

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值