Sunday, July 22, 2012

JRuby Rails

Adding JRuby into the Rails mix is sometimes confusing. Here's some commands I've run.
jruby -S rails generate rspec:install
rspec spec/creating_projects_spec.rb
jruby -S rails generate controller projects
jruby -S rails g model project name:string description:string
rake db:migrate
rake db:test:prepare
rspec spec/creating_projects_spec.rb