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>
["c:/jruby-0.9.2/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
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:
http://svn.codehaus.org/jruby/trunk/jruby
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.
Tuesday, February 27, 2007
Subscribe to:
Post Comments (Atom)
26 comments:
[2007-02-26 17:54:59] INFO WEBrick::HTTPServer start: pid=22540508 port=3000
"ArgumentError: Anonymous modules have no name to be referenced by>
["c:/jruby-0.9.2/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
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
Thanks for the writeup James.
We'll endeavor to improve and update the documentation for the new release, due out shortly. Stay tuned!
como comprar cialis
viagra bestellen
levitra kaufen
rezeptfrei cialis
achat cialis en ligne
cialis bestellen
pharmacie prix discount
ricetta levitra
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
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
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
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.
Some freelance writer doing their work very well as for me.
I found so many interesting stuff in your blog especially its discussion.
Pretty good post.I found your website perfect for my needs. thanks for sharing the great ideas.
its really very great and informative post. thanks for sharing the information.
Its always good to get useful information like you share for blog posting. thanks for the info.
Such a very valuable information. Thanks for this excellent read.
I would like to thank you for the efforts you have made in composing this article. thanks for sharing the great information.
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.
Keep up the good work! This blog is going to be great resource. Love reading it.
It may take a while but it will be worth it in the end. Let's hope it works better next time.
the documentation for the new release, due out shortly. Stay tuned!
Keep up the good work! This blog is going to be great resource. Love reading it.
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.
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.
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
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
zzzzz2018.9.6
giuseppe zanotti
michael kors outlet
golden goose
moncler outlet
ralph lauren
pandora
adidas superstar
kate spade handbags
pandora jewelry
jordan uk
cliquez pour en savoir plus sacs de créateurs de répliques Découvrir plus sacs répliques hautes redirigé ici réplique dolabuy
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.
Post a Comment