I built a Windows GUI using DialogBlocks v4.29, saved the resulting XRC for processing with wxRuby''s xrciser tool. Following Ruby products installed: wxRuby is v 2.0.0 wxSugar is v0.1.22 Ruby is v1.9.1 Rubygems is v1.3.1 Running xrciser on the file gives the following: C:\ruby>xrcise -o toolgui.rb tool.xrc c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/lib/wx_sugar/xrc/outputter.rb:4 6:in `clean_id_attr_readers'': undefined method `each'' for #<String:0xe7cdf8> (No MethodError) from (erb):16:in `output'' from c:/ruby/lib/ruby/1.9.1/erb.rb:753:in `eval'' from c:/ruby/lib/ruby/1.9.1/erb.rb:753:in `result'' from c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/lib/wx_sugar/xrc/o utputter.rb:19:in `output'' from c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/bin/xrcise:126:in `block (2 levels) in <top (required)>'' from c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/bin/xrcise:125:in `each'' from c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/bin/xrcise:125:in `block in <top (required)>'' from c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/bin/xrcise:124:in `open'' from c:/ruby/lib/ruby/gems/1.9.1/gems/wx_sugar-0.1.22/bin/xrcise:124:in `<top (required)>'' from c:/ruby/bin/xrcise:19:in `load'' from c:/ruby/bin/xrcise:19:in `<main>'' Checked the outputter source; can''t understand why "each" is not a method for "str" here so tried debugging -- got an error saying ruby-debug not working with Ruby 1.9.1 yet. Any clues as to what is going on? Here is the xrc: <?xml version="1.0" encoding="UTF-8"?> <resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc"> <object class="wxFrame" name="MyFrame1" subclass="MyFrame"> <style>wxDEFAULT_FRAME_STYLE|wxCAPTION|wxCLOSE_BOX|wxTAB_TRAVERSAL</style> <bg>#b1bdd1</bg> <size>590,612</size> <title>Tool</title> <centered>1</centered> <object class="wxBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxGROW</flag> <border>5</border> <option>2</option> <object class="wxBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <flag>wxALIGN_TOP</flag> <border>5</border> <option>1</option> <object class="wxGridBagSizer"> <growablecols>0,1</growablecols> <growablerows>0,1</growablerows> <vgap>0</vgap> <hgap>0</hgap> <emptycellsize>10,20</emptycellsize> <object class="sizeritem"> <flag>wxGROW|wxGROW</flag> <border>5</border> <cellpos>0,0</cellpos> <cellspan>1,2</cellspan> <object class="wxBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxGROW|wxALL</flag> <border>5</border> <option>1</option> <object class="wxStaticText" name="m_staticText1"> <tooltip>Instructions</tooltip> <style>wxALIGN_LEFT</style> <label>Step 1</label> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxGROW|wxGROW</flag> <border>5</border> <cellpos>1,0</cellpos> <cellspan>1,3</cellspan> <object class="wxBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxGROW|wxALL</flag> <border>5</border> <option>3</option> <object class="wxFilePickerCtrl" name="m_filePicker1"> <tooltip>Choose Spreadsheet</tooltip> <style>wxFLP_DEFAULT_STYLE</style> <value>C:\\ruby\\tool.xrc</value> <message>Select a file</message> <wildcard>*.*</wildcard> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALIGN_LEFT|wxALIGN_TOP</flag> <border>5</border> <cellpos>0,2</cellpos> <cellspan>1,1</cellspan> <object class="wxBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxALIGN_LEFT|wxALL</flag> <border>5</border> <object class="wxRadioBox" name="m_radioBox1"> <tooltip>Select </tooltip> <style>wxRA_SPECIFY_COLS</style> <label>Choose</label> <dimension>1</dimension> <selection>0</selection> <content> <item>A</item> <item>B</item> <item>C</item> <item>D</item> </content> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxGROW|wxGROW|wxALL</flag> <border>5</border> <cellpos>0,2</cellpos> <cellspan>1,1</cellspan> <object class="wxHtmlWindow" name="m_htmlWin1"> <style>wxHW_SCROLLBAR_NEVER</style> <hidden>1</hidden> </object> </object> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALIGN_CENTER_HORIZONTAL|wxTOP|wxBOTTOM</flag> <border>5</border> <object class="wxBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <flag>wxALIGN_TOP|wxALL</flag> <border>5</border> <object class="wxRadioBox" name="m_radioBox2"> <tooltip>Select</tooltip> <style>wxRA_SPECIFY_COLS</style> <label>Action</label> <dimension>1</dimension> <selection>0</selection> <content> <item>1</item> <item>2</item> </content> </object> </object> <object class="sizeritem"> <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxButton" name="m_buttonGo"> <label>Go</label> </object> </object> <object class="sizeritem"> <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> <border>5</border> <object class="wxButton" name="m_buttonDone"> <label>Done</label> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxGROW|wxALL</flag> <border>5</border> <object class="wxGauge" name="m_gauge1"> <tooltip>Progress</tooltip> <style>wxGA_HORIZONTAL|wxGA_SMOOTH</style> <value>0</value> <range>100</range> </object> </object> <object class="sizeritem"> <flag>wxGROW|wxALL</flag> <border>5</border> <option>1</option> <object class="wxTextCtl" name="m_richText1"> </object> </object> </object> </object> </resource> -- Posted via http://www.ruby-forum.com/.