-
-
Save headius/5d6128645e1546a5c589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[--dev] | |
~/projects/jruby $ rvm jruby-1.7 do ruby -v auto.rb | |
jruby 1.7.16 (1.9.3p392) 2014-09-25 575b395 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_40-ea-b19 [darwin-x86_64] | |
NameError: Undefined method == for class 'ProxyObject' | |
undef_method at org/jruby/RubyModule.java:2330 | |
ProxyObject at /Users/headius/projects/jruby/proxy_object.rb:2 | |
(root) at /Users/headius/projects/jruby/proxy_object.rb:1 | |
require at org/jruby/RubyKernel.java:1065 | |
(root) at /Users/headius/.rvm/rubies/jruby-1.7.16/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 | |
require at /Users/headius/.rvm/rubies/jruby-1.7.16/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 | |
[--dev] | |
~/projects/jruby $ cat auto.rb | |
autoload :ProxyObject, 'proxy_object.rb' | |
require 'proxy_object' | |
[--dev] | |
~/projects/jruby $ cat proxy_object.rb | |
class ProxyObject < ::BasicObject | |
undef_method :== | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment