22 May 2013

The Ruby Reflector

Topic

JAR

  Source Favicon
By techarch of The "Tech. Arch." 5 months ago.
Email

Now we need to add the Cordova JAR to the Java Build Path. In AptanaStudio, right click on the libs folder, select " Build Path", then select " Configure Build Path", select the " Libraries" tab, click on " Add JARs ...", drill down to the libs folder of your project, select the Cordova JAR , and click OK.

The Cordova JAR will also appear under the " Referenced Libraries " folder of your project.

Let's go to the …

blog.monnet-usa.com Read
  Source Favicon
By Thomas Enebo of Engine Yard Developer Blog over 1 year ago.
Email

…adding/removing instance variables (and disagrees with MRI)

JRUBY-6176 SecureRandom.uuid is not implemented

JRUBY-6173 pp is broken in -1.9 mode

JRUBY-6172 Requiring a file from a JAR that has a path inside the JAR that coincides with a path on the file system that includes a symlink fails

JRUBY-6171 Enumerable does not splat

JRUBY-6170 Fibers are broken in JRuby 1.6.5

engineyard.com Read
  Source Favicon
Email

…"warble" any arbitrary Ruby application into an executable JAR file...amazing! No other deployment option has the potential to bring Ruby to as many enterprises as Warbler, and reaching 1.0 was a great milestone. On the other side of the coin, jruby-rack provides a rack-compatible interface to the Java " servlet" API, serving as the backbone of all servlet-hosted Ruby apps. For command-line users, Trindad made its debut. David Calavera

engineyard.com Read
  Source Favicon
By Alan Skorkin of SKORKS 3 years ago.
Email

…the ojdbc14 JAR . All you need to do is place the JAR file in your Rails application's /lib folder and Warbler will take care of the rest.

Incidentally, if you need to include any other JAR files also put them in the /lib folder of your Rails app.

That's it, unless you were doing something really fancy, you should be able to produce a WAR file, drop it into Tomcat and have a working Java web application with no extra effort. The good thing about this is that …

skorks.com Read
  Source Favicon
By Peter Cooper of Ruby Inside over 3 years ago.
Email

…idea to extremes by providing an entire Ruby implementation in a Java-land JAR archive that you can use even in Java environments where a Ruby isn't already installed. This could be handy for those of you trying to sneak Ruby into the enterprise!

37 Reasons To Love Ruby

Hal Fulton, of The Ruby Way fame, has written a list of 37 reasons he loves Ruby . It did pretty well on the social bookmarking sites last week and.. it's a good list. Mostly obvious stuff …

rubyinside.com Read
  Source Favicon
On Graceless Failures over 3 years ago.
Email

2. Building a manifest that ends up in the resulting JAR for the project isn't that hard: just pull together all the dependent JARs.

3. Our configuration includes a bunch of Ruby (generated Thrift code), shell scripts, and Configgy configuration files. You may not want to include these things, or even have them in your project.

4. You can swap out ZipTask for another compression format. I'd still suggest making your zip action dependent on packaging, which in turn will handle …

gracelessfailures.com Read
  Source Favicon
On Graceless Failures over 3 years ago.
Email

…thread. Getting it via system properties didn't work. This could be because the JAR in which this application is packaged has one of those fancy manifests of its dependent jars. When you ask for System.getProperty("env.classpath"), you just get the JAR of the application itself. Wiggy.

3. We use the logging fanciness that comes with Configgy , but you can swap that out for the logging library of your choice (if you want something that's less awesome, for …

gracelessfailures.com Read