doorkeeper-gem / doorkeeper-grants_assertion

Assertion grant extension for Doorkeeper. Born from: https://github.com/doorkeeper-gem/doorkeeper/pull/249
MIT License
82 stars 53 forks source link

Update README.md #14

Closed motephyr closed 8 years ago

motephyr commented 8 years ago

fix readme

motephyr commented 8 years ago

I spent a lot of time and get this error:

NoMethodError (undefined method `resource_owner_from_assertion' for #<Doorkeeper::TokensController:0x00000006a34f98>)

and the reason is i use

gem 'doorkeeper-grants_assertion'

but i found i lost railtie.rb, and the file contain also different.

so i do this

gem 'doorkeeper-grants_assertion' , git: 'https://github.com/doorkeeper-gem/doorkeeper-grants_assertion.git'

it works. and take out my 5 hours.

NuckChorris commented 8 years ago

I don't believe this gem is released to Rubygems yet

motephyr commented 8 years ago

but Rubygems's version is old.

Charizard commented 8 years ago

:+1: for saving my time. I think the latest master needs to be released in ruby gems.

NuckChorris commented 8 years ago

This gem is not release ready. If you want to use it right now, use:

gem 'doorkeeper-grants_assertion', github: 'doorkeeper-gem/doorkeeper-grants_assertion'

But let's be clear that this is prerelease software and it's absolutely not ready for production.

tute commented 8 years ago

@NuckChorris https://github.com/doorkeeper-gem/doorkeeper-grants_assertion/pull/14#issuecomment-166375513 explains how it should be added. This PR is no better. Until it is released as v1, it won't be in rubygems. Thank you!