Top "Jruby" questions

JRuby is an open-source Java implementation of the Ruby programming language.

Can't launch simple Sinatra app using rackup and jRuby (no response from web server)

I've got a Sinatra "hello world" app that I am trying to run using jRuby. It works when I run …

ruby sinatra jruby rackup
Get first N characters from string without cutting the whole words

I want to know if there an easy way to get only N symbols from string without cutting the whole …

ruby ruby-on-rails-3 jruby substring words
Can JRuby use original Ruby gems?

I am considering about what is the difference between JRuby on Rails and the original Ruby on Rails for my …

ruby-on-rails jruby
Is it possible to debug unit tests in Ruby on Rails?

So, I just moved to new project that is built on Ruby on Rails. I'm new to it and I'm …

ruby-on-rails unit-testing debugging jruby
Jboss, setting environment variables for application

I've been setting up my rails application to run under jruby/warbler inside a java container (JBoss/wildfly). I'm used …

jboss environment-variables jruby warbler
jruby -S bundle install jruby: No such file or directory -- bundle (LoadError)

I have my ruby on rails application and I have installed jruby-1.7.4 in my Windows XP. When I try to …

ruby path jruby
How can I tell if I'm running from JRuby vs. Ruby?

I have a script with a factory method that I would like to return a different implementation of some class …

ruby jruby
How to run Ruby 2.0 with JRuby 1.7?

What is the best way to get JRuby to run in 2.0 mode?

ruby jruby ruby-2.0
Rails migration generates default timestamps (created_at, updated_at) as NULLABLE

Some time ago we upgraded our application to Rails 4 and switched to JRuby. Before that change migrations created the default …

ruby-on-rails postgresql activerecord migration jruby
Error Deploying Java WAR File: SEVERE: Exception fixing docBase for context

I have already resolved this one but it may help someone out there who stumbles across this problem. Stackoverflow has …

java windows macos tomcat jruby