Forum: IronRuby Cannot require 'liquid' (workitem created)

Posted by Thibaut Barrère (thbar)
on 2010-01-30 13:21
(Received via mailing list)
Hi,

I wanted to see if liquid (http://www.liquidmarkup.org => non evaling
templating system) would work with IronRuby, but apparently it doesn't.

require 'liquid' is raising this:

Expression of type 'System.Boolean' cannot be used for parameter of type
'System.Object' of method 'System.Object DefineMethod(System.Object,
IronRuby.Runtime.RubyScope, IronRuby.Runtime.Calls.RubyMethodBody)'
(ArgumentError)

Work-item: 
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3754
Repro: http://github.com/thbar/ironruby-labs/tree/master/bug-tracking/

-- Thibaut
Posted by Tomas Matousek (Guest)
on 2010-01-30 18:55
(Received via mailing list)
This fixes it.

Tomas

From: ironruby-core-bounces@rubyforge.org 
[mailto:ironruby-core-bounces@rubyforge.org] On Behalf Of Thibaut 
Barrère
Sent: Saturday, January 30, 2010 4:19 AM
To: ironruby-core
Subject: [Ironruby-core] Cannot require 'liquid' (workitem created)

Hi,

I wanted to see if liquid (http://www.liquidmarkup.org => non evaling 
templating system) would work with IronRuby, but apparently it doesn't.

require 'liquid' is raising this:

Expression of type 'System.Boolean' cannot be used for parameter of type 
'System.Object' of method 'System.Object DefineMethod(System.Object, 
IronRuby.Runtime.RubyScope, IronRuby.Runtime.Calls.RubyMethodBody)' 
(ArgumentError)

Work-item: 
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3754
Repro: http://github.com/thbar/ironruby-labs/tree/master/bug-tracking/

-- Thibaut
Posted by Thibaut Barrère (thbar)
on 2010-01-30 19:09
(Received via mailing list)
That was fast! Thanks :)

-- Thibaut

On Sat, Jan 30, 2010 at 6:54 PM, Tomas Matousek <
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.