Components: Core Classes/Modules
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.6
This is pretty wacky. We must not be checking if a resource in classloader is a
directory when doing a 'load'. Not sure why this wouldn't affect 'require
Classes/Modules, Parser, Ruby 1.9
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
Not sure if this is a gap in RubySpec, but the named capture support in JRuby
is not scoping its variables correctly
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
Recent parser work exposed this problem. Heredocs within an encoded file do not
appear to propagate the encoding.
File:
{noformat}
# encoding: utf-8
x = EOD
él piDió Un bUen café
EOD
{noformat
Components: Parser, Ruby 1.9
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
File:
{noformat}
# encoding: utf-8
/#12371;/u
{noformat}
Error:
{noformat}
~/projects/rails/activesupport #10132; jruby --1.9 -c
: Core Classes/Modules, Ruby 1.9
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
Example (this should produce 10=20):
{noformat}
~/projects/rails/activesupport #10132; jruby --1.9 -w -Ilib:test
-ractive_support/core_ext/object
I realized today I never described how JRuby has been maintaining its
copy of the Ruby stdlib. This email will do that.
JRuby uses MRI's stdlib almost completely intact, but there are some
differences. For example:
* timeout.rb is replaced with a native version that uses timed
executor pools
Create full Exception hierarchy in Java types
-
Key: JRUBY-5284
URL: http://jira.codehaus.org/browse/JRUBY-5284
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Issue Type: Bug
Components: Parser, Ruby 1.9
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
This does not produce an error under JRuby:
{noformat}
$ ruby1.9 -v -S irb
ruby 1.9.3dev (2010-10-09 trunk 29431) [x86_64
Type: Bug
Components: Ruby 1.9
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
Ruby 1.9 no longer includes the . dir in the default load path. We can make
this change, and JRUBY-5251 tracks the progress of that fix
Library
Affects Versions: JRuby 1.5.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
The 'singleton' library lazily initializes a single object instance once
included into a given class. However, it's possible
: Bug
Components: Parser
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Affects not specs in RubySpec.
{noformat}
1)
not() returns false if the argument is true FAILED
Expected true
to equal false
/Users/headius/projects
Type: Bug
Components: Ruby 1.9, RubySpec
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
This is a peculiar one. If I fix the RubySpec language/predefined which checks
that '.' is not part of the default load path, a simple
/Modules, RubySpec
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
{noformat}
2)
Numeric#step with [stop, +infinity] does not yield when self stop FAILED
Expected [100.0, 42.0]
to equal []
/Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:175
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, RubySpec
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
{noformat}
Random#rand with Range considers Integers as Floats if one end point is a float
FAILED
Expected 1 (Fixnum
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, RubySpec
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
{noformat}
Kernel#require_relative raises a TypeError if argument does not respond to
#to_str FAILED
Expected
: Charles Oliver Nutter
Fix For: JRuby 1.6
There are several Marshal specs that show Ruby 1.9 has altered marshal format
incompatibly with 1.8. In order to support Ruby 1.9, we'll probably need to
implement the new format.
Failing specs:
fails:Marshal.dump dumps an object having ivar
Components: Interpreter
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Priority: Critical
Fix For: JRuby 1.6
The new backtrace branch executes compiled code faster, but has a bit more
overhead for interpreted method calls due to the extra Backtrace
Components: Compiler
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Priority: Blocker
Fix For: JRuby 1.6
For the new backtrace logic, I formalized the mangling of Ruby method names to
JVM method identifiers
doug...@theros.info wrote:
Do we have some kenai dump available?
On Tue, Nov 23, 2010 at 11:27 AM, Mike Dalessio mike.dales...@gmail.com
wrote:
Hello,
On Tue, Nov 23, 2010 at 4:08 AM, Charles Oliver Nutter
head...@headius.com
wrote:
We need to move the wiki off Kenai...not because there's
On Tue, Nov 23, 2010 at 7:27 AM, Mike Dalessio mike.dales...@gmail.com wrote:
I recently did something similar to help move the debian-ruby wiki, which
used creole wiki markup.
I extended mcbean (https://github.com/flavorjones/mcbean), which might be a
flexible-enough option for you to build a
Type: Improvement
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
--profile support was added in 1.5.5, but there are many improvements needed:
* If the JVM exits with ^C, profile information
I committed an update to my fix for JRUBY-5114. Originally I had hoped
we could get away with never autoclosing streams, since users SHOULD
be closing them manually and not leaving them for GC to clean up.
However, that behavior is expected by so many Ruby users, I backed off
on that change.
We need to move the wiki off Kenai...not because there's anything
wrong with Kenai itself, but it's sort of in limbo right now and new
users can't add accounts.
So I've started on a small project to help convert the MediaWiki
formatting to something else, focusing on Markdown for now:
Reporter: Charles Oliver Nutter
I started an attempt to make hash args faster by forcing them into a
single-bucket hash (linear searching instead of hashing) and cutting out
resize/rehash checks. The result is here: https://gist.github.com/711005
Unfortunately, this does slow down access
: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.6
Pretty ugly error output when gemify can't get a list of artifact versions:
https://gist.github.com/708640
In this case
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
We recently added bin/jruby.sh for folks on platforms where bash is unavailable
or hard to get. Unfortunately, the script does not properly preserve quoted
arguments.
{noformat}
~/projects/jruby #10132; bin/jruby.sh -e
: Charles Oliver Nutter
Assignee: Thomas E Enebo
The jruby-launcher (binary 'jruby' executable) and jruby.bash both support
using -Xprop.erty=value rather than -J-Djruby.prop.erty=value, but because of
JRUBY-5197 I was unable to add it to jruby.sh. This needs to be done
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6
Reporter: Charles Oliver Nutter
In MRI 1.8 and JRuby prior to the new backtrace logic, caller(0) from within an
eval shows as its 2nd element (index 1) the *caller's* caller
Maven RubyGems improvements
---
Key: JRUBY-5173
URL: http://jira.codehaus.org/browse/JRUBY-5173
Project: JRuby
Issue Type: Improvement
Components: Extensions
Reporter: Charles Oliver Nutter
: JRuby
Issue Type: Bug
Environment: jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06
f3a3480) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Reporter: Roger Pack
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
re: http://www.ruby
Affects Versions: JRuby 1.5.2
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
We monkey-path Gem.set_paths in defaults/jruby.rb to strip out non-existent
paths. This was done to clean up the badly-split URL pieces
: JRuby 1.5.2
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.6
Scala ships some classes that have $ in their names (and perhaps inner-class
class attributes) that are not inner classes and do not have inner classes.
This breaks java.lang.Class.getDeclaredClasses, and causes
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.5.3, JRuby 1.6
Recently our builds started deadlocking because receiveMail (triggered from
outside the thread) would lock first on the RubyThread instance and then try to
interrupt the thread
Components: Core Classes/Modules
Affects Versions: JRuby 1.5.1
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.5.2
This script leaks badly:
{noformat}
require 'net/imap'
1.times.each do |i|
puts connection #{i}
imap = Net
Integration
Affects Versions: JRuby 1.5.1
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
We setAccessible methods when security policies allow it and they might need to
be accessible (such as when dealing with protected or package
Here's my concerns:
* We've already started moving our build into Rake a bit by bit, and
the bootstrapping question becomes apparent very quickly. In other
words, we need JRuby (or Ruby) to run Buildr/Rake, but need
Buildr/Rake to build JRuby.
* Our Ant build has been a bitch to maintain, but now
Components: Core Classes/Modules
Affects Versions: JRuby 1.5.1
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.6
In working on the C ext support for JRuby, Tim Felgentreff discovered that we
now fail a set of RubySpecs of the following form:
{noformat}
it loads
Affects Versions: JRuby 1.5.1, JRuby 1.6
Reporter: Charles Oliver Nutter
Tony Arcieri got his app to boot under GF V3's directory deployment, but when
it tries to load Nokogiri it presents an FFI error:
http://gist.github.com/raw/467442/9b8e9cce1e256ad86b6e855283014e156da93188/gistfile1
Affects Versions: JRuby 1.5.1
Reporter: Charles Oliver Nutter
Priority: Minor
There are several failures against test/bigdecimal/test_bigdecimal.rb from
Ruby's ruby_1_8 branch. One of them (test_exception_overflow) runs forever
(also needs to be fixed), so I applied
: Charles Oliver Nutter [mailto:head...@headius.com]
Sent: Sunday, June 13, 2010 6:28 PM
To: dev@jruby.codehaus.org
Subject: Re: [jruby-dev] Improving Ruby to Java call performance: no
instance vars or singletons
On Sun, Jun 13, 2010 at 11:19 PM, Charles Oliver Nutter
head...@headius.com wrote
, so that if you run on an MLVM build with
coroutine support, it will go the fast route instead.
Let me know what you think and if you have any questions.
-- Forwarded message --
From: Charles Oliver Nutter head...@headius.com
Date: Mon, Jun 14, 2010 at 2:38 PM
Subject: Re: hg
On Sat, Jun 12, 2010 at 3:53 PM, Ola Bini ola.b...@gmail.com wrote:
I do see the need to make these kind of changes, based on their performance
impact. But I still have reservations (maybe because I'm one of the people
who write code that usually sets instance variables on Java objects, and
On Sun, Jun 13, 2010 at 2:54 AM, Wayne Meissner wmeiss...@gmail.com wrote:
Could the weak ref wiring be done lazily, so the overhead is only
incurred when someone sets an ivar on a java object?
e.g. when a java object enters jruby, it gets a new lightweight
wrapper, but when someone does an
On Sun, Jun 13, 2010 at 11:19 PM, Charles Oliver Nutter
head...@headius.com wrote:
On Sun, Jun 13, 2010 at 2:54 AM, Wayne Meissner wmeiss...@gmail.com wrote:
Could the weak ref wiring be done lazily, so the overhead is only
incurred when someone sets an ivar on a java object?
e.g. when a java
One of the primary remaining perf challenges for JRuby is the cost of
bringing Java objects into the Ruby environment. Currently, all
objects get wrapped with a small wrapper object that implements
IRubyObject. This is primarily because all our call logic requires
receivers and arguments to all be
://jira.codehaus.org/browse/JRUBY-4849
Project: JRuby
Issue Type: Improvement
Components: Miscellaneous
Affects Versions: JRuby 1.5.1
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.6
There's been various times people have gotten confused about where
Thanks for the footwork on this Ketan :) Licensing is the suckiest,
scariest, most annoying aspect of OSS, but hopefully we're trending
toward clarity and away from confusion. If you ask me, I can't imagine
there's a project in the world without some questionable content, and
I wish we could all
sync_ruby in tools dir providing what you want to sync
(tests|stdlib|all), the version that you want to do checkout (1_8_7|1_9_2)
and the locations of the fork and the JRuby's directory.
On Wed, May 12, 2010 at 11:29 AM, Charles Oliver Nutter
head...@headius.com wrote:
Ruby 1.9.2 has been
patchlevel 249) (2010-05-12 676) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_20) [x86_64-java]
Reporter: Tobias Vogele
Assignee: Charles Oliver Nutter
Priority: Critical
Fix For: JRuby 1.5.1
When a Ruby class extends a Java class and has additional
: Charles Oliver Nutter
{noformat}
1)
Net::HTTPHeader#canonical_each when passed no block returns an Enumerator ERROR
LocalJumpError: yield called out of block
/Users/headius/projects/jruby/lib/ruby/1.8/net/http.rb:1267:in
`each_capitalized'
/Users/headius/projects/jruby/lib/ruby/1.8/net/http.rb:1266
Oliver Nutter
{noformat}
10)
Socket.for_fd given a file descriptor adopts that descriptor into a new Socket
object ERROR
IOError: Socket is not connected
/Users/headius/projects/jruby/spec/ruby/library/socket/socket/for_fd_spec.rb:21
/Users/headius/projects/jruby/spec/ruby/library/socket/socket
: JRuby
Issue Type: Bug
Components: RubySpec
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
{noformat}
[java] 1)
[java] Float#to_s outputs the minimal, unique form necessary to recreate the
value FAILED
[java] Expected 0.216115646363885
[java] to equal
Project: JRuby
Issue Type: Bug
Components: RubySpec
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Priority: Minor
{noformat}
[java] 2)
[java] Kernel.load sets the enclosing scope to an anonymous module if passed
true for 'wrap
Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Priority: Minor
{noformat}
[java] Kernel.srand accepts a Bignum as a seed ERROR
[java] RangeError: bignum too big to convert into `long'
[java] /Users/headius/projects/jruby/spec/ruby/core/kernel/srand_spec.rb:37
[java
Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Priority: Minor
{noformat}
[java] 4)
[java] Module#remove_class_variable removes class variable ERROR
[java] NameError: class variable @@mvar not defined for #Module:01x19f21412
[java]
/Users/headius/projects/jruby/spec/ruby
Components: Core Classes/Modules
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Priority: Critical
This is a regression that caused problems for Buildr:
{noformat}
~/projects/buildr #10132; jruby -e a = [1,2,3,4]; p a.find {|x| foo = x 2;
a.delete
: Extensions
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
This was reported in JRUBY-4767 in this comment:
http://jira.codehaus.org/browse/JRUBY-4767?focusedCommentId=221014page
Take a look at JRubyClassLoader and consumers of it. Basically if you
want to load raw bytecode, either from disk or in-memory, you need
your own ClassLoader subclass that exposes the defineClass(byte[] ...)
methods. From there, you can get Class instances and then construct
objects, etc, etc.
On
copy of 1.9.2 stdlibs, so the ones that copied
should be up to date with 1.9.2 head.
On Fri, May 7, 2010 at 10:19 PM, Charles Oliver Nutter
head...@headius.com wrote:
FYI, a week or so ago I pushed a new technique for updating stdlib.
The jruby account on github now has a fork of github.com/ruby
There's actually going to be a Ruby Summer of Code project to do
datamapper + hibernate in some form. Perhaps you'd be interested in
helping to mentor it? We will essentially get a SOC student to work on
the implementation and we can help advise on the design.
I saw you've sent a pull request to
Reporter: Charles Oliver Nutter
Priority: Minor
It's just not in syslog.rb.ffi:
{noformat}
diff --git a/lib/ruby/site_ruby/shared/ffi/platform/syslog.rb.ffi
b/lib/ruby/site_ruby/shared/ffi/platform/syslog.rb.ffi
index 57ce384..b49a432 100644
--- a/lib/ruby/site_ruby/shared
Reporter: Charles Oliver Nutter
The Oniguruma gem basically provides a set of Ruby-land methods and classes to
make it possible to use the Oniguruma regular expression engine in Ruby 1.8
(it's standard in 1.9). I have started a port of it in pure Ruby here:
http://github.com/headius
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.6
This is a problem with earlier versions of jruby-rack, which has
Looks like the improvements I committed last night to eliminate
RubyThread leakage have caused the threadpool mode to break:
http://ci.jruby.org/job/jruby-test-all/126/console
I'll look at fixing that today, but I have to ask: is anyone using or
interested in using threadpooled mode? I added it
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
{noformat}
~/projects/jruby #10132; gem install activerecord-jdbcpostgresql-adapter
ERROR: Error installing activerecord-jdbcpostgresql-adapter:
activerecord-jdbcpostgresql-adapter
Components: Compiler, Miscellaneous
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.6
JRuby has very basic invokedynamic support, and as a result the MLVM folks have
been using it as a testbed for invokedynamic features. However we don't
for solaris, and the ppc-aix one.
I also need to integrate the powerpc-darwin build using lipo or some
other method.
On 22 April 2010 09:56, Charles Oliver Nutter head...@headius.com wrote:
I have just committed fixes for JRUBY-4724 and 4725. There's 13
remaining open issues. Who's working
Components: Performance
Affects Versions: JRuby 1.5.0.RC1
Reporter: Charles Oliver Nutter
The benchmark is here:
http://www.dorkalev.com/2010/04/about-deep-copy-performance-and-another.html
The numbers in the post are almost certainly not using -server and they only
iterate
Type: Improvement
Components: Java Integration
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Priority: Minor
Fix For: JRuby 1.6
For JRUBY-4734, we discovered that our JI subsystem is storing
: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.5
In 1.5, we made a lot of progress toward eliminating the double-wrapping
often, especially in the current state and these
releases I can use from some of my other projects. so there is no
hurry here.
with regards
Kristian
On Tue, Feb 2, 2010 at 7:22 PM, Charles Oliver Nutter
head...@headius.com wrote:
Wow! More inline!
On Mon, Feb 1, 2010 at 11:11 PM, kristian
Another oddity...most of the plugins can't be run without a pom.xml
present? What can we do to change that? Many of them seem like you'd
want them to work anywhere, like IRB...
On Wed, Apr 14, 2010 at 1:03 PM, Charles Oliver Nutter
head...@headius.com wrote:
I'm playing with this a bit today
On Thu, Apr 8, 2010 at 11:37 AM, Joseph Athman jjath...@gmail.com wrote:
Can I be a devil's advocate for not fixing the JRUBY-4677. Wouldn't this
just be fixing a symptom and not the real problem? Isn't the real problem
that the ActiveRecord JDBC adapter is throwing native Java exceptions
I've fixed a couple really tricky bugs the past week and I'd like more
eyes on the changes:
threadContextMap leaks RubyThread on death of adopted thread
http://jira.codehaus.org/browse/JRUBY-4264
Fixed in 364c41a on branch jruby-4264
: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.5
A regression probably introduced by my cleanup of java_import:
{noformat}
~/projects/jruby #10132; jruby -J-cp . -rjava -e java_import
Java::IntegerThing
/Users/headius/projects/jruby/lib/ruby
I committed (and merged a fix for JRUBY-4677 in 323ba1e. For those of
you who don't have all ~5000 JRuby bugs memorized, this is the issue
where rescue Exception did not rescue non-Ruby Java exceptions. The
fix works like it should, capturing Java exceptions for any rescue
Exception, but it
Integration
Affects Versions: JRuby 1.4
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.5
You can rescue Java exceptions like you would Ruby exceptions:
{noformat}
~/projects/jruby #10132; jruby -rjava -e begin; raise
java.lang.NullPointerException.new; rescue
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.5
I added the ability recently to to_java/toJava a RubyClass and get the actual
native backing store's class (or in JI classes, to get the real
Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.5
This doesn't work:
foo.rb
{noformat}
require 'java'
java_require 'foo'
class Foo; end
{noformat
On Fri, Mar 19, 2010 at 12:43 PM, James Britt ja...@neurogami.com wrote:
FWIW the spec example Logan posted for JRUBY-2518 does not add any directory
entries, and the tests does not verify that they can be found.
Perhaps there's a test or spec gap here we could fill?
- Charlie
On Thu, Mar 18, 2010 at 10:56 AM, Ahmed Ragab Nabhan anab...@uvm.edu wrote:
Hi Charlie,
The main method defined in a ruby class is not generated properly by the
jrubyc utility. I mean the function has different signature than expected by
the JVM:
public static Object main(Object args)
delegate.rb is incredibly slow
--
Key: JRUBY-4658
URL: http://jira.codehaus.org/browse/JRUBY-4658
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
: JRuby 1.5
Reporter: Charles Oliver Nutter
Priority: Blocker
Fix For: JRuby 1.5
With this commit: 1312e2915c5f0fcce07fa844acd11d3398d93faa
we started seeing failures on JRockit:
{noformat}
[java] 1)
[java] 'MemoryPointer argument Pointer passed correctly
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Priority: Minor
Currently, RubyArray implements List.remove(Object) by searching for all
occurrences of the object and removing all of them. However, the contract of
List.remove is that it should remove the *first
Up until a commit yesterday, a java_require line was *required* in
the file so it would know what .rb file to load to prepare your
MyRubyClass on the Ruby side of things. But I committed a change
yesterday so that if there's no java_require, it will actually produce
a free-standing .class.
Can
On Tue, Mar 16, 2010 at 10:39 AM, Ahmed Ragab Nabhan anab...@uvm.edu wrote:
I have used the simple utility jrubyc that compiles a .rb file into .java.
When I try to
run the resulting .class file, I got got an exception:
$ jrubyc --java myruby.rb
javac -d /Users/anabhan/Work/Workspace/JavaRuby
Hi Alistair, thanks for posting! Comments below...
On Thu, Mar 11, 2010 at 12:34 AM, Alistair Bush ali_b...@gentoo.org wrote:
May I suggest that the sweet spot for linux binaries is to have them
packaged by there respective distro. Linux users really should be using their
package manager for
On Tue, Mar 9, 2010 at 10:19 AM, Thomas E Enebo tom.en...@gmail.com wrote:
How big would the launcher be if we statically linked libc? That is
the only dynamic load library we have right? A little extra size with
zero dyn-linking issues may be worth it
libc seems like one of those things
If you're interested in compiled Ruby code, please read :)
One of the biggest problems in compiling Ruby code to Java classes has
been deciding on a class name.
Java is very strict about not allowing two pieces of code to load from
the same classloader with the same package and class name. So in
On Mon, Mar 8, 2010 at 4:54 PM, David Calavera david.calav...@gmail.com wrote:
I just did some modification to the Mac installer and I think now it could
be ready for a first version.
Here is the repo: http://github.com/calavera/jruby-mac-installer
Basically, now it creates this directories
On Mon, Mar 8, 2010 at 10:26 AM, Nick Sieger nicksie...@gmail.com wrote:
On Sun, Mar 7, 2010 at 2:50 PM, Charles Oliver Nutter
head...@headius.com wrote:
Ok, we want to go to RC real soon now. Here's a few things I think are
still left unresolved that we need to deal with:
* Native launcher
I'm pretty well convinced now that there's no reason we should be
maintaining a weak map from fileno numbers (our pseudo-file
descriptors) to ChannelDescriptor objects (or file-descriptor-like
wrapper around a NIO Channel). Here's why:
* If you open a file in C and never close it, it will never
Someone provided a patch for a two-year old bug that apparently still
affects AR-JDBC 0.9.3...
-- Forwarded message --
From: nore...@rubyforge.org
Date: Sun, Mar 7, 2010 at 4:29 AM
Subject: [Jruby-extras-devel] [ jruby-extras-Bugs-18604 ]
activerecord-jdbc does not handle
you opened IO in weird ways like using fileno to IO
constructor? something like (not tested just remembered):
a = File.new(foo)
b = IO.new(a.fileno)
I thought these were both supposed to have the same underlying IO crud?
-Tom
On Sun, Mar 7, 2010 at 7:58 AM, Charles Oliver Nutter
head
Ok, we want to go to RC real soon now. Here's a few things I think are
still left unresolved that we need to deal with:
* Bugs marked for 1.5 (44 of them). Obviously we're not going to get
them all in, so we need to start whittling that list away, starting
with the most-critical items.
* jruby
Components: Ruby 1.9
Affects Versions: JRuby 1.5
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Priority: Trivial
Ruby 1.9 (and JRuby's 1.9 mode) loads two scripts on startup: prelude.rb and
gem_prelude.rb (_prelude_internal_.rb
On Wed, Mar 3, 2010 at 7:36 PM, Brian McDevitt
brian.p.mcdev...@gmail.com wrote:
I went with the Jacob-based solution because it seems like the easiest route
and the Jacob project is quite mature. I suspect that once the
method_missing
is working for the Win32OLE class 90% of the integration
and fleshing out the rest of the impl. Feel free to pitch in.
Brian
On Mar 5, 2010, at 11:33 AM, Charles Oliver Nutter head...@headius.com
wrote:
On Fri, Mar 5, 2010 at 10:44 AM, Joseph Athman jjath...@gmail.com wrote:
As far as the FFI version goes, I must say that I don't really know where
On Fri, Mar 5, 2010 at 3:54 PM, Brandon Hauff brandon.ha...@buckle.com wrote:
Hi,
I tested this out and found at least one issue. I posted it on the issues
page at github: http://github.com/bpmcd/win32ole/issues
The logging appears to just be a System.out and probably wouldn't be
the cause
On Tue, Mar 2, 2010 at 2:36 PM, kristian m.krist...@web.de wrote:
Chalres best to contact me is via email or via github
http://github.com/mkristian/jruby-maven-plugins
just keep in mind I live in UTC+5:30 which is kind of a half day to
the US. sometimes I hang around on irc as well . . .
301 - 400 of 1394 matches
Mail list logo