精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-05-22
Package up Rails app as WAR file & Run it on Tomcat Successfully(please excuse me for writing in English, for there's no input method installed on client's machine)
1. Get your Rails application running in production mode.
2. Install plugin GoldSpike by executing
3. Install gem package activerecord-jdbc by executing
4. Modify config/database.yml file by using jdbc as the database adapter. E.g.
5. Modify config/environment.rb by adding
6. Set and export $JRUBY_HOME, this will be used by GoldSpike plugin when generating WAR file. - activation-x.x.jar (1.1) 7. Put <your-db-jdbc-driver>.jar</your-db-jdbc-driver> (e.g., mysql-connector-java-5.0.5-bin.jar for MySQL) under $JRUBY_HOME/lib. 8. Generate standalone war file by executing
9. Test the war file by executing
KNOWN ISSUES
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-05-24
beauty words
|
|
返回顶楼 | |
发表时间:2007-10-13
Successfully
|
|
返回顶楼 | |
浏览 4417 次