```ruby
Dir.glob(File.expand_path('core_ext/*.rb', __dir__)).each do |path|
  require path
end
```

Fix no method error on ruby-1.9.3
user
```ruby
Dir.glob(File.expand_path('core_ext/*.rb', File.dirname(__FILE__))).each do |path|
  require path
end
```
assistant