crystal-community / jwt

JWT implementation in Crystal
MIT License
206 stars 24 forks source link

"undefined constant JWT::Algorithm::HS256" #29

Closed ghost closed 4 years ago

ghost commented 4 years ago

When trying to run the example from the README, I get the following error: undefined constant JWT::Algorithm::HS256. My shard.yml is pulling from the master branch, but the code I have differs from the code here in the GitHub repo, and I have no idea why.

ghost commented 4 years ago

Specifying the version explicitly has fixed the issue, sorry!

ghost commented 4 years ago

I was incorrect. Even specifying the version changes nothing

ghost commented 4 years ago

Finally got it by specifying branch as HEAD