Using ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
ocra version 1.3.4
pca.rb
 is a gtk2 application which creates an icon in the windows system tray. It has a scheduler and a sqlite3 db. When I do ocra pca.rb it throws an error : createfile': failed to allocate memory (NoMemoryError)
Its just not the issue with my ruby file but none of the gtk2 samples are working as well. It throws the same error.
Please help
C:\Users\test\Desktop\test\system_tray_test>ocra pca.rb
=== Loading script to check dependencies
=== Attempting to trigger autoload of Gem::ConfigFile
=== Attempting to trigger autoload of Gem::DependencyList
=== Attempting to trigger autoload of Gem::DependencyResolver
=== Attempting to trigger autoload of Gem::Installer
=== Attempting to trigger autoload of Gem::RequestSet
=== Attempting to trigger autoload of Gem::Source
=== Attempting to trigger autoload of Gem::SourceList
=== Attempting to trigger autoload of Gem::SpecFetcher
=== Attempting to trigger autoload of ThreadSafe::Util
=== Attempting to trigger autoload of ThreadSafe::JRubyCacheBackend
=== WARNING: ThreadSafe::JRubyCacheBackend was not loadable
=== Attempting to trigger autoload of ThreadSafe::AtomicReferenceCacheBackend
=== Attempting to trigger autoload of ThreadSafe::SynchronizedCacheBackend
=== Attempting to trigger autoload of ThreadSafe::Util::AtomicReference
=== Attempting to trigger autoload of ThreadSafe::Util::Adder
=== Attempting to trigger autoload of ThreadSafe::Util::XorShiftRandom
=== Attempting to trigger autoload of CGI::HtmlExtension
=== Detected gem ocra-1.3.4 (loaded, files)
=== 6 files, 191218 bytes
=== Detected gem pkg-config-1.1.6 (loaded, files)
=== 3 files, 29263 bytes
=== Detected gem cairo-1.14.0-x86-mingw32 (loaded, files)
=== 572 files, 148739792 bytes
=== Detected gem glib2-2.2.3-x86-mingw32 (loaded, files)
=== 2129 files, 94257173 bytes
=== Detected gem atk-2.2.3-x86-mingw32 (loaded, files)
=== 207 files, 4001365 bytes
=== Detected gem pango-2.2.3-x86-mingw32 (loaded, files)
=== 465 files, 99235186 bytes
=== Detected gem gdk_pixbuf2-2.2.3-x86-mingw32 (loaded, files)
=== 187 files, 5151248 bytes
=== Detected gem gtk2-2.2.3-x86-mingw32 (loaded, files)
=== 1217 files, 76349947 bytes
=== Detected gem psych-2.0.5 (loaded, files)
=== WARNING: Gem psych-2.0.5 root folder was not found, skipping
=== Detected gem thread_safe-0.3.4 (loaded, files)
=== 20 files, 72903 bytes
=== Detected gem tzinfo-1.2.2 (loaded, files)
=== 31 files, 142893 bytes
=== Detected gem rufus-scheduler-3.0.9 (loaded, files)
=== 10 files, 67402 bytes
=== Detected gem sqlite3-1.3.10-x86-mingw32 (loaded, files)
=== 23 files, 3404231 bytes
=== Detected gem io-console-0.4.2 (loaded, files)
=== WARNING: Gem io-console-0.4.2 root folder was not found, skipping
=== Including 53 encoding support files (3422720 bytes, use --no-enc to exclude)
DL is deprecated, please use Fiddle
=== Building pca.exe
=== Adding user-supplied source files
=== Adding ruby executable ruby.exe
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libcairo-2.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libfontconfig-1.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libfreetype-6.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libpng16-16.dll
=== Adding detected DLL C:/Ruby21/bin/zlib1.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libgcc_s_sjlj-1.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libxml2-2.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libpixman-1-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/glib2-2.2.3-x86-mingw32/vendor/local/bin/libglib-2.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/glib2-2.2.3-x86-mingw32/vendor/local/bin/libintl-8.dll
=== Adding detected DLL C:/Ruby21/bin/libiconv-2.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/cairo-1.14.0-x86-mingw32/vendor/local/bin/libwinpthread-1.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/glib2-2.2.3-x86-mingw32/vendor/local/bin/libgobject-2.0-0.dll
=== Adding detected DLL C:/Ruby21/bin/libffi-6.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/glib2-2.2.3-x86-mingw32/vendor/local/bin/libgthread-2.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/atk-2.2.3-x86-mingw32/vendor/local/bin/libatk-1.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/pango-2.2.3-x86-mingw32/vendor/local/bin/libpango-1.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/glib2-2.2.3-x86-mingw32/vendor/local/bin/libgmodule-2.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/pango-2.2.3-x86-mingw32/vendor/local/bin/libpangocairo-1.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/pango-2.2.3-x86-mingw32/vendor/local/bin/libpangoft2-1.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/pango-2.2.3-x86-mingw32/vendor/local/bin/libharfbuzz-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/pango-2.2.3-x86-mingw32/vendor/local/bin/libpangowin32-1.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/gdk_pixbuf2-2.2.3-x86-mingw32/vendor/local/bin/libgdk_pixbuf-2.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/glib2-2.2.3-x86-mingw32/vendor/local/bin/libgio-2.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/gtk2-2.2.3-x86-mingw32/vendor/local/bin/libgdk-win32-2.0-0.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/gtk2-2.2.3-x86-mingw32/vendor/local/bin/libgtk-win32-2.0-0.dll
=== Adding detected DLL C:/Ruby21/bin/libyaml-0-2.dll
=== Adding detected DLL C:/Ruby21/lib/ruby/gems/2.1.0/gems/gtk2-2.2.3-x86-mingw32/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll
=== Adding detected DLL C:/Ruby21/bin/LIBEAY32.dll
=== Adding detected DLL C:/Ruby21/bin/SSLEAY32.dll
=== Adding library files
C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:1133:in createfile': failed to allocate memory (NoMemoryError) from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:926:inblock (2 levels) in build_exe'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:925:in each' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:925:inblock in build_exe'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:1033:in block in initialize' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:1019:inopen'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:1019:in initialize' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:854:innew'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:854:in build_exe' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ocra-1.3.4/bin/ocra:1174:inblock in '