logo       

Re: db_example.rb error (from RubyConf): msg#00021

lang.jruby.user

Subject: Re: db_example.rb error (from RubyConf)

On 2/9/06, Nicholas Van Weerdenburg <vanweerd@xxxxxxxxx> wrote:
On 2/9/06, Charles O Nutter <headius@xxxxxxxxxxx > wrote:
Did you get the same error with that ZIP as with .8.2? I just ran the
example against current CVS and it worked ok.

Send the full output of your session, I'll try to help.

- Charlie

On 2/9/06, Nicholas Van Weerdenburg < vanweerd@xxxxxxxxx> wrote:
> I can't access cvs via pserver from work.
>
> I found a zip from two weeks ago ( http://www.headius.com/
> jruby-200601231802.zip), but it doesn't seem to work either.
>
> Any suggestions?
>
> Thanks,
> Nick
>
>
> On 2/9/06, Charles O Nutter < headius@xxxxxxxxxxx> wrote:
> >
> > You are probably running against JRuby 0.8.2, the last release.
> > Unfortunately that example contains code that has not been landed in a
> > release yet. I'll see what I can find out about scheduling a new
> > release sometime soon. In the short term, you could try it against
> > what's current in CVS, and it should work well.
> >
> > - Charlie
> >
> > On 2/9/06, Nicholas Van Weerdenburg < vanweerd@xxxxxxxxx> wrote:
> > > Hi All,
> > >
> > > Trying to run db_example.rb gives me the following error:
> > >
> > > D:\ptc>jruby db.rb
> > > db.rb:16:in `const_missing': uninitialized constant
> JavaInterfaceExtender
> > > (Na
> > > meError)
> > >         from db.rb:16
> > >
> > > Am I missing something?
> > >
> > > Thanks,
> > > Nick
> > >
> > > On 10/16/05, Charles O Nutter < headius@xxxxxxxxxxx> wrote:
> > > > Here are the slides I used for RubyConf as well as the two demo
> > > > scripts I ran. The fib script will of course require the cnutter_work2
> > > > branch to demonstrate large stack depths, but there you have it. The
> > > > db_example.rb sript was contributed by Tom Enebo and will require a
> > > > database and appropriate JDBC drivers to run.
> > > >
> > > > These slides are supposed to be posted somewhere (possible on
> > > > ZenSpider.com, though I'm sure another announcement will be made), and
> > > > I thought I heard that they were recording all presentations, but I
> > > > don't know more than that.
> > > >
> > > > Let me know if you have any questions. Feel free to use these slides
> > > > (with attribution please) in presentations you might run (and let me
> > > > know too...I'd love to know if the slides are useful).
> > > >
> > > > - Charlie
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> > Charles Oliver Nutter @ headius.blogspot.com
> > JRuby Developer @ jruby.sourceforge.net
> > Application Architect @ www.ventera.com
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> > _______________________________________________
> > Jruby-user mailing list
> > Jruby-user@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/jruby-user
> >
>
>
>
> --
> Nicholas Van Weerdenburg


--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Jruby-user mailing list
Jruby-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/jruby-user


The following is what I get:
D:\ptc>jruby db_example.rb
db_example.rb:16:in `const_missing': uninitialized constant JavaInterfaceExtender (Na
meError)
        from db_example.rb:16

Thanks,
Nick
--
Nicholas Van Weerdenburg


Sorry- don't worry about it. I had a misconfigured classpath.

Nick
--
Nicholas Van Weerdenburg
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise