Tuesday, February 27, 2007

JRuby Setup

Recently got a JRuby/Rails system with Java integration up and running. Unfortunately, it took quite a few hours, as most of the docs and code you find through Google are out of date.

If you use JRuby 0.9.2 from Codehaus, you will get an error similar to this when you try to access a rails application:

[2007-02-26 17:54:59] INFO WEBrick::HTTPServer start: pid=22540508 port=3000
<ArgumentError: Anonymous modules have no name to be referenced by>
active_support/dependencies.rb:402:in `to_constant_name'...

If you're stuck in this rut, fear not! Nick Sieger has written very helpful instructions which outline how to get and set up the latest development snapshot. Please note that in addition to the instructions, you need to set your JRUBY_HOME environment variable. Under Windows, do something like this:

set JRUBY_HOME=c:\jruby

If you'd prefer not to use the snapshot, you can get the source code through subversion from:


but at the time of this post, you need to run svn checkout or update with "--ignore-externals" to avoid the following error:

Error: URL 'svn://rubyforge.org/var/svn/bfts/bfts/trunk' doesn't exist

Many thanks to Nick Sieger and the JRuby user mailing list for their help.


Unknown said...

[2007-02-26 17:54:59] INFO WEBrick::HTTPServer start: pid=22540508 port=3000
"ArgumentError: Anonymous modules have no name to be referenced by>
active_support/dependencies.rb:402:in `to_constant_name'...

