Thursday, April 2, 2009

Jruby on XP functioning. Good progress.

Seems the required gems are installed. See dbc-adapter, jdbcmysql-adapter, and jdbcmysql are all listed.
E:\InstantRails\rails_apps\depot>jruby -S gem list --local

*** LOCAL GEMS ***

actionmailer (2.3.2, 2.0.2)
actionpack (2.3.2, 2.0.2)
activerecord (2.3.2, 2.0.2)
activerecord-jdbc-adapter (0.9.1)
activerecord-jdbcmysql-adapter (0.9.1)
activeresource (2.3.2, 2.0.2)
activesupport (2.3.2, 2.0.2)
jdbc-mysql (5.0.4)
rails (2.3.2, 2.0.2)
rake (0.8.4)
rspec (1.2.0)
sources (0.0.1)
Excellent! jruby -S rake db:migrate now creates the tables in MySQL. Progress, at long last.

Enjoying success with:
  • jruby script/generate scaffold product title: string description: text image_url:string
  • jruby script/server
  • The basic CRUD (Create, Read, Update, Delete) functionality works
Ahhhhhhhhhhhhhhhhh. Very nice, finally! Appears I now have a functioning ruby. Can now concentrate on web development issues. Sweet.

No comments: