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

HotCocoa Graphics can't be required #1

Open
mattetti opened this issue Jan 20, 2010 · 2 comments
Open

HotCocoa Graphics can't be required #1

mattetti opened this issue Jan 20, 2010 · 2 comments

Comments

@mattetti
Copy link

>> require 'hotcocoa/graphics'
NoMethodError: private method `define_method' called for Class:Class
from core:in `require:'
from (irb):3:in `<main>'
from core:in `eval:'
from core:in `evaluate:
@dj2
Copy link
Contributor

dj2 commented Jan 21, 2010

require 'hotcocoa/graphics' works for me with: http://github.com/dj2/hotcocoa/commit/8735a5b06eff703311b7f8a39962bc9493940393 applied.

@mattetti
Copy link
Author

The problem is that the gem code is actually not the latest from macruby trunk, I had fixed this problem a long time ago: http://github.com/masterkain/macruby/blob/628c0ccc89f23e9a4f1871553bc5214ba61c9503/lib/hotcocoa/graphics/color.rb#L198-206 Rich is aware of that and is going to merge the source code. Thanks for your help tho.

isaac pushed a commit to isaac/hotcocoa that referenced this issue Aug 7, 2011
add a method to save the CIImage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants