Thanks for the reply!

Actually I am trying to run the open method using C#. Here is the code:

 dynamic rubyPerson =  (engine.Execute(@"
            require 'open-uri'

            class Person
            def greet()
            puts 'hello world'
            end

            end

            def getPerson()

            f = open('http://www.azamsharp.com/Default.aspx')

            end

            getPerson()
            "));

And here is the error:

no such file to load open-uri
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to