mbleigh / twitter-auth

Standard authentication stack for Rails using Twitter to log in.
355 stars 48 forks source link

Missing dependency in init.rb #8

Closed chancancode closed 15 years ago

chancancode commented 15 years ago

init.rb is not listing 'json' as a dependency.

mbleigh commented 15 years ago

I fixed this at some point but I'm not sure exactly when.

chancancode commented 15 years ago

I might be missing something, but as of now there is a "require 'json'" line, but missing the corresponding "config.gem 'json'" line.

mbleigh commented 15 years ago

I didn't add config.gem 'json' since there are so many different JSON libraries that are available. If you're on JRuby for example, you can't use the 'json' gem and have to use json pure instead. I would recommend adding it to your app's env.rb; I may update the documentation soon to reflect this.