{"action":"opened","issue":{"url":"https://api.github.com/repos/shoes/shoes4/issues/1209","labels_url":"https://api.github.com/repos/shoes/shoes4/issues/1209/labels{/name}","comments_url":"https://api.github.com/repos/shoes/shoes4/issues/1209/comments","events_url":"https://api.github.com/repos/shoes/shoes4/issues/1209/events","html_url":"https://github.com/shoes/shoes4/issues/1209","id":123895133,"number":1209,"title":"Packages ship with ruby 1.9","user":{"login":"lmrodriguezr","id":12363,"avatar_url":"https://avatars.githubusercontent.com/u/12363?v=3","gravatar_id":"","url":"https://api.github.com/users/lmrodriguezr","html_url":"https://github.com/lmrodriguezr","followers_url":"https://api.github.com/users/lmrodriguezr/followers","following_url":"https://api.github.com/users/lmrodriguezr/following{/other_user}","gists_url":"https://api.github.com/users/lmrodriguezr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmrodriguezr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmrodriguezr/subscriptions","organizations_url":"https://api.github.com/users/lmrodriguezr/orgs","repos_url":"https://api.github.com/users/lmrodriguezr/repos","events_url":"https://api.github.com/users/lmrodriguezr/events{/privacy}","received_events_url":"https://api.github.com/users/lmrodriguezr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-25T19:04:52Z","updated_at":"2015-12-25T19:04:52Z","closed_at":null,"body":"**Disclaimer**: This is probably not a :bug:, not sure.\r\n\r\nI need to use `Process.spawn` options in my app, which was not supported by JRuby 1.7<sup>1</sup>. This works fine with `bin/shoes` or with `require 'shoes'`, so long as I have 9K in my system. The problem comes when I try to package my app, because the jar ships with ruby 1.9.3 instead of 2.x (I believe it's jruby 1.7.23), so the `Process.spawn` options are not understood when running from the jar. Here's a tiny session:\r\n```bash\r\n$> cat samples/t.rb\r\n# Just show the ruby version\r\n$stderr.puts RUBY_VERSION\r\n$> # With bin/shoes it gets my system's jruby\r\n$> bin/shoes-swt t.rb\r\n2.2.2\r\n$> # With a jar it runs with 1.7\r\n$> bin/shoes-swt -p swt:jar samples/t.rb\r\n$> java -XstartOnFirstThread -jar samples/pkg/t.jar\r\n1.9.3\r\n```\r\n\r\nIs there any way to tell shoes (or furoshiki) that I want the package to ship with the jruby-jars of 9K? I saw discussions on restricting support to 9K (with 2.x) over at #1179, so I'm assuming I'm not the only one that wants to play with 9K features :)\r\n\r\nHappy holidays `shoes-people`!\r\n\r\n---\r\n**<sup>1</sup>** `Process.spawn` supported options in ruby 1.9, it was just not implemented in JRuby 1.7. Some discussion on this at jruby/jruby#985."}}