How to bundle hpricot?

  3 posts   Feedicon  
Replies: 2 - Last Post: March 09, 2010 20:31
by: elskwid
showing 1 - 3 of 3
 
Posted: March 03, 2010 01:26 by epugh
I am using OSX for development, but deploying on Linux.. How do I bundle in hpricot? Even when I install using jruby gem -s install hpricot, it says I don't have it installed.

 
Posted: March 03, 2010 03:36 by epugh
I wanted to mention I have seen one post that suggested that using native code in Gems with Warbler isn't supported...? At any rate, I can work around hpricot as a dependency, and the simplicity of warbler is amazing!
 
Posted: March 09, 2010 20:31 by elskwid
Hey epugh,

FYI Hpricot works just fine under JRuby, no native code there. In fact, I have found it to be screaming fast in comparison to REXML with my application. It uses Ragel under the hood to generate the platform specific code needed. You can even see the JRuby specific commits here: http://github.com/hpricot/hpricot

As far as including it, can't you just add it to config.gems in warble.rb?

Take care.
Don
Replies: 2 - Last Post: March 09, 2010 20:31
by: elskwid
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close