[Ironruby-core] require_relative
Jacques du Preez
JacquesD at korbitec.com
Wed Jun 15 10:42:28 EDT 2011
Hi,
I'm 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...
JACQUES DU PREEZ
PROPCTRL DEVELOPER
[Description: Description: C:\Users\martins\AppData\Roaming\Microsoft\Signatures\logo.jpg]
Tel:
+27 21 658 9700
Website: www.korbitec.com<http://www.korbitec.com/>
Fax:
+27 21 658 9701
E-mail: jacquesd at korbitec.com<mailto:jacquesd at korbitec.com>
Mobile
+27 84 922 7284
Customer Service Centre: 0861 111 724
[Description: Description: C:\Users\martins\AppData\Roaming\Microsoft\Signatures\prop24.jpg]<http://www.property24.com/>[Description: Description: C:\Users\martins\AppData\Roaming\Microsoft\Signatures\propctrl.jpg]<http://www.property24.com/>[Description: Description: C:\Users\martins\AppData\Roaming\Microsoft\Signatures\ghostconvey.jpg]<http://www.ghostconvey.com/>[Description: Description: C:\Users\martins\AppData\Roaming\Microsoft\Signatures\windeed.jpg]<http://www.windeed.co.za/>
This e-mail is subject to the Korbitec (Pty) Ltd e-mail disclaimer which can be found at www.korbitec.com/email_disclaimer.htm <http://www.korbitec.com/email_disclaimer.htm> or
or may be obtained by e-mailing csc at korbitec.com<mailto:csc at korbitec.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/2d783c83/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3753 bytes
Desc: image001.jpg
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/2d783c83/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 2892 bytes
Desc: image002.jpg
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/2d783c83/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 2619 bytes
Desc: image003.jpg
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/2d783c83/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 2444 bytes
Desc: image004.jpg
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/2d783c83/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 2474 bytes
Desc: image005.jpg
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/2d783c83/attachment-0009.jpg>
More information about the Ironruby-core
mailing list