<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.jruby.user">
    <title>gmane.comp.lang.jruby.user</title>
    <link>http://blog.gmane.org/gmane.comp.lang.jruby.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16477"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16470"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16468"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16467"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16463"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16460"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16450"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16447"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16443"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16441"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16438"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16437"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16432"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16426"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16425"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16420"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16417"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16416"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16415"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jruby.user/16413"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16477">
    <title>[jruby-user] local gems installing ruby not jruby</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16477</link>
    <description>&lt;pre&gt;I have jruby installed at `/home/david/apps/jruby` and is not set in
.bash_profile. I do have ruby set at `/home/david/apps/ruby/bin` in
.bash_profile.

I created a hello world gem.


    /home/david/apps/jruby/bin/jruby -S rake install
    test 0.0.1 built to pkg/test-0.0.1.gem
    test (0.0.1) installed

then

    /home/david/apps/jruby/bin/jruby -S gem list --local

    *** LOCAL GEMS ***

    bundler (1.0.22)
    diff-lcs (1.1.3)
    em-proxy (0.1.6)
    eventmachine (0.12.10 java)
    http_parser (0.1.3)
    json (1.5.0 java)
    json-jruby (1.5.0 java)
    macaddr (1.6.0)
    nokogiri (1.5.0 java)
    rake (0.9.2.2)
    rspec (2.8.0)
    rspec-core (2.8.0)
    rspec-expectations (2.8.0)
    rspec-mocks (2.8.0)
    sources (0.0.1)
    systemu (2.2.0)
    uuid (2.3.5)

Not there but it does show up with

david&amp;lt; at &amp;gt;linux-8h1y:~/projects/greyfox/test&amp;gt; ruby -S gem list --local

    *** LOCAL GEMS ***

    ...
    test (0.0.1)
    ...

What am I missing? It is driving me nuts. Please do not recommend RVM, I
have&lt;/pre&gt;</description>
    <dc:creator>Random Programmer</dc:creator>
    <dc:date>2012-05-25T21:08:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16470">
    <title>[jruby-user] unable to set __persistent__</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16470</link>
    <description>&lt;pre&gt;Hello all.
When I attempt to run the demos here:
https://github.com/jruby/jruby/wiki/Persistence

I get this:

jruby test.rb
JavaProxy$INVOKER$i$1$0$persistent.gen:-1:in `call':
java.lang.ClassCastException: org.jruby.RubyClass cannot be cast to
org.jruby.java.proxies.JavaProxy
        from CachingCallSite.java:312:in `cacheAndCall'
        from CachingCallSite.java:169:in `call'
        from test.rb:9:in `__file__'
        from test.rb:-1:in `load'
        from Ruby.java:778:in `runScript'
        from Ruby.java:771:in `runScript'
        from Ruby.java:648:in `runNormally'
        from Ruby.java:497:in `runFromMain'
        from Main.java:375:in `doRunFromMain'
        from Main.java:264:in `internalRun'
        from Main.java:230:in `run'
        from Main.java:214:in `run'
        from Main.java:194:in `main'

(hard exit)

is this expected?


jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-17 c550df6) (Java
HotSpot(TM) Client VM 1.6.0_32) [Windows 7-x86-java]

&lt;/pre&gt;</description>
    <dc:creator>Roger Pack</dc:creator>
    <dc:date>2012-05-23T16:22:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16468">
    <title>[jruby-user] "non-persistent Java type" warning thrown on java class descendant expected?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16468</link>
    <description>&lt;pre&gt;I noticed if I run this code, with trunk:

require 'java'

class JFrameDescendant &amp;lt; javax.swing.JFrame

  def initialize
     &amp;lt; at &amp;gt;panel = 3
  end
end
JFrameDescendant.new


It results in this message:

repro.rb:1 warning: instance vars on non-persistent Java type
JFrameDescendant (http://wiki.jruby.org/Persistence)

However, since I'm actually subclassing a java class with a pure ruby
one, shouldn't I be save to save instance variables? Is this warning
message expected?
-roger-

&lt;/pre&gt;</description>
    <dc:creator>Roger Pack</dc:creator>
    <dc:date>2012-05-23T16:15:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16467">
    <title>[jruby-user] require 'java' circular dependency</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16467</link>
    <description>&lt;pre&gt;Hello all.
Noticed today that with yesterday's build, I get this "scary" message:


$ jruby -ve "require 'java'"
jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-17 c550df6) (Java
HotSpot(TM) Client VM 1.6.0_32) [Windows 7-x86-java]
c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
warning: loading in progress, circular require considered harmful - java
  require at org/jruby/RubyKernel.java:991
  require at
c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
   (root) at c:/dev/ruby/downloads/jruby/lib/ruby/shared/jruby.rb:1
  require at org/jruby/RubyKernel.java:991
   (root) at
c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
  require at
c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
  require at org/jruby/RubyKernel.java:991
   (root) at
file:/C:/dev/ruby/downloads/jruby/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
   (root) at
c:/dev/ruby/downloads/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
  requ&lt;/pre&gt;</description>
    <dc:creator>Roger Pack</dc:creator>
    <dc:date>2012-05-23T16:02:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16463">
    <title>[jruby-user] ActiveRecord 3.0, 3.2 thread safety and connection pool fairness</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16463</link>
    <description>&lt;pre&gt;I've been trying to run a few non-Rails ActiveRecord apps in a Java 
servlet
container in full multithreaded mode. I kept running into problems 
under
moderate load, and I believe I've tracked down the causes.

I want to post this for posterity and ask if other JRuby users have 
seen these
same problems. I am also seeking testing and comments on my patches, if 
possible.

1) ActiveRecord has thread safety issues. I see this error in my logs
"Detected invalid hash contents due to unsynchronized modifications 
with
concurrent users org/jruby/RubyHash.java:1356:in `keys'"

Fix accepted: https://github.com/rails/rails/pull/6398/files

2) ActiveRecord's connection pool is not "fair". My thread pool is 
larger
than my database connection pool, and I regularly see timeouts 
acquiring
database connections under only moderate load (where direct JDBC calls 
for
a container-managed connection pool see no such timeouts).

Fix also accepted (though it somehow breaks tests of eager loading on 
postgres),
but this is more &lt;/pre&gt;</description>
    <dc:creator>Patrick Mahoney</dc:creator>
    <dc:date>2012-05-22T16:49:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16460">
    <title>[jruby-user] [ANN] JRuby 1.7.0.preview1 released</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16460</link>
    <description>&lt;pre&gt;The JRuby community is pleased to announce the release of JRuby 1.7.0.preview1.

- Homepage: http://www.jruby.org/
- Download: http://www.jruby.org/download

This is the first preview release of JRuby 1.7. This release
represents a tremendous amount of work by dozens of contributors, and
there are improvements in every subsystem. Users on Java 7 should
start to see gains from invokedynamic, the JVM’s new support for
dynamic languages. Users of highly-concurrent applications will see
improvements in throughput and raw parallelism. And we have upped our
compatibility level to match Ruby 1.9.3.

We have opted for a preview cycle this time due to the significance of
changes in this release and our desire to give users more time to test
JRuby before releasing 1.7 final. When in doubt, file a bug...we’ll
sort it out. We want to know issues users have with JRuby 1.7 sooner
rather than later.

### Notable Changes:

- 1\.9\.3 is now our default runtime mode (--1.8 is needed for 1.8.7 support)
- Many 1.9.x compati&lt;/pre&gt;</description>
    <dc:creator>Thomas E Enebo</dc:creator>
    <dc:date>2012-05-21T19:55:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16450">
    <title>[jruby-user] Java and JRuby tight integration</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16450</link>
    <description>&lt;pre&gt;Hi

I have a requirement for integrating one of our existing applications
written in Ruby with another Java application. They need to appear seamless
and thereby share the same information (e.g. session).  At this stage, most
of the information is available through a UI powered by Ruby.

My migration idea is to migrate Ruby to JRuby and then integrate this with
the Java app.

Is migrating a Ruby application to JRuby a fairly trivial task?
How easy is it for Java to be able to access the JRuby session information
and vice-versa? I assume Ruby/JRuby doesn't encode the session information
in a way that a Java app can't read it straightforwardly? (e.g. doesn't do
what .NET does with the viewstate field)

Are there any gotchas/pitfalls that you would look out for?

Would it be possible to have an approach of dual running both in the same
Java container, and then gradually rewriting one of the applications:
e.g. eliminating the Java code or the Ruby code in favour of the other.
Does one way cause more issues than &lt;/pre&gt;</description>
    <dc:creator>Chris Burrell</dc:creator>
    <dc:date>2012-05-17T22:08:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16447">
    <title>[jruby-user] Uniform Qt bindings for JRuby and Ruby</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16447</link>
    <description>&lt;pre&gt;Hi everyone,
I have just uploaded a new Gem package (qt_connect) with the aim to
provide a uniform Qt API for both Ruby and JRuby platforms. The Gem
provides JRuby bindings to the Qt Jambi Java library with an (optional)
extension to provide backward compatibility with existing Qt Ruby
programs.
The same Gem package provides for Qt Ruby programs a QtJambi inspired
interface to the Signals/Slots system without the need to use C++
signatures.

download from RubyGems.org: gem install qt_connect
project on github: https://github.com/CeesZ/qt_connect

(Qt is a cross-platform application framework that is widely used for
developing application software with a graphical user interface)

&lt;/pre&gt;</description>
    <dc:creator>Cees Zeelenberg</dc:creator>
    <dc:date>2012-05-17T14:10:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16443">
    <title>[jruby-user] awt.FileDialog.set_filename_filter doesn't work</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16443</link>
    <description>&lt;pre&gt;Anybody have any ideas why my "filename filter" doesn't appear to get
called here?


require 'java'
java_import java.awt.FileDialog
    out = FileDialog.new(nil, "title", FileDialog::LOAD)
      out.set_filename_filter {|file, name|
    puts 'hello' # never reached
  }
out.show

&lt;/pre&gt;</description>
    <dc:creator>Roger Pack</dc:creator>
    <dc:date>2012-05-16T19:22:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16441">
    <title>[jruby-user] rawr - include gems?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16441</link>
    <description>&lt;pre&gt;Hi all,

First thing first: I'm quite new to ruby.
I have a small project (a little toy compiler), written in jruby. I'd
like to make a jar out of it, so I tried rawr, but I couldn't seem to
get the thing right.
The problem is that is uses two gems (parslet and bitescript), and I
don't really know how to include them.
The goal would be to be able to run the jar in an environment with no
jruby at all, let alone the gems.
Is that possible? If so, can you please help me with it?

Many thanks,
Zs

&lt;/pre&gt;</description>
    <dc:creator>Zsófia B.</dc:creator>
    <dc:date>2012-05-15T22:55:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16438">
    <title>[jruby-user] Weird behavior in Array#sort of 2 Time objects</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16438</link>
    <description>&lt;pre&gt;I'm seeing some very strange behavior while trying to sort an array with
2 elements.  Here is the code:

      work_periods = day_array[wday] || []
      puts "work_periods=#{work_periods.inspect}"
      puts "work_periods.length=#{work_periods.length}"
      begin
        work_periods = work_periods.sort { |a,b| puts
"a=#{a.start_time.class.inspect} b=#{b.start_time.class.inspect}"; stat
= (a.start_time &amp;lt; b.start_time); puts "stat=#{stat}"; stat }
      rescue Exception =&amp;gt; e
        puts "e=#{e.message}\n\t#{e.backtrace.join("\n\t")}"
        raise
      end
      puts "got here"

And here is the output:

work_periods=[#&amp;lt;WorkPeriod id: 6, weekly_schedule_id: 2, site_id: 1,
day: 1, start_time: "2000-01-01 08:00:00", end_time: "2000-01-01
12:00:00"&amp;gt;, #&amp;lt;WorkPeriod id: 476, weekly_schedule_id: 2, site_id: 2,
day: 1, start_time: "2000-01-01 14:00:00", end_time: "2000-01-01
17:00:00"&amp;gt;]
work_periods.length=2
a=Time b=Time
stat=false
e=undefined method `&amp;gt;' for false:FalseClass
  org/jruby/RubyArray.java:3252:in `so&lt;/pre&gt;</description>
    <dc:creator>Brad P.</dc:creator>
    <dc:date>2012-05-12T17:31:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16437">
    <title>[jruby-user] [ANN] Ruboto 0.6.0 released!</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16437</link>
    <description>&lt;pre&gt;The Ruboto team is proud to announce the release of Ruboto 0.6.0.

Ruboto is a framework for writing full Android apps in Ruby. It includes support libraries and generators for creating projects, classes, tests, and more.

New in version 0.6.0:

Features:

* Issue #143 Move Ruboto Rake tasks to rakelib/ruboto.rake and let Rakefile be project specific
* Issue #155 Switch default compatibility level to Ruby 1.9
* Issue #156 Set default target to Android 2.2 api level 8
* Issue #158 On-device generation of Java subclasses
* Issue #168 Make exception from scripts propagate to the caller for debug packages
* Issue #169 Enable running tests not on UI thread.

Bugfixes:

* Issue #172 ruboto update of BroadcastReceiver adds new_with_callbacks call even if it exists

Support:

* Issue #152 Ruboto release 0.5.3 build tool fails
* Issue #160 Failed to create new project
* Issue #161 More helpful error reporting in app creation process

Documentation:

* Issue #159 non constant values



Installation:

To use Ruboto, yo&lt;/pre&gt;</description>
    <dc:creator>Uwe Kubosch</dc:creator>
    <dc:date>2012-05-10T17:02:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16432">
    <title>[jruby-user] Typhoeus alternatives?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16432</link>
    <description>&lt;pre&gt;Hello all.

I am looking for an HTTP client that can do multiple requests in parallel.

There is the typhoeus gem but I am running on windows and I would rather 
skip the hassle that windows entails with this gem.

Does anyone have any typhoeus alternatives that they have used on JRuby? 
(I seem to remember there was a Java library that someone suggested 
using instead but I cannot remember the name. )

Worst case I simple do the threading part myself and use basic Net::HTTP 
but a nicer solution would be...well, nicer ;)

Cheers

Jeff

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>Jeffrey Jones</dc:creator>
    <dc:date>2012-05-09T08:39:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16426">
    <title>[jruby-user] rake aborted! Please install the jdbcpostgresql adapter</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16426</link>
    <description>&lt;pre&gt;HELP! Please! I'm pulling my hair out!

Ok, I'm just trying to get jruby to work with postgresql.  With
postgresql server running, and webrick running, I create a project,
with:
rails new myproj
I edit the file database.yml to be:
development:
  adapter: jdbcpostgresql
  database: db/development.pg
  username: postgres
  password: XXXXXXXX
  host: localhost

(replacing XXXXXXXX for my real password, same for test &amp;amp; prod).  Then
in a terminal window, in my project directory, I type:
$ sudo jruby -S rake db:create

Error message I get back is:
rake aborted!
Please install the jdbcpostgresql adapter: `gem install
activerecord-jdbcpostgresql-adapter` (no such file to load --
active_record/connection_adapters/jdbcpostgresql_adapter)

But, I've already installed it with:
$ sudo jruby -S gem install jdbc-postgres
activerecord-jdbcpostgresql-adapter

Successfully installed jdbc-postgres-9.1.901
Successfully installed activerecord-jdbcpostgresql-adapter-1.2.2
2 gems installed


I stop webrick, do the install above, r&lt;/pre&gt;</description>
    <dc:creator>Charlie Sager</dc:creator>
    <dc:date>2012-05-06T18:40:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16425">
    <title>[jruby-user] Problems with Ruby.getClass</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16425</link>
    <description>&lt;pre&gt;Hi,

I've ran into a little problem while starting off with JRuby embedding.
I'm using the following code fragment for getting the RubyClass of a class:

String[] paths = new String[]{"."};
Ruby rt = JavaEmbedUtils.initialize(Arrays.asList(paths));
rt.executeScript(FileUtils.readFileToString(new File("bar.rb")), "bar.rb");
System.out.println("cl: "+rt.getClass("Foo::Bar"));

Is the correct way to do it?

The problem is that Ruby.getClass method call returns null.
If I rename class Foo::Bar to Bar the method call returns a non-null value.
I'm working with a code base that uses this naming convention for
subclasses and I can't change the convention.

I'm using JRuby v1.6.7

marko

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
&lt;/pre&gt;</description>
    <dc:creator>Marko Asplund</dc:creator>
    <dc:date>2012-05-06T16:18:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16420">
    <title>[jruby-user] Rails installation question:  jRuby and IBM J9 JVM</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16420</link>
    <description>&lt;pre&gt;Running 'gem install rails'  with jRuby 1.6.7.2 and the IBM J9 JVM 
(running it what would be equivalent to an AIX environment) delivers 
several of these kinds of messages:
/usr/local/jruby-1.6.7.2/lib/ruby/site_ruby/1.8/rubygems/installer.rb:380 warning: 
executable? does not in this environment and will return a dummy value

Question #1: Is there a way to tell which gem it is complaining about?

After the gem installation I saw this error and then an ugly stack trace:
30 gems installed
Installing ri documentation for i18n-0.6.0...
Got throwable in Signal initialisation : 
java.lang.IllegalArgumentException:
Unknown signal: INFO
java.lang.IllegalArgumentException: Unknown signal: INFO
         at 
com.ibm.misc.AbstractSignalInfo.getSignalNumber(AbstractSignalInfo.java:47)
...........

Question #2:
None of the ri documentation installed.  Not fatal but annoying.  Any 
idea what causes this (well, any idea of what unknown signal INFO is?)

I posted similar errors with jRuby about 13 months ago but got no 
re&lt;/pre&gt;</description>
    <dc:creator>Pete Helgren</dc:creator>
    <dc:date>2012-05-03T15:18:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16417">
    <title>[jruby-user] site_ruby/shared/ffi versus gem ffi</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16417</link>
    <description>&lt;pre&gt;I find this confusing. JRuby comes with site_ruby/shared/ffi, but I'm
using gems that depend on gem ffi.  This means that the ffi gem gets
installed.  Would it be best practice for my scripts to use a bundler
Gemfile with ffi referenced?

FWIW most of my development is on windows.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



&lt;/pre&gt;</description>
    <dc:creator>cootcraig</dc:creator>
    <dc:date>2012-05-02T20:18:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16416">
    <title>[jruby-user] [ANN] JRuby 1.6.7.2 released</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16416</link>
    <description>&lt;pre&gt;JRuby 1.6.7.2 Released, Tuesday, May 01 2012

The JRuby community is pleased to announce the release of JRuby 1.6.7.2.

    Homepage: http://www.jruby.org/
    Download: http://www.jruby.org/download

This is a special release of JRuby which only updates our shipped copy
of RubyGems to version 1.8.24. This version of RubyGems is the first
version to verify that a RubyGems server certficate is valid. This
helps to prevent a “man in the middle” style of attack when someone
controls a portion of the network between you and the RubyGems server
(See the release notes for RubyGems 1.8.23 and 1.8.24 for more
details). All users are encouraged to upgrade to JRuby 1.6.7.2.

Note: You may also use the normal RubyGems upgrade mechanisms, but
this will overwrite the Maven support we ship as part of JRuby.


Notable Change:
   - Update to Rubygems 1.8.24

&lt;/pre&gt;</description>
    <dc:creator>Thomas E Enebo</dc:creator>
    <dc:date>2012-05-01T21:08:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16415">
    <title>[jruby-user] jrubyc AOT Java compilation fails</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16415</link>
    <description>&lt;pre&gt;Hi,

I'm trying to compile a Ruby script to Java source code but the compilation
fails with the following error message.
The same script successfully compiles to JVM bytecode.
Are there any known restrictions as to what kind of scripts can be compiled
to Java?
I've tried reading the compiler page
https://github.com/jruby/jruby/wiki/JRubyCompiler but it doesn't seem to
contain any discussion on this matter.

Here's the error message:

jrubyc --verbose --java ruby

Failure during compilation of file src/main/ruby/foo.rb:
org.jruby.parser.ParserSyntaxException: syntax error, unexpected QUESTION
org/jruby/parser/JavaSignatureParser.java:324:in `yyerror'
org/jruby/parser/JavaSignatureParser.java:431:in `yyparse'
org/jruby/parser/JavaSignatureParser.java:28:in `parse'
/Users/aspluma/projects/jruby/jruby-1.6.7/lib/ruby/site_ruby/shared/jruby/compiler/java_class.rb:142:in
`build_signature'
/Users/aspluma/projects/jruby/jruby-1.6.7/lib/ruby/site_ruby/shared/jruby/compiler/java_class.rb:219:in
`ClassNodeWalker'
org/jr&lt;/pre&gt;</description>
    <dc:creator>Marko Asplund</dc:creator>
    <dc:date>2012-05-01T16:45:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16413">
    <title>[jruby-user] All new objects get an ID of 1</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16413</link>
    <description>&lt;pre&gt;I have a problem with my project; when creating Rails is assigning 1 as
the ID to any instance when it is saved as a record, instead of
assigning the id from the database (though records in the database are
assigned the correct ID).


I have done some digging; in ActiveRecord::Base there is a method
create, which calls insert on the connection object, assigning to id the
returned value.

      def create
        # ...
        self.id = connection.insert(statement, "#{self.class.name}
Create",
          self.class.primary_key, self.id, self.class.sequence_name)

Up to this point, id is nil, however, for some reason it is getting set
to 1 by connection.insert, instead of the new id set when the record is
saved.

Following this through, this looks to be an issue with the JDBC adapter.
ActiveRecord::ConnectionAdapters::JdbcAdapter has a method _execute,
which invokes execute(sql) on an instance of
AtiveRecord::ConnectionAdapters::PostgresJdbcConnection , but I cannot
find where that is defined, and I suspect tha&lt;/pre&gt;</description>
    <dc:creator>Andy Joel</dc:creator>
    <dc:date>2012-04-27T13:55:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jruby.user/16405">
    <title>[jruby-user] Netty option for Warbler</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jruby.user/16405</link>
    <description>&lt;pre&gt;Following the recent addition to warbler to support jetty, I was wondering
how a netty-based version would perform and came across
https://github.com/kevwil/aspen

Has anyone used it?

Cheers,

James
&lt;/pre&gt;</description>
    <dc:creator>James Abley</dc:creator>
    <dc:date>2012-04-21T08:31:34</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.jruby.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.jruby.user</link>
  </textinput>
</rdf:RDF>

