Hi Guys,

How do we, for example, use BigDecimal in IronRuby within a Silverlight
application?  When we just require 'bigdecimal', we get an error saying
that file can't be found.  Do we have to add that and other ruby
standard library files to our application and if so, where do we put
them?

Note that we are actually developing a standard (non-dynamic) C#
Silverlight application (and hence are not using Chiron) and wish merely
to execute ruby scripts client-side at various times.  We would like
these scripts to be split into different files, for obvious reasons.  We
envisage that certain files (i.e. standard library and other non
changing code) may well be bound into the xap file somehow and other
files may well be dynamically obtained from the back-end.

So far, we've been able to execute ruby files deployed as "Build Action:
Resource" in VS2008 but, we have not, as yet, been able to get one file
to require another in a similar manner to the Chiron demos in IronRuby
0.9.1. (i.e. app.rb requires Silverlight.rb).

Any help would be greatly appreciated,

Thanks,

Zoltan.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to