Tuesday, October 12, 2010

JRuby, Ant, Tomcat, Rails

http://gregmoreno.ca/deploy-a-rails-3-sqlite3-application-in-tomcat-using-jruby/

http://blog.emptyway.com/2008/04/08/120-seconds-guide-to-jruby-on-rails/
 
(jruby 1.5.3, Rails version 2.3.5)
jruby -S rails myapp -d mysql
cd myapp 
jruby -S rake db:create:all
jruby script/generate scaffold post title:string body:text published:boolean
jruby script/generate model keywords keyword:string source:string
jruby script/generate migrate add_word_to_keywords 
jruby -S rake db:migrate
jruby script/server 
 
http://wiki.rubyonrails.org/rails/pages/availablegenerators 
http://www.tutorialspoint.com/ruby-on-rails/rails-and-rake.htm 

No comments: