Glassfish gem + rails 3 issues

I’m using glassfish gem to run our rails 3 app in development mode.
It’s taking forever to serve up a simple rails scaffold view, over 30
seconds. The rails logs show the requests completing in just
milliseconds. It’s like the requests hit glassfish but never make it
to rails for several seconds. The slowest responses are the requests
for static files, javascript/css files in public.

Use webrick via script/rails server, problem goes away everything
works fine nice and snappy.

Chris

When I do a “gem install glassfish”, I get an error,

“ERROR: Could not find a valid gem ‘glassfish’ (>= 0), here is why:
Found glassfish (0.1.2), but was for platforms universal-java-1.5
,universal-java”

What should I do to fix this error?

How do you end up with 0.1.2, which is 3 years old?

Can you tell us what your environment look like? (OS, JRuby version, JVM
version, etc.)

What happens if you specify version?

gem install glassfish -v 1.0.3