JRuby/sinatra app using debug works, run does not

Hi,

I have a simple JRuby/Sinatra App as an example of an issue I am running into. When I execute the app using debug with no breakpoints it works. When I execute it using run, sinatra is not invoked and I get the following

Process finished with exit code 0

I am running Intellij IDEA 14.

Is there anyone in the community currently using JRuby/sinatra and IDEA 14 and seeing this problem or knows a workaround?

Here's the example app:

 
require 'rubygems'
require 'bundler/setup'

require 'sinatra'

get '/' do
  "Hello JRuby World"
end
  

Thanks,
brian

0
1 comment

Hi Brian, that appears to be a known issue, please vote and follow it:
https://youtrack.jetbrains.com/issue/RUBY-13265

0

Please sign in to leave a comment.