An entity composed of reality and pseudo-reality. Enjoys coding, news, history, photography.
A bit of Ruby, a bit of JavaScript, a bit of love...
I use JRuby a lot more than I use MRI Ruby. I just like the Java VM a lot more. Anyways, to setup a JRuby project you need to do a few different things. Gem install activerecord-jdbc-adapter and one of these based on the database you are going to be using.
1 activerecord-jdbcderby-adapter 2 activerecord-jdbch2-adapter 3 activerecord-jdbchsqldb-adapter 4 activerecord-jdbcmssql-adapter 5 activerecord-jdbcmysql-adapter 6 activerecord-jdbcpostgresql-adapter 7 activerecord-jdbcsqlite3-adapter
Then run:
1 ./script/generate jdbcEverything else should be the same.
Comments 0 Comments