文章列表
http://www.google.com/accounts/o8/id
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: demo_development
pool: 5
username: X
password: X
host: localhost
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: demo_test
pool: 5
username: X
password: X
host: localhost
productio ...
1. 安装ruby环境
2. 安装bundle(手工安装:gem install bundle-x-x.gem)
3. 安装rails(手工安装: gem install gems\rails-x.x.x\*)
4. 创建工程(rails new myapp -d mysql -T -J)
5. 修改数据库配置
6. 添加一些基本插件(拷到gemfile: gem 'rspec-rails'; gem 'jquery-rails'; gem 'will_paginate'; gem 'haml-rails'; gem 'compass')
7. 绑定gem(bundle insta ...
安装好ruby,安装好DevKit:
> c:
> cd c:\DevKit
> ruby dk.rb init
> ruby dk.rb install
如果还不能绑定DevKit到rubygems,手工绑定
> cd c:\Ruby192\lib\ruby\1.9.1\rubygems\defaults
> move "operating_system.rb" "operating_system.bak"
> ruby dk.rb install