Wednesday, April 1, 2009

InstantRails - Fail

Guess InstantRails is also not a solution.

One popup window shows :
Unknown(): (null): Unable to initialize module.
Module compiled with module API=20060613, debug=0, thread-safety=1
PHP compiled with module API=20020429, debug=0, thread-safety=1
These options need to match
Built a trivial rails app to test the installation. Built 2 pages, each linked back to the other. Silly simple stuff. All appears to work.

Add a simple migration. Just a couple of fields in a single table.
ruby script/generate scaffold product title:string description:text
Good. That went well. Let's use rake to build a table.
rake db:migrate
Failure, again. Segmentation fault.
/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/mysql_adapter.rb:203 [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Wow, getting a functional rails environment on XP is a real bitch!

Next thought ... Netbeans includes Jruby, and a nice IDE. See if it offers an avenue to success.

To be continued ...

No comments: