Will RubyMotion ever support creating command line executables?

41 kali dilihat
Langsung ke pesan pertama yang belum dibaca

Eric Henderson

belum dibaca,
24 Feb 2015, 13.34.0024/02/15
kepadarubym...@googlegroups.com
In Xcode, you can create a OS X project that compiles to a single unix executable, instead of to a .app bundle.  I would really love to have this in RubyMotion, and I was wondering if there are any plans to ever support this.

Does anyone know if/when RM will support this?  Are there any alternatives that allow me to use Ruby to build a single, fully-packaged (including any used gems, but not necessarily the runtime library) OS X command-line executable?  It doesn't have to allow me to use objective-c classes as long as I can use existing MRI-compatible ruby gems.  If anyone knows how I can create a single, fully-packaged (minus the JRuby runtime/lib, but including all required files and gems) jar file with JRuby, that would probably serve the purposes I need.

I'm basically looking for something that allows me to have a single, command-line-compatible, pre-compiled file that includes all ruby code involved.

Thanks for any information anyone can provide.

Eric Henderson

Eric Henderson

belum dibaca,
24 Feb 2015, 13.37.5124/02/15
kepadarubym...@googlegroups.com
I should mention that my goal with this is to reduce initialization speed since I use some gems that take more time to load than I really like.

Eric Henderson

--
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS, OS X, and Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/6a0f13e8-2f93-4a31-84c6-db6698f0d6dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joffrey Jaffeux

belum dibaca,
24 Feb 2015, 17.50.5924/02/15
kepadarubym...@googlegroups.com

Eric Henderson

belum dibaca,
24 Feb 2015, 17.58.3024/02/15
kepadarubym...@googlegroups.com
That looks to be an example for how to extend the motion command with a new sub-command, rather than how to create a stand-alone executable.

Eric Henderson

Colin T.A. Gray

belum dibaca,
24 Feb 2015, 18.19.3624/02/15
kepadarubym...@googlegroups.com
Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru