Skip to content

Instantly share code, notes, and snippets.

@webdev1001
webdev1001 / gist:e848abef8064c55c2f6443a282f75651
Last active February 18, 2021 21:51
Array values in the parameter to `Gem.paths=` are deprecated.
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"
@poteto
poteto / devise-oauth.md
Created September 15, 2012 15:38
[rails] using devise and oauth

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'