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

not jruby compat? #15

Open
rdp opened this issue Jun 24, 2010 · 1 comment
Open

not jruby compat? #15

rdp opened this issue Jun 24, 2010 · 1 comment

Comments

@rdp
Copy link
Owner

rdp commented Jun 24, 2010

adding
require 'faster_require' to the top of whichr, after
require 'rubygems'
results in:

C:\dev\ruby\faster_rubygems>c:\ruby19\bin\ruby c:\installs\timer.rb whichr whichr
whichr "whichr"
C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/faster_require-0.5.2/lib
C:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8
C:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/shared
C:/dev/ruby/downloads/jruby/lib/ruby/1.8
.
enumerator.jar
rubygems.rb
faster_rubygems.rb
C:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/faster_rubygems/my_gem_prelude.rb
rbconfig.rb
C:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/faster_rubygems/my_defaults.rb
C:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/faster_rubygems/prelude_cached_load.rb
C:/dev/ruby/downloads/jruby/lib/ruby/1.8/rubygems.rb
C:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/faster_rubygems/prelude_bin_path.rb
faster_require.rb
C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/sane-0.21.3/lib/sane/test/assertions.rb
C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/whichr-0.3.5/bin/whichr:14: undefined method `in?' for "whichr":String (NoMethodError)
        from C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/whichr-0.3.5/bin/whichr:20:in`load'
        from C:\dev\ruby\downloads\jruby\bin\whichr:20
1.052316
@rdp
Copy link
Owner Author

rdp commented Mar 10, 2011

appears quite broken, indeed

C:\dev>c:\dev\ruby\downloads\jruby\bin\jruby -S rake
"done"
c:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/rubygems/platform.rb:174 warning: already initialized constant RUBY
c:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/rubygems/platform.rb:180 warning: already initialized constant CURRENT
Gem::LoadError: Could not find RubyGem rake (>= 0)

  report_activate_error at c:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:863
               activate at c:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:257
                    gem at c:/dev/ruby/downloads/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:1217
                 (root) at c:/dev/ruby/downloads/jruby/bin/rake:18

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

1 participant