Require_relative


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

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


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs