What is the approach to get SQLite-ruby working in IronRuby?
With a ruby based ORM such as ActiveRecord
jrhicks
2009-09-20 13:52:39
A:
you won't be able to use activerecord as is.
You can either wrap the ADO.NET provider for SQLite or you can perhaps help with the ironruby-dbi project and provide a dbi adapter that handles sqlite correctly. From then on adding it to rails is easy as it would require replacing the connection with the dbi connection.
It is a work in progress though and at this moment most efforts have been around sql server, but I too would like to get sqlite working properly on IronRuby with rails. link text
Casual Jim
2009-09-20 20:05:06
+1
A:
There's an sqlite3-ironruby gem which was recently released, and it's on gemcutter
The source is here on gitub
Orion Edwards
2009-11-03 22:55:00
Appears that you install that gem then use the "normal" sqlite config/database.yml setup style and it works, no changes needed to database.yml from MRI.
rogerdpack
2010-05-18 20:06:36