This happens when jars(like bcprov) required by ActiveRecord JDBC/rails-integration are not in classpath. In my case i had to add it the glassfish`s lib folder

Unknown said...

Thanks for the writeup James.

We'll endeavor to improve and update the documentation for the new release, due out shortly. Stay tuned!

Anonymous said...

Now do you worried about that in the game do not had enough aion kina to play the game, now you can not worried, my friend told me a website, in here you can buy a lot aion online kina and only spend a little money, do not hesitate, it was really, in here we had much aion gold, we can sure that you will get the cheap aion kina, quick to come here to buy aion kina.

Now do you worried about that in the game do not had enough Anarchy credits to play the game, now you can not worried, my friend told me a website, in here you can buy a lot Anarchy Online credits and only spend a little money, do not hesitate, it was really, in here we had much Anarchy gold, we can sure that you will get the Anarchy online gold, quick to come here to buy AO credits.

Anonymous said...



Anonymous said...

China Wholesale has been described as the world’s factory. This phenomenom is typified by the rise ofbusiness. Incredible range of products available with China Wholesalers “Low Price and High Quality” not only reaches directly to their target clients worldwide but also ensures that wholesale from china from China means margins you cannot find elsewhere and buy products wholesaleChina Wholesale will skyroket your profits.

Anonymous said...

Women’s nike tn Shox Rivalry est le modèle féminin le plus tendance de baskets pour le sport. tn chaussuresConcernant la semelle : le caoutchouc extérieur, l’EVA intermédiaire et le textile intérieur s’associent pour attribuer à la.ed hardy shirts pretty fitCharlestoncheap columbia jackets. turned a pair of double plays to do the trick.Lacoste Polo Shirts, , Burberry Polo Shirts.wholesale Lacoste polo shirts and cheap polo shirtswith great price.Cheap Brand Jeans ShopMen Jeans - True Religion Jeans nike shoes & Puma Shoes Online- tn nike,Thank you so much!!cheap polo shirts men'ssweate,gillette mach3 razor bladesfor men.As for

Anonymous said...

















Anonymous said...

como comprar cialis
viagra bestellen
levitra kaufen
rezeptfrei cialis
achat cialis en ligne
cialis bestellen
pharmacie prix discount
ricetta levitra

Adi said...

Oes Tsetnoc one of the ways in which we can learn seo besides Mengembalikan Jati Diri Bangsa. By participating in the Oes Tsetnoc or Mengembalikan Jati Diri Bangsa we can improve our seo skills. To find more information about Oest Tsetnoc please visit my Oes Tsetnoc pages. And to find more information about Mengembalikan Jati Diri Bangsa please visit my Mengembalikan Jati Diri Bangsa pages. Thank you So much.

Anonymous said...

kamagra bestellen
viagra kaufen
cialis rezeptfrei
sinequan bestellen ohne rezept
zyloprim online apotheke
levitra ohne rezept kaufen
cialis super active bestellen ohne rezept
propecia online bestellen
cialis soft rezeptfrei
viagra online apotheke

Anonymous said...

lovegra farmacia on line
zyban sr italia
kamagra oral jelly france
kamagra soft en pharmacie
viagra super active rezeptfrei kaufen
acheter vigora france
costo kamagra soft
cialis soft ohne rezept kaufen
vendita viagra super active
nolvadex pharmacie
zyloprim bestellen
viagra pharmacie
vermox kaufen
intagra france
propecia kaufen

Anonymous said...

Precio accutane Espana
Achat cialis super active plus en ligne
Comprare cipro Online
Comprare zithromax Italia
Achat minocin en ligne
Comprar anafranil Internet
Precio kamagra Espana
nolvadex Rezeptfrei Kaufen
Prix minocin France
Comprare cialis Farmacia
effexor xr Online Rezeptfrei
Comprar minocin Farmacia

invierta en proyectos said...

I look forward to reading more on the topic in the future. Keep up the good work! This blog is going to be great resource. Love reading it.

tn requin said...

tn requin
chaussures tn
chaussure requin

kids wall stickers
stickers for wall
wall sticker decal
wall stickers
round tablecloth
vinyl tablecloths
linens tablecloths
fashion bedding
bath curtains
kitchen faucet
bathroom faucet
shower faucet
baby bedding
bed in a bag
home bedding
kids bedding

wedding jewelry
wedding cake
wedding accessories
wedding dresses
cheap dress shoes
discount handbags
women's shoes
women's handbags
id lanyard
beaded lanyard

unlocked cell phones
mp3 players
digital camera
digital picture frames
flat tv
lcd tv
hd tv
portable GPS
GPS navigation
bluetooth gps
handheld gps

travel guide
travel luggage
camping tents
sleeping bag
car parts
car gps
car tires
car seat cover

sexual health
wholesale lots

Larah said...

Some freelance writer doing their work very well as for me.

web design newcastle said...

I found so many interesting stuff in your blog especially its discussion.

honey beekeeping said...

Pretty good post.I found your website perfect for my needs. thanks for sharing the great ideas.

cemetery tombstones said...

its really very great and informative post. thanks for sharing the information.

Fort Bragg said...

Its always good to get useful information like you share for blog posting. thanks for the info.

service desk management said...

Such a very valuable information. Thanks for this excellent read.

Magic service desk analysis said...

I would like to thank you for the efforts you have made in composing this article. thanks for sharing the great information.

polo shirts said...

History of polo ralph lauren. Polo fashions had its humble beginnings in 1968 when tie salesman Ralph Lauren gave it a kick start. By 1969 he had a boutique polo ralph lauren factory stores within the Manhattan department store Bloomingdale's. ... Brands and luxury standard. Since Ralph Lauren's first brand, Polo Ralph Lauren, was launched, the company has expanded to include a variety of luxury brands such as Polo Golf, Polo Denim, Polo Sport. You can buy cheap Ralph Lauren Clothing at Ralph Lauren outlet.Also We provide polo shirts
Ralph Lauren polo shirt, 50% OFF! polo ralph lauren outlet online is your best choice!In 2006, polo ralph lauren outlet became the first designer in Wimbledon's 133-year history to create official uniforms for the tournament. As part of this year's event, which starts next week, polo ralph lauren sale will introduces the first ... determination to maintain and enhance the values for which our two brands are famous throughout the world. The rugby ralph lauren brand brings to Wimbledon the look of timeless elegance, drawing on our rich history and traditions

Cheap Minnesota Twins Tickets said...

I look forward to reading more on the topic in the future. Keep up the good work! This blog is going to be great resource. Love reading it.

Cheap George Strait Tickets said...

Keep up the good work! This blog is going to be great resource. Love reading it.

financial spread betting said...

It may take a while but it will be worth it in the end. Let's hope it works better next time.

Cheap Wicked Chicago Ticket said...

very great and informative post. thanks for sharing the information.

Justin Bieber Miami Tickets said...

the documentation for the new release, due out shortly. Stay tuned!

Radio City Christmas Spectacular Tickets said...

Keep up the good work! This blog is going to be great resource. Love reading it.

Anonymous said...

Y te vi bailar bajo la lluvia
y saltar sobre un charco de estrellas
Obama Is Lying<1>
When was the last time the MSM took a Republican's side in a fight over credibility with a Democratic opponent?Microsoft OfficeOffice 2010Well, it has been a while.Microsoft Office 2010However, conservatives have little to grumble about in the recent Office 2007face-off between Barack Obama and John McCain over McCain's statement thatte vi bailar bajo la lluvia
esperando la luna llena
Volverás a reírte de veras
Microsoft Office 2007troops might have to remain for "100 years" in Iraq "as long as Americans are not being injured or harmed or wounded or killed" afterOffice 2010 keyfighting had concluded, Office 2010 downloadMost recently, ABC's Jake Tapper noted that at least on three occasions Obama had personally said that McCain favored cuando creas que estaba perdidovolverás a reírte de veras
continued fighting in Office 2010 ProfessionalIraq for 100 years. Tapper concluded that "Obama has in the past distorted McCain's comments" and "that he is violating his own stated si te quedas conmigoTe vi bailar bajo la lluviaesperando la luna llente vi llorar bajo la lunMicrosoft outlookaspirations...[b]ecause not only has he distorted what McCain said, he is not being honest about having made those distortions."Outlook 2010Tapper is not the only MSM reporter to point this out, Windows 7of course. It is not every day that the RNC sends around e-mail blasts quoting Frank Microsoft outlook 2010Rich ("Barack Obama and Hillary Clinton should be ashamed of themselves for libeling John McCain") and reports from the Chicago Tribune,

Unknown said...

All those sequels will be fed to Starz as part of the new distribution deal. Other Weinstein Co. films coming to Starz include critically acclaimed "The King's Speech," and "Blue Valentine." nice and cheap ugg boots is on display right now at Harrods ugg clearance in London, but once released, will there be a market for it? The new green luxury car gives the environmentally conscious executive cheap uggs clearance the option of powering the CT 200H by either electricity orjordan basketball shoes by regular petrol. Lexusugg women is banking on the belief that there is a growing demand for a greenJordan Fusions. vehicle in the luxury car market.

Anonymous said...

plavix acheter en ligne
achat xenical
Rezeptfrei propecia
accutane Rezeptfrei Kaufen
amoxil Ohne Rezept
nolvadex Rezeptfrei Bestellen
priligy france
achat cipro en ligne
achat lovegra france
nolvadex Rezept
plavix Rezeptfrei Kaufen
achat cipro france
xenical Rezeptfrei Apotheke
accutane france
plavix acheter
flagyl acheter
achat nolvadex
viagra Ohne Rezept
acheter lovegra en ligne
kamagra Online Rezeptfrei
acheter cialis soft en france
levitra Ohne Rezept Kaufen
acheter lovegra pas cher
kamagra oral jelly Rezeptfrei Bestellen
viagra soft Online Rezeptfrei
diflucan Ohne Rezept
cialis soft Rezeptfrei Apotheke
achat kamagra oral jelly france
Ohne Rezept propecia Apotheke
proscar france
acheter strattera pas cher
viagra soft Ohne Rezept
zithromax auf Rezept

Anonymous said...

xenical Ohne Rezept Kaufen
kamagra Prix de Vente
proscar Ohne Rezept Bestellen
Buy accutane online
lasix Bestellen
lasix Prix en France
acheter nolvadex en ligne
Rezeptfrei kamagra
clomid Ohne Rezept Bestellen
flagyl Ohne Rezept Kaufen
Rezeptfrei cialis soft
achat flagyl france
lamisil Kaufen

Ohne Rezept proscar Apotheke
lovegra Rezeptfrei Kaufen
clomid Ohne Rezept
Prix cipro Pharmacie
strattera Ohne Rezept
achat diflucan
viagra soft Online Rezept
cialis Online Rezeptfrei
Rezeptfrei flagyl
proscar Ohne Rezept Kaufen
viagra acheter en ligne
amoxil Rezeptfrei Kaufen
acheter kamagra en france
achat propecia
clomid Rezeptfrei Kaufen
accutane france
Order lasix
cialis soft Ohne Rezept Kaufen

clarebear said...

We are China online Wholesale Beads store, China Wholesale Beads is your best choice. China jewelry findings and jewelry making supplies for wholesale.We offer you Jewelry Supplies, Jewelry Findings, Jewelry Beads at the cheapest price. We are specialized in Wholesale Jewelry Supplies, Wholesale Jewelry Findings, Tibetan Style Beads, Tibetan Silver Beads, Tibetan Silver Charms, Wholesale Acrylic Beads, Wholesale Crystal Beads, Wholesale Jewelry Charms, Pandora Style Beads, Lampwork Beads, Metal Beads, Gemstone Beads, Wood & Nut Beads. Buy more get more discount.

elizabeth bernot said...

Costa Rica Fishing


Fishing Costa Rica

Anonymous said...

Recently obtained a Cheap Runescape GoldJRuby/Rails software program with Java integration up and running. Unfortunately, it took very various hours, as most while using WOW Golddocs and value you uncover by means of yahoo are previous date.

Unknown said...

Nice post! Can’t wait for the next one. Keep stuff like this coming. Nice Post keep it up.

Asus - N55SL-DS71 15.6" LED Notebook - Intel Core i7 i7-2670QM 2.20 GHz - Black

Asus - 11.6"ZENBOOK Ultrabook 4 GB Memory and 128 GB Solid State Drive - Aluminum Silver

Asus - 13.3" Laptop - 4GB Memory - 128GB Solid State Drive - Hot Pink

Asus - 11.6" Laptop - 4GB Memory - 128GB Solid State Drive - Radiant Silver

Asus - 15.6" Notebook 8 GB Memory - 500 GB Hard Drive - Black

qqqqqq said...

0821jejeCe sont asics gel lyte iii homme pour la plupart le couteau de chasse / utilitaire L76 et L77 de Western States asics gel noosa tri 10 femme Cutlery. Mais qu'est-ce qui rend ce sérum si efficace pour les chéloïdes? asics gel lyte 3 beige homme Lorsque nous considérons le luxe, la structure et les qualités basket femme adidas zx flux pas cher des produits Urban Use, nous observons des capacités illimitées parmi ces nike air jordan 5 homme accessoires. et Yue Yuen Industrial (Holdings) Ltd., le plus grand asics gel lyte bordeaux homme fabricant de chaussures de sport et de loisirs de marque, qui chaussures enfants nike air max produit des OEM pour de grandes marques internationales telles que Nike, adidas, Reebok, etc. baskets nike presto fly

5689 said...

giuseppe zanotti
michael kors outlet
golden goose
moncler outlet
ralph lauren
adidas superstar
kate spade handbags
pandora jewelry
jordan uk

yanmaneee said...

christian louboutin shoes
lebron 11
nike air max
off white hoodie
jordan shoes
nike air max 2018
lebron james shoes
golden goose sneakers
supreme outlet
hermes bags

yanmaneee said...

air jordan
pandora jewelry
adidas yeezy
curry shoes
golden goose outlet
off white shoes
lebron james shoes
longchamp outlet

Unknown said...

cliquez pour en savoir plus sacs de créateurs de répliques Découvrir plus sacs répliques hautes redirigé ici réplique dolabuy