OK, I have read and re-read the JRuby contribute page on
Datamapper.org
and have checked out and compiled the 'next' branches of datamapper.
Then I have installed do_jdbc from the next branch.

But when I try using 'jruby -S rake -T' in the do_sqlite3 folder,
I get the following:

(in /folder/datamapper/do/do_sqlite3)
rake aborted!
Don't know how to build task 'compile:jruby'

Is there something else I have to install to get do_sqlite3 working?

Joc


On Sep 11, 1:42 pm, Joc <[email protected]> wrote:
> Hi,
>
> pretty standard way:
>
>   DataMapper.setup(
>     :default,
>     "sqlite3://#{Dir.pwd}/db/development.sqlite3"
>   )
>
> Joc
>
> On Sep 10, 11:26 pm, Chris <[email protected]> wrote:
>
>
>
> > How are you calling DataMapper.setup()?
>
> > On Sep 9, 11:10 am, Joc <[email protected]> wrote:
>
> > > Hi,
>
> > > I'm trying to get DataMapper to run with JRuby & Sinatra.
>
> > > I have updated to all the latest gems but keep getting the following
> > > error:
>
> > > com.sun.grizzly.jruby.rack.RackInitializationException: no such file
> > > to load -- do_jdbc_internal
> > >         from /opt/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > > 31:in `require'
> > >         from /opt/jruby/lib/ruby/gems/1.8/gems/do_jdbc-0.10.0-java/lib/
> > > do_jdbc.rb:4
>
> > > the rest of the log is here if needed
>
> > >http://pastie.org/611113
>
> > > This is under the Glassfish server.
>
> > > Bit stumped as to what to do next.
>
> > > TIA,
>
> > > Joc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to