Forum: IronRuby require_relative

Posted by Jacques du Preez (Guest)
on 2011-06-15 17:05
Attachment: image001.jpg (3,67 KB)
Attachment: image002.jpg (2,82 KB)
Attachment: image003.jpg (2,56 KB)
Attachment: image004.jpg (2,39 KB)
Attachment: image005.jpg (2,42 KB)
(Received via mailing list)
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by James Schementi (jschementi)
on 2011-06-15 18:13
(Received via mailing list)
On Jun 15, 2011, at 10:42 AM, Jacques du Preez wrote:
> Hi,
>
> Im getting the following error trying to use the require_relative method in 
Ruby:
>
> person.rb:3: undefined method `require_relative' for main:Object (NoMethodError)
>
> Is require_relative not supposed to be standard in Ruby 1.9? I know I can use 
require, but I thought require_relative is now standard in 1.9...

IronRuby's Ruby-1.9 support is not complete, and require_relative has 
not been implemented yet in IronRuby.

~js
Posted by Thibaut Barrère (thbar)
on 2011-06-15 18:17
Attachment: image003.jpg (2,56 KB)
Attachment: image002.jpg (2,82 KB)
Attachment: image004.jpg (2,39 KB)
Attachment: image001.jpg (3,67 KB)
Attachment: image005.jpg (2,42 KB)
(Received via mailing list)
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
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.