Sometimes, you want to camp on the summit of jRuby. It has a great view.
The base gem
jgem install camping
For using views
jgem install markaby
For working with an Sqlite database
jgem install activerecord
jgem install activerecord-jdbcsqlite3-adapter
Using a database like that needs a little extra work. To avoid getting scary errors that say things like
LoadError at /
no such file to load — sqlite3
You’ll need to have the following line in your code:
ActiveRecord::Base.establish_connection(:adapter => 'jdbcsqlite3', :database => "foo.sqlite3")</pre>