Questions tagged [warbler]

Warbler is a gem to make a Java jar or war file out of any Ruby, Rails, Merb, or Rack application.

The library provides a minimal, flexible, Ruby-like way to bundle up all of your application files for deployment to a Java environment. It is provided under the terms of the MIT license.

188 questions
0
votes
0 answers

Execute a jar in separate console(command prompt/terminal) from another java application

I've created a jar using warbler from ruby code. When I execute it using "java -jar rubyapp.jar" on console (command prompt/terminal), it executes successfully and gives me pry prompt. Now I want to execute this application from Java Gui Application…
Keyur Shah
  • 81
  • 1
  • 6
0
votes
1 answer

Warbler: No Support for Path Gems

Here My Problem: Warbler doesn't support gems which are included via path in the gemfile. nevertheless i need to do that for my work. it is important that the included gem is packed and handled as a simple rubygem in the war archive. until now i…
0
votes
1 answer

Glassfish can't find activerecord-jdbc-adapter

I'm trying to deploy simple Rails app on glassfish v3 and get the following error: org.jruby.rack.RackInitializationException: Could not find RubyGem activerecord-jdbc-adapter (>= 0) Environment details: App is packaged as war using warbler. JRuby…
Krzysztof Luks
  • 290
  • 2
  • 8
0
votes
1 answer

warbling a simple ruby sample with YAML dependency

I try to make a .JAR from a simple ruby sample. In MRI and jRuby i can run this without problem but when i try to warble the project i get error when i run the JAR file. Errno::ENOENT: No such file or directory - configuration.yml The…
peter
  • 41,770
  • 5
  • 64
  • 108
0
votes
1 answer

libGDX, JRuby, and warble causes crash and OpenAL error

I have a little test program written in JRuby that makes a black window with lwjgl and libGDx. It all works fine and dandy if I run it from the command line but, if I use warble to pack it in a jar it gives gives me this error AL lib: alc_cleanup: 1…
benbot
  • 1,217
  • 1
  • 12
  • 28
0
votes
1 answer

No such file to load -- sass-rails

I'm trying to deploy a rails application to jruby/tomcat. The app already runs in jruby with webrick in dev environment. When deploying to tomcat through warbler I get an error "no such file to load -- sass-rails" I did precompile my assets with…
kranz
  • 599
  • 1
  • 6
  • 23
0
votes
1 answer

JRuby / Warbler / GlassFish - (NameError) uninitialized constant ApplicationController::SessionsHelper

Really Short Story: I'm incredibly frustrated by this issue Short Story: JRuby-1.7.2 building to a .war using Warbler (1.3.8) deploying to a glassfish v3 server. I can build on my machine and everything works fine, however when I try to build with…
Jeff Price
  • 3,229
  • 22
  • 24
0
votes
1 answer

Where is the definition of `warble gemjar` task?

In Warbler's code here: https://github.com/jruby/warbler/blob/master/lib/warbler/config.rb#L203 Is the next block of code: task "gemjar" do self.features << "gemjar" end But surely that isn't the actual definition of warble gemjar because…
Alexander Bird
  • 38,679
  • 42
  • 124
  • 159
0
votes
1 answer

how to tell warbler to not read local rakefile

Is there a way to run warble war in such a way that it will not read the local Rakefile? In other words, I want to be able to have a borken Rakefile, but have it not affect warbler at all.
Alexander Bird
  • 38,679
  • 42
  • 124
  • 159
0
votes
1 answer

Configuring Neo4j on Rails to Deploy with Warbler

How do you configure a Neo4j on Rails app to deploy with Warbler? As it stands, every time I deploy my app, the previous production instance of neo4j gets destroyed, because neo4j is embedded. I was hoping that there would be some kind of…
0
votes
1 answer

Tomcat 5.5 Filter execution threw an exception, JRuby, Rails 3.2, warbler

Please help. I need to deploy a Rails 3.2 to a 5.5 legacy Tomcat. Unfortunatly I don't have the possibility to upgrade that one to 6. Java is at 1.6.0_43-b01. The App works fine, running with webrick and on my own tomcat (which is 6, I didn't know…
anny_goerl
  • 642
  • 2
  • 8
  • 13
0
votes
1 answer

In Warbler, how do I access compiled binaries through Ruby code?

I have a piece of Ruby code which depends on a binary built from C. I generally call the binary through backticks. But now when I package the Ruby code into a jar using Warbler, I'm not sure on how I'd be able to access the binary. My code…
arrac
  • 597
  • 1
  • 5
  • 15
0
votes
1 answer

what happened when set jruby min runtime?

I am now struggle on Jruby on Rails. We did not config the min/max jruby runtime before, the portal works well. In these days, i found that set these config will improve our portal's performance, so I decide to config it in this…
0
votes
1 answer

Configure distributable JRuby/Rails with Warbler

To make a web application as distributable, we can configure this in the standard web.xml: But I'm using JRuby/Rails and building the WAR file with Warbler. Is there anyway…
Blue Smith
  • 8,580
  • 2
  • 28
  • 33
0
votes
1 answer

warble, cannot load such file -- spec/rake/spectask error

I'm very new to Ruby, Jruby and Rails etc. I'm trying to deploy a jruby application to tomcat server using warble. I'm on a windows machine, below is the error I get when I run warble from the project's root directory. I did google a lot for the…
sij
  • 296
  • 3
  • 13
1 2 3
12
13