[Ironruby-core] require_relative

Thibaut Barrère thibaut.barrere at gmail.com
Wed Jun 15 12:06:59 EDT 2011


Hi Jacques,

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...
>

Which version of IronRuby are you using ?

-- Thibaut



>
>
> *JACQUES DU PREEZ***
>
> *PROPCTRL DEVELOPER***
>
>
>
> [image: Description: Description:
> C:\Users\martins\AppData\Roaming\Microsoft\Signatures\logo.jpg]
>
> *Tel:*
>
> +27 21 658 9700
>
> *Website*: www.korbitec.com
>
> *Fax:*
>
> +27 21 658 9701
>
> *E-mail: *jacquesd at korbitec.com
>
> *Mobile*
>
> +27 84 922 7284
>
> *Customer Service Centre:* 0861 111 724
>
> [image: Description: Description:
> C:\Users\martins\AppData\Roaming\Microsoft\Signatures\prop24.jpg]<http://www.property24.com/>[image:
> Description: Description:
> C:\Users\martins\AppData\Roaming\Microsoft\Signatures\propctrl.jpg]<http://www.property24.com/>[image:
> Description: Description:
> C:\Users\martins\AppData\Roaming\Microsoft\Signatures\ghostconvey.jpg]<http://www.ghostconvey.com/>[image:
> 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 or
> or may be obtained by e-mailing csc at korbitec.com***
>
>
>
>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/831d1f13/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2619 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/831d1f13/attachment-0005.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2892 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/831d1f13/attachment-0006.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2444 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/831d1f13/attachment-0007.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3753 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/831d1f13/attachment-0008.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2474 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110615/831d1f13/attachment-0009.jpe>


More information about the Ironruby-core mailing list