forked from technoweenie/mephisto
-
Notifications
You must be signed in to change notification settings - Fork 18
Install and Usage
jinleileiking edited this page Sep 13, 2010
·
4 revisions
- Quick Installation
- Create a database named mephisto (or one of your choosing).
- Copy config/database.example.yml to config/database.yml
- Edit database.yml and set your database credentials.
- Upload the entire mephisto directory to your webserver.
- Make sure you upload the tzinfo gem (see above) with the directory, or that your host has it preinstalled.
- Run rake db:bootstrap from a terminal of some sorts (use rake db:bootstrap RAILS_ENV=production to be sure you’ve bootstrapped the production database.) %
- Login to your administration at http://domain.com/admin with the username: admin and password: test
- Problem:
- You need to run ‘rake config/initializers/session_store.rb’ to create a (RuntimeError) secret key for encrypting session cookies.
-run rake db:bootstrap - Needed Gems:
- liquid 1.9.0
-- rubyforge 1.0.4 — hoe 2.3.2 - mysql
- liquid 1.9.0
- can not find the module during rake db:bootstrap
http://www.xiuce888.cn/2009/07/19/rails找不到指定的模块-extmysqlso-解决办法/
rails找不到指定的模块 ext/mysql.so 解决办法
如果是先安装ruby 和rails,后安装mysql,可能会出现如下错误
找不到指定的模块。 – c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so
实际上是找不到连接所需的dll文件:libmySQL.dll
在mysql安装目录下的bin目录下将此文件复制到ruby的bin目录下即可解决此问题. -
creating artical meet 500 error
@article = current_user.articles.create params[:article].merge(:updater => current_user, :site => site)-- crash here..