Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Ruby not working in packaged application

Hey all!
I have an application that runs perfectly when I run it through the Titanium Developer 'Launch' page, however when I package it up none of the Ruby code works.

I definitely have the Ruby support option set for the project…

You can duplicate this issue by creating a new application and adding this to to index.html (on OS X):

<script type="text/ruby">
system("say hello")

On launching the application through Titanium Developer you will see it works correctly, however when you package it up it does not work.

Help greatly appreciated!

— asked November 11th 2010 by Aaron Gough
  • packaging
  • ruby
  • titanium
  • titanium desktop
1 Comment
  • So it turns out that the application directories are writeable when the application is launched through Titanium Developer, but not when launched any other way.

    I was using the application directory to store temporary files which was causing the issue.

    — commented November 11th 2010 by Aaron Gough

1 Answer

  • I am facing same problem, anyone please reply.

    — answered September 20th 2011 by SUBHASH CHANDRA
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.