Giter Site home page Giter Site logo

Comments (2)

anhilo avatar anhilo commented on July 1, 2024

大牛,请教个一个配置安装问题啊。
rake db:schema:load 报错如下啊
rake aborted!
NoMethodError: undefined method merge!' for #<ActionDispatch::Routing::Mapper::Scope:0x000000063f83a0> /usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:457:inensure in with_devise_exclusive_scope'
/usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:457:in with_devise_exclusive_scope' /usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:248:inblock (2 levels) in devise_for'
/usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:351:in block in devise_scope' /usr/local/rvm/gems/ruby-2.0.0-p598/gems/actionpack-4.2.0/lib/action_dispatch/routing/mapper.rb:940:inblock in constraints'
/usr/local/rvm/gems/ruby-2.0.0-p598/gems/actionpack-4.2.0/lib/action_dispatch/routing/mapper.rb:816:in scope' /usr/local/rvm/gems/ruby-2.0.0-p598/gems/actionpack-4.2.0/lib/action_dispatch/routing/mapper.rb:940:inconstraints'
/usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:350:in devise_scope' /usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:247:inblock in devise_for'
/usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:223:in each' /usr/local/rvm/gems/ruby-2.0.0-p598/gems/devise-3.3.0/lib/devise/rails/routes.rb:223:indevise_for'
/root/fofa/fofa-master/config/routes.rb:14:in `block in <top (required)>'

能否帮我看看,是什么地方出了差错呢。

from fofa.

anhilo avatar anhilo commented on July 1, 2024

gem 'devise', :git => 'https://github.com/plataformatec/devise.git', :branch => 'lm-rails-4-2' 已经解决。来源地址:heartcombo/devise#3159

from fofa.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.