This file contains hidden or 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
C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rspec.rb:42: uninitialized constant CI::Reporter::Spec (NameError) | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rspec.rb:6:in `require' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rake/rspec_loader.rb:6 | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rake/rspec_loader.rb:154:in `require' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:154:in `requires=' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:154:in `map' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:154:in `requires=' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspe |
This file contains hidden or 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
I have bundler installed in the @global gemset but not in the default gemset: | |
$ rvm use @global | |
Using /Users/jfire/.rvm/gems/jruby-1.5.3 with gemset global | |
$ gem list | grep bundler | |
bundler (1.0.2) | |
$ rvm use jruby | |
Using /Users/jfire/.rvm/gems/jruby-1.5.3 | |
$ gem which bundler | |
/Users/jfire/.rvm/gems/jruby-1.5.3@global/gems/bundler-1.0.2/lib/bundler.rb |
This file contains hidden or 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
~/Development/SCM ☯〠 ruby --profile.graph -rubygems -e'require "bundler"' | |
%total %self total self children calls name | |
--------------------------------------------------------------------------------------------------------- | |
100% 0% 1.12 0.00 1.12 0 (top) | |
0.67 0.00 0.67 1/31 Kernel#require | |
0.44 0.05 0.39 1/112 Kernel#gem_original_require | |
0.00 0.00 0.00 145/251 Class#inherited | |
--------------------------------------------------------------------------------------------------------- | |
0.00 0.00 0.00 1/31 Gem::Specification#add_dependency_with_type | |
0.00 0.00 0.00 1/31 Gem::SourceIndex.spec_directories_from_classpath |
This file contains hidden or 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
class A | |
class B | |
end | |
end | |
A.class_eval do | |
B | |
end |
This file contains hidden or 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
1.8.7-p330 | |
instance method: Foo::X | |
singleton method: ::X | |
class_eval: ::X | |
instance_eval: ::X |
This file contains hidden or 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
puts "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" | |
class Foo | |
class Bar | |
end | |
end | |
Baz = Class.new do | |
class Quux | |
end |
This file contains hidden or 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
require 'rspec' | |
describe "a TestClass" do | |
class TestClass < String | |
end | |
end | |
describe "other TestClass" do | |
class TestClass < Integer | |
end |
This file contains hidden or 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
require 'rspec' | |
describe "a TestClass" do | |
class self::TestClass < String | |
end | |
end | |
describe "other TestClass" do | |
class ::TestClass < Integer | |
end |
This file contains hidden or 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
1.8.7-p330 | |
instance method: Foo::X | |
singleton method: ::X | |
class_eval: ::X | |
instance_eval: ::X |
This file contains hidden or 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
1.9.1-p378 | |
instance method: Foo::X | |
singleton method: ::X | |
class_eval: Foo::X | |
instance_eval: Foo::X | |
1.9.2-p136 | |
instance method: Foo::X | |
singleton method: Foo::X | |
class_eval: ::X | |
instance_eval: Foo::X |