Error هنگام نصب Faalis

سلام.
می‌خوام Faalis رو نصب کنم. بعد از bundle install دیگه rails با مشکل مواجه می‌شه. و وقتی مثلا می‌زنم
rails g faalis:install
این error رو می‌ده:

/var/lib/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `devise' for #<Class:0x00000005f943e0> (NoMethodError)
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/app/models/faalis/user.rb:66:in `<class:User>'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/app/models/faalis/user.rb:28:in `<module:Faalis>'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/app/models/faalis/user.rb:26:in `<top (required)>'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:457:in `load'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:457:in `block in load_file'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:647:in `new_constants_in'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:456:in `load_file'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:354:in `require_or_load'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:494:in `load_missing_constant'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:184:in `const_missing'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:263:in `const_get'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:263:in `block in constantize'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `each'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `inject'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/inflector/methods.rb:259:in `constantize'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:566:in `get'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:597:in `constantize'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise.rb:291:in `get'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/mapping.rb:81:in `to'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/mapping.rb:76:in `modules'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/mapping.rb:93:in `routes'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/mapping.rb:160:in `default_used_route'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/mapping.rb:70:in `initialize'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise.rb:325:in `new'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise.rb:325:in `add_mapping'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/rails/routes.rb:238:in `block in devise_for'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/rails/routes.rb:237:in `each'
      
      
        
        	from /var/lib/gems/2.2.0/gems/devise-3.5.3/lib/devise/rails/routes.rb:237:in `devise_for'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/config/routes.rb:33:in `block (2 levels) in <top (required)>'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/lib/faalis/route.rb:15:in `block in localized_scope'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:816:in `scope'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/lib/faalis/route.rb:14:in `localized_scope'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/config/routes.rb:18:in `block in <top (required)>'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:601:in `instance_exec'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:601:in `block in with_default_scope'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:816:in `scope'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:600:in `with_default_scope'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:432:in `eval_block'
      
      
        
        	from /var/lib/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:412:in `draw'
      
      
        
        	from /home/username/.bundler/ruby/2.2.0/Faalis-d79245570beb/config/routes.rb:1:in `<top (required)>'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `each'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:40:in `load_paths'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:16:in `reload!'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:26:in `block in updater'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/file_update_checker.rb:75:in `call'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/file_update_checker.rb:75:in `execute'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:27:in `updater'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:30:in `run'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:345:in `each'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:345:in `call'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
      
      
        
        	from /usr/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:352:in `initialize!'
      
      
        
        	from /home/username/workspace/Rails Practices/faalisWorks/config/environment.rb:5:in `<top (required)>'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
      
      
        
        	from /var/lib/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:328:in `require_environment!'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:142:in `require_application_and_environment!'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:128:in `generate_or_destroy'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:50:in `generate'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
      
      
        
        	from /var/lib/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
      
      
        
        	from bin/rails:4:in `require'
      
      
        
        	from bin/rails:4:in `<main>'  

devise هم نصب هست روی سیستم.

Faalis به صورت پیش فرض از devise استفاده می کنه و دیگه نیازی نیست devise رو خودت کانفیگ و نصب کنی

بدون devise هم این مشکل رو دارم. (وقتی gem devise نصب نیست).

اگه امکانش هست تو issue tracker خود پروژه issue بزن که بشه به سورس هم روجوع کرد. در ضمن Gemfile رو هم بزار

1 پسندیده