Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 92691
BY: Peter McGill (pamcgill)
DATE: 2010-02-11 20:34
SUBJECT: Fails to load gem at runtime

 

Windows 7 Home Premium

ruby --version
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]

ocra --version
Ocra 1.1.3

test.rb:
require 'rubygems'
require 'fileutils'
require 'tempfile'
require 'log4r'
require 'rexml/document'
require 'mysql'
require 'openssl'
require 'wx'
include Wx

ocra test.rb
=== Loading script to check dependencies
=== Building test.exe
m src
a src\test.rb
m bin
a bin\ruby.exe
a bin\msvcrt-ruby191.dll
a bin\LIBMYSQL.dll
a bin\libeay32-0.9.8-msvcrt.dll
a bin\ssleay32-0.9.8-msvcrt.dll
a bin\ZLIB1.dll
m lib
m lib\ruby
m lib\ruby\1.9.1
m lib\ruby\1.9.1\i386-mingw32
m lib\ruby\1.9.1\i386-mingw32\enc
a lib\ruby\1.9.1\i386-mingw32\enc\encdb.so
m lib\ruby\1.9.1\i386-mingw32\enc\trans
a lib\ruby\1.9.1\i386-mingw32\enc\trans\transdb.so
a lib\ruby\1.9.1\i386-mingw32\enc\iso_8859_1.so
m lib\ruby\site_ruby
m lib\ruby\site_ruby\1.9.1
m lib\ruby\site_ruby\1.9.1\rubygems
a lib\ruby\site_ruby\1.9.1\rubygems\defaults.rb
a lib\ruby\1.9.1\thread.rb
a lib\ruby\1.9.1\i386-mingw32\etc.so
a lib\ruby\1.9.1\i386-mingw32\rbconfig.rb
a lib\ruby\site_ruby\1.9.1\rubygems\exceptions.rb
a lib\ruby\site_ruby\1.9.1\rubygems\requirement.rb
a lib\ruby\site_ruby\1.9.1\rubygems\version.rb
a lib\ruby\site_ruby\1.9.1\rubygems\dependency.rb
a lib\ruby\site_ruby\1.9.1\rubygems\gem_path_searcher.rb
a lib\ruby\site_ruby\1.9.1\rubygems\user_interaction.rb
a lib\ruby\site_ruby\1.9.1\rubygems\platform.rb
a lib\ruby\site_ruby\1.9.1\rubygems\specification.rb
a lib\ruby\site_ruby\1.9.1\rubygems\source_index.rb
a lib\ruby\site_ruby\1.9.1\rubygems\builder.rb
a lib\ruby\1.9.1\i386-mingw32\stringio.so
m lib\ruby\1.9.1\yaml
a lib\ruby\1.9.1\yaml\error.rb
a lib\ruby\1.9.1\i386-mingw32\syck.so
a lib\ruby\1.9.1\yaml\ypath.rb
a lib\ruby\1.9.1\yaml\basenode.rb
a lib\ruby\1.9.1\yaml\syck.rb
a lib\ruby\1.9.1\yaml\tag.rb
a lib\ruby\1.9.1\yaml\stream.rb
a lib\ruby\1.9.1\yaml\constants.rb
m lib\ruby\1.9.1\date
a lib\ruby\1.9.1\date\format.rb
a lib\ruby\1.9.1\date.rb
a lib\ruby\1.9.1\yaml\rubytypes.rb
a lib\ruby\1.9.1\yaml\types.rb
a lib\ruby\1.9.1\yaml.rb
a lib\ruby\1.9.1\i386-mingw32\dl.so
a lib\ruby\1.9.1\Win32API.rb
a lib\ruby\site_ruby\1.9.1\rubygems\config_file.rb
a lib\ruby\1.9.1\fileutils.rb
a lib\ruby\site_ruby\1.9.1\rubygems.rb
a lib\ruby\1.9.1\delegate.rb
a lib\ruby\1.9.1\tmpdir.rb
a lib\ruby\1.9.1\tempfile.rb
m lib\ruby\gems
m lib\ruby\gems\1.9.1
m lib\ruby\gems\1.9.1\gems
m lib\ruby\gems\1.9.1\gems\log4r-1.1.4
m lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src
m lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\config.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\base.rb
a lib\ruby\1.9.1\singleton.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\repository.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\logevent.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\loggerfactory.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\staticlogger.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\logger.rb
m lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\outputterfactory.rb
m lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\formatter
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\formatter\formatter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\outputter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\iooutputter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\fileoutputter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\consoleoutputters.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\staticoutputter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\outputter\rollingfileoutputter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\GDC.rb
a lib\ruby\1.9.1\monitor.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\MDC.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\NDC.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r\formatter\patternformatter.rb
a lib\ruby\gems\1.9.1\gems\log4r-1.1.4\src\log4r.rb
m lib\ruby\1.9.1\rexml
a lib\ruby\1.9.1\rexml\parseexception.rb
m lib\ruby\1.9.1\rexml\formatters
a lib\ruby\1.9.1\rexml\formatters\default.rb
a lib\ruby\1.9.1\rexml\formatters\pretty.rb
a lib\ruby\1.9.1\rexml\node.rb
a lib\ruby\1.9.1\rexml\child.rb
a lib\ruby\1.9.1\rexml\parent.rb
a lib\ruby\1.9.1\rexml\xmltokens.rb
a lib\ruby\1.9.1\rexml\namespace.rb
a lib\ruby\1.9.1\rexml\encoding.rb
a lib\ruby\1.9.1\rexml\source.rb
a lib\ruby\1.9.1\rexml\entity.rb
a lib\ruby\1.9.1\rexml\attlistdecl.rb
a lib\ruby\1.9.1\rexml\doctype.rb
a lib\ruby\1.9.1\rexml\text.rb
a lib\ruby\1.9.1\rexml\attribute.rb
a lib\ruby\1.9.1\rexml\cdata.rb
a lib\ruby\1.9.1\rexml\functions.rb
a lib\ruby\1.9.1\rexml\syncenumerator.rb
m lib\ruby\1.9.1\rexml\parsers
a lib\ruby\1.9.1\rexml\parsers\xpathparser.rb
a lib\ruby\1.9.1\rexml\xpath_parser.rb
a lib\ruby\1.9.1\rexml\xpath.rb
a lib\ruby\1.9.1\rexml\element.rb
a lib\ruby\1.9.1\rexml\xmldecl.rb
a lib\ruby\1.9.1\rexml\comment.rb
a lib\ruby\1.9.1\rexml\instruction.rb
a lib\ruby\1.9.1\rexml\rexml.rb
a lib\ruby\1.9.1\rexml\output.rb
a lib\ruby\1.9.1\rexml\undefinednamespaceexception.rb
a lib\ruby\1.9.1\set.rb
a lib\ruby\1.9.1\rexml\parsers\baseparser.rb
a lib\ruby\1.9.1\rexml\parsers\streamparser.rb
m lib\ruby\1.9.1\rexml\validation
a lib\ruby\1.9.1\rexml\validation\validationexception.rb
a lib\ruby\1.9.1\rexml\parsers\treeparser.rb
m lib\ruby\1.9.1\rexml\encodings
a lib\ruby\1.9.1\rexml\encodings\UTF-8.rb
a lib\ruby\1.9.1\rexml\document.rb
m lib\ruby\gems\1.9.1\gems\mysql-2.8.1-x86-mingw32
m lib\ruby\gems\1.9.1\gems\mysql-2.8.1-x86-mingw32\lib
m lib\ruby\gems\1.9.1\gems\mysql-2.8.1-x86-mingw32\lib\1.9
a lib\ruby\gems\1.9.1\gems\mysql-2.8.1-x86-mingw32\lib\1.9\mysql_api.so
a lib\ruby\gems\1.9.1\gems\mysql-2.8.1-x86-mingw32\lib\mysql.rb
a lib\ruby\1.9.1\i386-mingw32\digest.so
a lib\ruby\1.9.1\digest.rb
a lib\ruby\1.9.1\i386-mingw32\openssl.so
m lib\ruby\1.9.1\openssl
a lib\ruby\1.9.1\openssl\bn.rb
a lib\ruby\1.9.1\openssl\cipher.rb
a lib\ruby\1.9.1\openssl\digest.rb
a lib\ruby\1.9.1\openssl\buffering.rb
a lib\ruby\1.9.1\i386-mingw32\fcntl.so
a lib\ruby\1.9.1\openssl\ssl.rb
a lib\ruby\1.9.1\openssl\x509.rb
a lib\ruby\1.9.1\openssl.rb
m lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32
m lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wxruby2.so
m lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\version.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\helpers.rb
m lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\evthandler.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\acceleratortable.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\animation.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\app.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\artprovider.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\auinotebook.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\bitmap.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\busycursor.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\checklistbox.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\choice.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\clientdc.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\clipboard.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\colour.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\combobox.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\commandevent.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\controlwithitems.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\dataformat.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\data_object.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\data_object_simple.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\dc.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\event.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\font.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\functions.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\gauge.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\genericdirctrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\grid.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\hboxsizer.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\helpcontroller.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\simplehelpprovider.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\helpcontrollerhelpprovider.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\helpprovider.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\htmlhelpcontroller.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\htmlwindow.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\icon.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\iconbundle.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\image.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\imagelist.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\listbox.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\listctrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\locale.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\mediactrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\menu.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\menuitem.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\notebook.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\object.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\paintdc.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\point.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\previewframe.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\rect.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\richtextctrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\size.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\sizer.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\sound.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\splitterwindow.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\standardpaths.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\styledtextctrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\textctrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\texturlevent.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\timer.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\toolbar.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\toolbartool.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\treectrl.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\validator.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\vboxsizer.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\window.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\classes\xmlresource.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\accessors.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\keyword_ctors.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx\keyword_defs.rb
a lib\ruby\gems\1.9.1\gems\wxruby-ruby19-2.0.1-x86-mingw32\lib\wx.rb
a lib\ruby\1.9.1\i386-mingw32\zlib.so
a lib\ruby\1.9.1\i386-mingw32\socket.so
a lib\ruby\1.9.1\timeout.rb
m lib\ruby\1.9.1\net
a lib\ruby\1.9.1\net\protocol.rb
m lib\ruby\1.9.1\uri
a lib\ruby\1.9.1\uri\common.rb
a lib\ruby\1.9.1\uri\generic.rb
a lib\ruby\1.9.1\uri\ftp.rb
a lib\ruby\1.9.1\uri\http.rb
a lib\ruby\1.9.1\uri\https.rb
a lib\ruby\1.9.1\uri\ldap.rb
a lib\ruby\1.9.1\uri\ldaps.rb
a lib\ruby\1.9.1\uri\mailto.rb
a lib\ruby\1.9.1\uri.rb
a lib\ruby\1.9.1\net\http.rb
a lib\ruby\1.9.1\time.rb
a lib\ruby\site_ruby\1.9.1\rubygems\remote_fetcher.rb
a lib\ruby\site_ruby\1.9.1\rubygems\spec_fetcher.rb
e RUBYOPT
e RUBYLIB
e GEM_PATH ÿ\gemhome
l bin\ruby.exe ruby.exe "ÿ\src\test.rb"
=== Compressing
=== Finished (Final size was 6523695)

test
C:/Users/Peter/AppData/Local/Temp/ocr1365.tmp/src/test.rb:4:in `require': no such file to load -- log4r (LoadError)
from C:/Users/Peter/AppData/Local/Temp/ocr1365.tmp/src/test.rb:4:in `<main>'

Any suggestions?

Peter


Thread View

Thread Author Date
Fails to load gem at runtimePeter McGill2010-02-11 20:34

Post a followup to this message