Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Michael Heinrich
`_xlDialogPhonetic' is not allowed as a ... [ reply ]  
2009-10-16 17:56
Hello all,

I am attempting to run Rasta from IronRuby 0.9.1 and am encountering the following error when I run the watir example that is included with Rasta:

C:\IronRuby\lib\IronRuby\gems\1.8\gems\rasta-0.1.9-x86-mswin32-60\examples>rasta -f examples\fixtures watir_example.xls
:0:in `const_set': `_xlDialogPhonetic' is not allowed as a constant name (NameError)
from win32ole.rb:94:in `const_load'
from :0:in `each'
from win32ole.rb:91:in `const_load'
from :0:in `each'
from C:/IronRuby/lib/IronRuby/win32ole.rb:91:in `const_load'
from C:/IronRuby/lib/ironruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta/spreadsheet.rb:35:in `initialize'
from C:/IronRuby/lib/ruby/1.8/singleton.rb:94
from C:/IronRuby/lib/ironruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta/fixture_runner.rb:69:in `add'
from C:/IronRuby/lib/ironruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta.rb:186:in `run_test_fixtures'
from C:/IronRuby/lib/ironruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta.rb:186:in `run_test_fixtures'
from C:/IronRuby/lib/ironruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta.rb:93:in `run'
from C:/IronRuby/lib/ironruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/bin/rasta:4
from C:/IronRuby/lib/IronRuby/gems/1.8/bin/rasta:19
from :0:in `each'
from :0:in `load'

Is this an IronRuby problem in Win32Ole?

TIA!