Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `define_method' for main:Object #2325

Closed
Zapotek opened this issue Dec 15, 2014 · 4 comments
Closed

undefined method `define_method' for main:Object #2325

Zapotek opened this issue Dec 15, 2014 · 4 comments

Comments

@Zapotek
Copy link

@Zapotek Zapotek commented Dec 15, 2014

define_method doesn't seem to be defined for the main object. It has been available since ruby-2.0.0-p0 at least and jruby -v for 1.7.17 says it aims for 2.0.0p195 so I think that it should be included.

Cheers

@nirvdrum
Copy link
Contributor

@nirvdrum nirvdrum commented Dec 15, 2014

@Zapotek Ruby 2.0 support in 1.7.x is effectively "as is" at this point. Ongoing 2.x development is in master (JRuby 9.0.0.0) right now.

@Zapotek
Copy link
Author

@Zapotek Zapotek commented Dec 15, 2014

That's cool, this was more of a heads-up. I'd try the master branch but rvm install jruby-head (that builds from master right?) is giving me compilation errors on both Kubuntu and OSX Yosemite at the moment.

@nirvdrum
Copy link
Contributor

@nirvdrum nirvdrum commented Dec 15, 2014

I think so. You might have better luck asking in #rvm on irc.freenode.net.

@headius
Copy link
Member

@headius headius commented Dec 16, 2014

...or stop into #jruby on Freenode...the compilation errors might be simple.

We are not opposed to pull requests that add missing 2.0 functionality in 1.7, but we won't be actively working on 2.0 support there.

I'm going to close this assuming that we can get jruby-head running for you, since that would be the more compatible option.

@headius headius closed this Dec 16, 2014
@headius headius added this to the Invalid or Duplicate milestone Dec 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants