Re: [Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-12 Thread Jimmy Schementi
There are not two copies, one is ruby stdlib, and one is IronRuby's own lib. The ruby stdlib contains pieces implemented in ruby, as well as C. In IronRuby we ported all the C stuff to C# (that's what IronRuby.Libraries.dll is), and redistribute the ruby code. So both directories are all pa

Re: [Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-12 Thread Nathan Stults
t: Re: [Ironruby-core]Newbie questions regarding IronRuby in Silverlight... Once again thanks, we were able to get things working. Please note that we have offline requirements that require us to deploy the portions of the ruby standard library that we require, within our Silverlight application. My

Re: [Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-02 Thread Jimmy Schementi
___ From: ironruby-core-boun...@rubyforge.org [ironruby-core-boun...@rubyforge.org] on behalf of Jimmy Schementi [jimmy.scheme...@microsoft.com] Sent: Friday, October 02, 2009 12:28 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Newbie questions regarding IronRuby in Silve

Re: [Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-02 Thread Jimmy Schementi
There are two ways to accomplish this, by adding the script files to the XAP, or downloading them off the web-server: (1) As Ivan described, you can copy any needed Ruby libraries to your project and include them in the XAP through Visual Studio. As long as your hosting the DLR correctly in Sil

Re: [Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-02 Thread Ivan Porto Carrero
But that will include all the files and gems you have installed on your machine for ironruby. It might be a better idea to copy the ruby files you need into a folder in your project. You can use them as an embedded resource and then execute their code in order to require them ExecuteScript does tha

Re: [Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-02 Thread Shay Friedman
I guess you will need to add the path to the libs directory when creating the XAP file. When you create a XAP file with Chiron, there is a /path switch where you can pass semi-colon separated values with paths to include in the XAP file. Something like: chr /z:myfile.xap /path:c:\IronRuby\libs Hav

[Ironruby-core] Newbie questions regarding IronRuby in Silverlight...

2009-10-02 Thread Zoltan Toth
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