Closed rubycut closed 12 years ago
ruby-1.8.7-p352 :001 > require 'rubygems' => false ruby-1.8.7-p352 :002 > gem "SystemTimer" => true ruby-1.8.7-p352 :006 > require 'system_timer' NoMethodError: undefined method exclusive' for Thread:Class from /home//.rvm/gems/ruby-1.8.7-p352@sysmon/gems/SystemTimer-1.2/lib/system_timer.rb:33 from /home//.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:ingem_original_require' from /home//.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from (irb):6
exclusive' for Thread:Class from /home//.rvm/gems/ruby-1.8.7-p352@sysmon/gems/SystemTimer-1.2/lib/system_timer.rb:33 from /home//.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
I don't see #exclusive method anywhere in Ruby docs. It's present in rails only.
1.2.3 Seems to work.
ruby-1.8.7-p352 :001 > require 'rubygems' => false ruby-1.8.7-p352 :002 > gem "SystemTimer" => true ruby-1.8.7-p352 :006 > require 'system_timer' NoMethodError: undefined method
exclusive' for Thread:Class from /home//.rvm/gems/ruby-1.8.7-p352@sysmon/gems/SystemTimer-1.2/lib/system_timer.rb:33 from /home//.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
gem_original_require' from /home//.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from (irb):6I don't see #exclusive method anywhere in Ruby docs. It's present in rails only.