Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6911095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:54:28+00:00 2026-05-27T08:54:28+00:00

I want distribute a application build with ruby and wxruby, but i cant generate

  • 0

I want distribute a application build with ruby and wxruby, but i cant generate one executable, try with ocra , AllInOneRuby but Windows support only and try with rubyscript2exe, but have much errors and doesnt run.

[edit]

With rubyscript2exe first i got
rubyscript2exe:5:in replace’: can’t modify frozen string (TypeError)
but i have a solution

later i got require’: undefined method `unresolved_deps’ for Gem:Module

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require': undefined method `unresolved_deps' for Gem:Module (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:28
Couldn't execute this command (rc=256):
/usr/bin/ruby -r 'enumerator.so' -r 'rubygems/defaults.rb' -r 'rbconfig.rb' -r 'rubygems/deprecate.rb' -r 'rubygems/exceptions.rb' -r 'rubygems/custom_require.rb' -r 'rubygems.rb' -r 'rubygems/version.rb' -r 'rubygems/requirement.rb' -r 'rubygems/dependency.rb' -r 'rubygems/platform.rb' -r 'rubygems/specification.rb' -r 'rubygems/path_support.rb' -I '/tmp/tar2rubyscript.d.3642.1/rubyscript2exe' -I '/tmp/tar2rubyscript.d.3642.1' -I '/usr/lib64/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/lib' -I '/usr/lib/ruby/site_ruby/1.8' -I '/usr/lib64/ruby/site_ruby/1.8' -I '/usr/lib64/ruby/site_ruby/1.8/x86_64-linux' -I '/usr/lib/ruby/site_ruby' -I '/usr/lib64/ruby/site_ruby' -I '/usr/lib64/site_ruby/1.8' -I '/usr/lib64/site_ruby/1.8/x86_64-linux' -I '/usr/lib64/site_ruby' -I '/usr/lib/ruby/1.8' -I '/usr/lib64/ruby/1.8' -I '/usr/lib64/ruby/1.8/x86_64-linux' -I '.' -I '/home/richie' -I '/tmp/tar2rubyscript.d.3642.1/rubyscript2exe' -I '/tmp/tar2rubyscript.d.3642.1/rubyscript2exe/lib' -I '/tmp/tar2rubyscript.d.3642.1/rubyscript2exe' -I '/tmp/tar2rubyscript.d.3642.1/rubyscript2exe/lib' -r '/tmp/tar2rubyscript.d.3642.1/rubyscript2exe/require2lib.rb' 'Dropbox/15M/src/q.rb'  --require2lib-quiet 

Stopped.

with ruby 1.8.7

any help ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:54:29+00:00Added an answer on May 27, 2026 at 8:54 am

    Update: This may not work, because the wxruby gem may use binary “extensions”, and that is platform dependent and so may not be easy to get working in Jruby… try and tell

    You can try the following workaround with Jruby + warbler gem – it can package your ruby program into a portable JAR (java) file, which you can then copy and run on other computers that have Java installed (only java, ruby will already go packaged in the .jar file 🙂 )

    I’ve made some notes for myself some months ago – they should be enough for the steps involved:

    1- install jruby

    • see http://jruby.org/
    • should be as simple as dowload zip file, unzip it, set an environment variable, and execute it (everything is explained it their website, pretty easy)

    2- install warbler gem

    jruby -S gem install warbler
    

    3- place your .rb files for compile/package with warbler

    (see this StackOverflow thread: Create deployable JRuby JAR file? )

    mkdir myapp  
    mkdir myapp/bin
    vim   myapp/bin/myapp.rb  #create .rb file which will be 'booted' (executed) by jar file
    mkdir myapp/lib
    vim   myapp/lib/my_nice_lib.rb #leave all .rb files to be 'require'd here 
    cd myapp  
    

    4- use warbler to compile/package into myapp.jar

    warble jar
    

    5- run myapp.jar in any computer with java, with:

    java -jar myapp.jar
    

    Hope it helps – report back how it went

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to distribute a command-line application written in Java on Windows. My application
I want to distribute a Java desktop application for Windows. Which is the best
I want to distribute a webstart application which uses RMI. I want to avoid
I'm thinking of developing a small application using IronPython, however I want to distribute
I have an EXE that I want to distribute, but I don't want to
I want to build an application for the iPhone to be used inside a
I've built a (command-line) application in Scala that I want to distribute as a
I want to distribute a small application that offers a web interface intended for
Say I've written a .Net dll and want to distribute it with my application.
I have a .NET Windows application that needs to call another .NET executable. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.