It doesn't work for me. -------------------------------------------------------- Shay Friedman | Author of IronRuby Unleashed Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay
On Wed, Mar 24, 2010 at 9:50 AM, Ivan Porto Carrero < i...@whiterabbitconsulting.eu> wrote: > if you put a app\myfile.rb in the zip file > you should be able to do require 'app/myfile' > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Web: http://whiterabbitconsulting.eu - http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > Microsoft IronRuby/C# MVP > > > On Wed, Mar 24, 2010 at 8:17 AM, Shay Friedman <shay.fried...@gmail.com>wrote: > >> It doesn't work for Ruby files as well as assemblies (which are placed >> within a ZIP file)... :-( >> >> -------------------------------------------------------- >> Shay Friedman | Author of IronRuby Unleashed >> Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay >> >> >> On Tue, Mar 23, 2010 at 5:00 PM, Ivan Porto Carrero < >> i...@whiterabbitconsulting.eu> wrote: >> >>> for assemblies you need to add an appmanifest I think >>> >>> --- >>> Met vriendelijke groeten - Best regards - Salutations >>> Ivan Porto Carrero >>> Web: http://whiterabbitconsulting.eu - http://flanders.co.nz >>> Twitter: http://twitter.com/casualjim >>> Author of IronRuby in Action (http://manning.com/carrero) >>> Microsoft IronRuby/C# MVP >>> >>> >>> On Tue, Mar 23, 2010 at 3:35 PM, Shay Friedman >>> <shay.fried...@gmail.com>wrote: >>> >>>> OK I zipped the libs folder and added it to the page as <script >>>> type="application/zip" src="lib.zip"></script>. >>>> When I try to require the assemblies, the files are not found. >>>> >>>> I tried to make the case simpler and zipped a simple rb file to a zip >>>> and included it in the page as well: <script type="application/zip" >>>> src="test.zip"></script> >>>> I tried: >>>> require "TestClass.rb" >>>> require "TestClass" >>>> require 'test.zip/TestClass.rb' >>>> require 'test.zip/TestClass' >>>> >>>> None of these worked. >>>> >>>> By the way, I see that Chiron loads the zip files... >>>> >>>> What am I doing wrong? >>>> >>>> -------------------------------------------------------- >>>> Shay Friedman | Author of IronRuby Unleashed >>>> Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay >>>> >>>> >>>> On Tue, Mar 23, 2010 at 11:50 AM, Ivan Porto Carrero < >>>> i...@whiterabbitconsulting.eu> wrote: >>>> >>>>> I thought that already happened (dlr-slvx requirement etc) >>>>> >>>>> --- >>>>> Met vriendelijke groeten - Best regards - Salutations >>>>> Ivan Porto Carrero >>>>> Web: http://whiterabbitconsulting.eu - http://flanders.co.nz >>>>> Twitter: http://twitter.com/casualjim >>>>> Author of IronRuby in Action (http://manning.com/carrero) >>>>> Microsoft IronRuby/C# MVP >>>>> >>>>> >>>>> On Tue, Mar 23, 2010 at 9:28 AM, Shay Friedman < >>>>> shay.fried...@gmail.com> wrote: >>>>> >>>>>> That's a good idea but it enforces the user to use Gestalt. >>>>>> >>>>>> Which brings up another question - are we willing to "standardize" >>>>>> Gestalt by making it the best practice for using DLR languages in >>>>>> Silverlight? >>>>>> >>>>>> -------------------------------------------------------- >>>>>> Shay Friedman | Author of IronRuby Unleashed >>>>>> Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay >>>>>> >>>>>> >>>>>> On Tue, Mar 23, 2010 at 10:18 AM, Ivan Porto Carrero < >>>>>> i...@whiterabbitconsulting.eu> wrote: >>>>>> >>>>>>> I'd the contents of the lib folder in a zip file >>>>>>> >>>>>>> and then use gestalt to download the zip. from then on they are >>>>>>> available >>>>>>> --- >>>>>>> Met vriendelijke groeten - Best regards - Salutations >>>>>>> Ivan Porto Carrero >>>>>>> Web: http://whiterabbitconsulting.eu - http://flanders.co.nz >>>>>>> Twitter: http://twitter.com/casualjim >>>>>>> Author of IronRuby in Action (http://manning.com/carrero) >>>>>>> Microsoft IronRuby/C# MVP >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 23, 2010 at 8:53 AM, Shay Friedman < >>>>>>> shay.fried...@gmail.com> wrote: >>>>>>> >>>>>>>> Hey guys, >>>>>>>> >>>>>>>> What is the recommendation for using Ruby's standard libraries in >>>>>>>> Silverlight applications? >>>>>>>> Should the lib be copied to the project dir? should a reference be >>>>>>>> added to the manifest? some other technique? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Shay. >>>>>>>> -------------------------------------------------------- >>>>>>>> Shay Friedman | Author of IronRuby Unleashed >>>>>>>> Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Ironruby-core mailing list >>>>>>>> Ironruby-core@rubyforge.org >>>>>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Ironruby-core mailing list >>>>>>> Ironruby-core@rubyforge.org >>>>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Ironruby-core mailing list >>>>>> Ironruby-core@rubyforge.org >>>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Ironruby-core mailing list >>>>> Ironruby-core@rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core@rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core@rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core