Guys,
I'm putting together a very brief (30 minute) JRuby presentation for
RubyCodeCamp in Columbus, OH next weekend. There are some very nice
slides, particularly the performance graphs for JRuby, MRI, and JRuby
compiled that I would to steal^H^H^H^Hborrow for my presenation. I
would of course
Very timely, I was just asking about the new interface syntax on
#jruby. I was under the (mistaken) assumption this was already in for
0.9.9. Thanks for explaining so thoroughly!
--Chris
On 4/29/07, Bill Dortch (JIRA) <[EMAIL PROTECTED]> wrote:
Java interface modules
--
I know there was some activity related to allowing buildr to run on JRuby.
Does anyone know what the status of that is? I may be starting a JRuby
project soon and would love to be able to use buildr on it. Also, it really
seems like buildr might be looking for a lot of the stuff we do in goldspi
+1
FWIW, I wrestled with these same kinds of issues with Trails and made the
decision to go Java 5 a couple years ago. Though at that time there were a
lot more people stuck on 1.4 I still didn't regret it.
--Chris
On 7/23/07, Changshin Lee <[EMAIL PROTECTED]> wrote:
+1
Cheers,
ias
On 7/2
Guys,
This sounds like an awesome list of stuff, but a feature that I think would
help a lot of with JRoR projects would be to improve the debugging
experience. Right now the only way to get JRuby on Rails debugging to work
in NetBeans is by setting an undocumented property in a config file. And
b methods I'm pretty much without a
clue as to where the JRuby API code is to implement them. But I'm willing
to learn, any pointers and/or docs would be welcomed.
--Chris
On 8/17/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Martin Krauskopf wrote:
> > Chris Nel
'll
start in on trying to make them pass.
Look forward to working with you,
--Chris
On 8/17/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > Hi Martin,
> >
> > I recognize you from Netbeans Issuezilla :) It's great to he
Probably this is the wrong mailing list to start a Groovy vs Ruby language
debate, but since the can of worms is open, I feel obligated to point out
that it is at best a highly subjective statement to claim that Groovy has
"all the advantages of Ruby", and at worst, misleading. It's obvious that
G
I'll look at the ruby-debug trunk code and see what I can figure out. I
wasn't clear from your post, are you saying your code is checked into JRuby
trunk now? If so, where? I'm not seeing it.
--Chris
On 8/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> C
07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Martin Krauskopf wrote:
> > Chris Nelson wrote:
> >> I'll look at the ruby-debug trunk code and see what I can figure out.
> >> I wasn't clear from your post, are you saying your code is checked
>
Been attempting to try out Martin's jruby-debug code from debug-commons and
haven't been able to get much of anywhere. I assume I'm missing something
rather obvious, but I have not been able to get it to load. I had to make a
small change to jruby trunk for Martin's code to compile (making RubyTh
wait a bit before trying
to get fast debug working? I don't mind addressing things one at a time as
time permits, but if it's pretty likely the code would need to change again
real soon I'd rather wait.
--Chris
On 9/24/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
>
gc in DebugFrame is used
for? I couldn't find any references to it. This is the only thing that was
using getFrameArgs()
--Chris
On 9/24/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
>
> Ok, I did the same and got a little farther. I've patched JRuby as you
> suggested a
Ok, makes sense. It seems like it would be best to have technical
discussions archived as much as is possible, so let's move this to
debug-commons.
On 9/24/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > Well, after all that whining it appear
awesome, thanks!
On 9/25/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > Ok, I did the same and got a little farther. I've patched JRuby as you
> > suggested and built a jruby-debug.jar and put in JRUBY_HOME/lib. Then I
> > t
Need this for DebugThread to be possible. Let me know if I should create a
JIRA for this.
--Chris
Index: /home/ccnelson/workspace/jruby-debug/src/org/jruby/debug/Context.java
===
--- /home/ccnelson/workspace/jruby-debug/src/org/jruby
DOH! Attached the wrong patch... trying again. This one is necessary for
jruby-debug to compile, unless I'm missing something.
On 9/27/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > Need this for DebugThread to be possible. Let me know if I s
I'm sort of working thru problems one at a time and fixing them as we can.
We don't even really have a solid yardstick of how far there is to go yet, I
don't think. The c version of ruby-debug didn't really have a solid set of
test cases to start with (tho I'm trying to add some as I go) so we don
is working as
a BasicLibraryService anyways. I'll probably try that soon.
--Chris
On 9/30/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > As far as my patch, I agree with Martin we're still in early stages but
> > it does seem rather a
Just out of curiousity, has anyone tried rails benchmarks after applied
Charles' caching compiled evals patch? Or is that in trunk already?
--Chris
On 10/4/07, Christian Seiler <[EMAIL PROTECTED] > wrote:
>
> Hi,
> I did some more test with different recent versions of trunk. In all tests
>
> I
Peter and Martin,
As far as BasicLibraryService, there are (I think) 2 approaches we could
pursue to having our code replace the c ruby-debug code for folks running
jruby.
Right now, we're patching jruby to add Martin's library in a way so that
code that does require 'ruby_debug.so' gets our liba
approach is probably
the right way to go, as it seems the least intrusive to me.
Martin, is there any chance I could get commit rights to SVN so I can check
all this in and let other folks start playing with it?
--Chris
On 10/7/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
>
Ok, I've checked in my code. You'll still need the one line patch to
RubyThread in jruby to use it. I'll open a JIRA issue for that and see if
we can get that into jruby trunk. After that, check out the jruby-debug
code and run rake install_gem. This should give you a somewhat working
version o
Heh, thanks Dudley, but Martin deserves most of the love. I built on and
packaged what is mostly his work.
--Chris
On 10/8/07, Dudley Flanders < [EMAIL PROTECTED]> wrote:
>
>
> On Oct 8, 2007, at 11:36 AM, Chris Nelson wrote:
>
> > Guys,
> >
> > Success! I
Everything Martin says here is correct, and I've only put together a
smattering of unit tests for the list variable stuff and them not checked
in. So by all means, caveat emptor. Didn't mean to get carried away :)
--Chris
On 10/9/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
Has anyone tried with Charles' eval caching patch from awhile back? I don't
know if this patch has been made obsolete by developments after it, but it
seemed like a good idea at the time. If not, I'd be happy to try it if
someone can point me at how to run these benchmarks.
--Chris
On 10/15/07,
Guys,
Don't know if this has been done or attempted already, so I thought I'd
ask. It strikes me that what we really need to tune Rails performance is a
JRuby profiler, e. g., something that will tell us details in terms of time
spent per (Ruby) method invocation so we can apply the old tuning ad
Yes, at this very moment I'm using rdebug against a Rails application. I am
able to set breakpoints in a controller and inspect variables, but stepping
doesn't appear to work in the Rails controller. However stepping does work
in simple scripts. So I think we're getting closer, and even though i
Now thats service! You rock :)
--Chris
On 10/18/07, Ola Bini <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > Yes, at this very moment I'm using rdebug against a Rails
> > application. I am able to set breakpoints in a controller and inspect
> > variab
ily of commands, is the next thing I'm doing to tackle.)
>
> Pete
>
> On 10/18/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
> > in simple scripts. So I think we're getting closer, and even though it
> is
> > alpha q
Cool, what did you have to change in jruby-debug? Or is already part of
your latest SVN commits? I'd love to try it out, and am downloading the NB
ruby build now.
--Chris
On 10/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Martin Krauskopf wrote:
> > Then when JRuby interpreter is sele
Guys,
Well, I've spent a good amount time the past day or two trying to understand
why stepping through code in a Rails controller doesn't work. It stops on
my breakpoint ok, but when I try to step to the next line it just continues
without stopping on the next line. I think I've finally isolate
this change but didn't want
to without asking since I haven't yet touched ruby-debug-ide.
--Chris
On 10/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> > Cool, what did you have to change in jruby-debug? Or is already part of
> > your lat
we have more work to do, of
> course. Are there situations where it consistently fails?
>
> Pete
>
> P.S. Recent revisions of trunk use an array for the name attribute in
> @JRubyMethod vs. name1, name2, etc. I'll revert r316 to match.
>
> On 10/22/07, Chris Nelson &l
Looks like that's actually the right thing to do. rdebug with MRI
> does the same thing. It's heading off into the Rails' implementation
> of Class#const_missing looking for Car.
>
> JRuby rdebug log attached.
>
> Pete
>
> On 10/23/07, Chris Nelson <[EMAIL PRO
s 1.2.5 in
both.
On 10/22/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
>
> Hmm... ok, I think I must have seen a change from Rails 1.2.5 here and
> gotten confused. In MRI it was stepping into ActiveRecord, but that was
> because it was Rails 1.2.3. Looks like it's working. Awe
Seems like this is a good time to start the discussion of which gems to
install where. There are actually several gems which comprise the "fast"
ruby debugger:
1. ruby-debug-base: this is the gem that implements the core debugging
functionality and contains the only native code. jruby-debug buil
On 10/27/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
> Also...on the "import" deprecation issue: we kinda made our bed in 1.0
> by including "import", and we can't really deprecate it on the 1.0 line.
> But we could deprecate it in 1.1 and provide an alternative. I'd feel
> better about t
Duh, i found jruby-1124 myself.
On 10/29/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
>
>
>
> On 10/27/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
>
> > Also...on the "import" deprecation issue: we kinda made our bed in 1.0
> > by includ
Yikes. I understand now, thanks. Kind of darned if we do, darned if we
don't.
On 10/29/07, Ola Bini <[EMAIL PROTECTED]> wrote:
>
> Chris Nelson wrote:
> >
> >
> > On 10/27/07, *Charles Oliver Nutter* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTEC
According the rubyforge docs, if you try to release a gem of the same name
as a gem already released in a different project, it will just ignore you (e
g not add it to the gem index). So we won't break anything, but probably
won't have any effect. According to Jim Weirich of the rubygems team, (w
Hmm... but the gem dependency from ruby-debug is going to be a problem.
There is no way specify a depency from the ruby-debug gem to ruby-debug-base
or jruby-debug-base. And you won't be able to install ruby-debug-base (MRI
version) on jruby because of c code. So changing the require is not
enoug
On Oct 31, 2007 3:32 PM, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
> Chris Nelson wrote:
> > Hmm... but the gem dependency from ruby-debug is going to be a problem.
> > There is no way specify a depency from the ruby-debug gem to
> > ruby-debug-base or jruby-debug-bas
I'd definitely try to make it!
--Chris
On Nov 11, 2007 11:56 AM, tsuraan <[EMAIL PROTECTED]> wrote:
> > Would any folks be interested in making a pilgrimage to JRuby central? I
> > wouldn't be surprised if we had at least 4-5 out of the six core devs on
> > site for any event.
>
> I'm not a JRub
flux, with different apps getting very different results.
--Chris
On Feb 1, 2008 7:25 AM, Alexey Verkhovsky <[EMAIL PROTECTED]>
wrote:
> On Jan 30, 2008 4:05 PM, Chris Nelson
> <[EMAIL PROTECTED]> wrote:
> > Here are the slides for a presentation I gave at the Columbus
All,
Has anyone had any luck getting JRuby 1.1RC3 running a Rails app using
Warbler. The current version of warbler bundles RC2 and I built a
jruby-complete jar with RC3 and copied it into the war file. Now I'm
getting:
java.lang.NoSuchMethodError:
org.jruby.RubyClass.newInstance([Lorg/jruby/ru
Ok... looks like the current warbler version is 0.9.3 which contains
goldspike 1.5 and JRuby 1.1RC2. Any chance we could a new version out which
works with JRuby 1.1RC3? I'm going to be demoing at TheServerSide on
Thursday and would love to have a newer version of warbler to show off and
have it
. That would be a little
embarassing, as I'm sure this is something people would like to see, but so
be it.
--Chris
On Mon, Mar 24, 2008 at 1:23 PM, Nick Sieger <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 24, 2008 at 12:14 AM, Chris Nelson
> <[EMAIL PROTECTED]> wrote:
> >
r, Collaborative Software Initiative
> [EMAIL PROTECTED]
> http://www.csinitiative.com
>
>
> Chris Nelson wrote:
> > I was planning on demoing using 1.1RC3 and using warbler. I tried just
> > building my own snapshot build of goldspike 1.7 and including that,
> > using th
gt; > http://repository.codehaus.org/org/jruby/jruby-complete/1.1RC3
> >
> > http://repository.codehaus.org/org/jruby/extras/goldspike/1.6/goldspike-1.6.jar
> >
> > Mike
> >
> > Mike Herrick
> > Program Manager, Collaborative Software Initiative
> > [EMAIL PROTECTED]
>
Charles, Tom, et all,
Was discussing this in IRC just now and thought I'd ask it here too. I'm
about to start in on adding relationship support to jruby-hibernate and ran
into the following conundrum. Let's say I have 2 classes, Event and Log,
and Event has a many-to-one bi-directional relations
The first problem is not the annotation, it's the method signature. I need
to call add_method_signature for a method whose return type is a class that
has not yet been reified.
--Chris
On Tue, Nov 24, 2009 at 4:15 PM, Nick Sieger wrote:
> On Tue, Nov 24, 2009 at 10:37 AM, Chri
: Chris Nelson
Assignee: Thomas E Enebo
Fix For: JRuby 1.0.0
Looks like the rake script got checked in, (my guess is by Tom ;) ) with a bad
shebang line. Should be changed to:
#!/usr/bin/env jruby
to match other scripts.
--
This message is automatically generated by
: JRuby 1.0.1
Environment: linux, java5
Reporter: Chris Nelson
puts $? blows an NPE. Either RubyGlobal.LastExitStatusVariable.get needs to
check for null or ThreadContext needs to initialize lastExitStatus to be
RubyNil.
--
This message is automatically generated by JIRA
Environment: jruby trunk on 10/11
Reporter: Chris Nelson
Priority: Blocker
Attachments: file_test.rb
This is a regression from 1.0, and a pretty bad one it appears. Test case
attached which passes in MRI and 1.0
--
This message is automatically generated by JIRA.
-
If
Patch needed for jruby-debug
Key: JRUBY-1420
URL: http://jira.codehaus.org/browse/JRUBY-1420
Project: JRuby
Issue Type: Bug
Reporter: Chris Nelson
Assignee: Thomas E Enebo
Reporter: Chris Nelson
Assignee: Thomas E Enebo
Priority: Critical
I was able to package my gem untill very recently, but something added in the
code base now causes this:
rake aborted!
undefined method `flush' for nil:NilClass
/home/ccnelson/workspace/jruby-sv
Versions: JRuby 1.1b1
Reporter: Chris Nelson
Assignee: Thomas E Enebo
Looks like this is a regression due to some new stuff that's been added to
trunk. I can use 1.0.2 and call setSecurityRestricted(true) and am able to use
JRuby in an applet but this fails in
Issue Type: Bug
Components: ActiveRecord-JDBC
Affects Versions: ActiveRecord-JDBC-0.9.1
Environment: MSQLServer type 4 jdbc driver downloaded from MS
Reporter: Chris Nelson
The error is: ActiveRecord::ActiveRecordError: The conversion from ntext to
59 matches
Mail list logo