nearbuy/state_machine — comment on commit 534dc2a7925e6ceca81c0aa26ba5d2979d016f82
File:  line 0
By obrie:

Hey @psanford -

See the note in the README.md about core extensions. Specifically:

...if you'd like to avoid having state_machine add this extension to the
Ruby core, you can do so like so:

```ruby
require 'state_machine/core'

class Vehicle
extend StateMachine::MacroMethods

state_machine do
# ...
end
end
```

If you're using a gem loader like Bundler, you can explicitly indicate which
file to load:

```ruby
# In Gemfile
...
gem 'state_machine', :require => 'state_machine/core'
```

Now you don't have to maintain your own fork. Hurray :)