Skip to content

Commit

Permalink
don't require fibers (causing load error) if emulated fibers defined …
Browse files Browse the repository at this point in the history
…elsewhere
  • Loading branch information
danielsdeleo committed Jun 30, 2009
1 parent 43756c1 commit 3c1ff45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -10,7 +10,7 @@ task :install => :gem do
sh 'sudo gem install em-spec-*.gem'
end

task :default => :gem
task :default => :spec

task :spec do
sh 'bacon test/bacon_spec.rb'
Expand Down
2 changes: 1 addition & 1 deletion lib/ext/fiber18.rb
Expand Up @@ -55,7 +55,7 @@ def inspect
end
end
else
require 'fiber'
require 'fiber' unless Fiber.respond_to?(:current)
end

if __FILE__ == $0
Expand Down

0 comments on commit 3c1ff45

Please sign in to comment.