Rails user authentication using Devise and Omniauth (OAuth). (Note that the Dropbox API uses OAuth v1)
First in Gemfile
:
gem 'devise'
gem 'omniauth'
gem 'omniauth-dropbox'
Array values in the parameter to `Gem.paths=` are deprecated. | |
Please use a String or nil. | |
An Array (...) was passed in from bin/rails:3:in `load' | |
Solution | |
======== | |
https://github.com/rubygems/rubygems/issues/1551 | |
If you came to this issue by googling the error specified in the description of this issue, you should know that it has already been fixed in spring-1.6.4 and all you need to do is to update to latest spring and regenerate binstubs, like this: |
class Thing | |
def say_hi | |
puts "Hi" | |
end | |
end | |
thing = Thing.new | |
thing.say_hi | |
# "Hi" |
Rails user authentication using Devise and Omniauth (OAuth). (Note that the Dropbox API uses OAuth v1)
First in Gemfile
:
gem 'devise'
gem 'omniauth'
gem 'omniauth-dropbox'