天使之家(angel_nest)安装指南——rails开源项目赏

12 篇文章 0 订阅
5 篇文章 0 订阅

介绍

angel_nest 天使之家是fredwu的一个作品,网站功能是建立中国首个企业家和创业者投资互动的一个平台,功能与 AngelList 相仿。他费了牛劲做好后最后客户不付钱(这不扯呢么!),poor fred....。anyway,感谢他的源码!也祝愿fredwu同学能勇往直前,再赚大钱!

环境

  • rails3.2
  • ruby1.9

地址

https://github.com/fredwu/angel_nest


安装步骤

  • clone the repo, obviously
  • if you use RVM, you may rename the _rvmrc file to .rvmrc and adjust its content accordingly
  • copy or rename config/database.example.yml to config/database.yml and adjust its content accordingly
  • bundle install
  • rake db:create
  • rake dev:db:reset
  • rails s
  • done, fire up your browser and browse to http://localhost:3000/ :)
  • the default login is test@example.com and password password

注意点

有可能出现的错误是:


Gem files will remain installed 
in /usr/share/ruby-rvm/gems/ruby-1.9.2-p320/gems/mysql2-0.3.11 forinspection.
66 Results logged to /usr/share/ruby-rvm/gems/ruby-1.9.2-p320/gems/mysql2-0.3.11/ext/mysql2/gem_make.out
67 An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
68 Make sure that `gem install mysql2 -v '0.3.11'` succeeds before bundling.

解决方法:

sudo apt-get install libmysql-ruby libmysqlclient-dev

还有可能出现的错误是:

while scanning a simple key at line 5 column 3

解决方法:

更改数据库文件名,但里面数据库root账户不用填写你的密码。


先过过眼瘾:





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值