heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
24k stars 5.55k forks source link

Crash with rails 3.1rc8 #1294

Closed diegorv closed 13 years ago

diegorv commented 13 years ago
/Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/devise-1.0.11/lib/devise.rb:89:in `<module:Devise>': undefined method `weeks' for 2:Fixnum (NoMethodError)
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/devise-1.0.11/lib/devise.rb:1:in `<top (required)>'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `each'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `block in require'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `each'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
from /Users/diegorv/Documents/rails/work/Phenix_ERP/config/application.rb:3:in `<top (required)>'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/railties-3.1.0.rc8/lib/rails/commands.rb:52:in `require'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/railties-3.1.0.rc8/lib/rails/commands.rb:52:in `block in <top (required)>'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/railties-3.1.0.rc8/lib/rails/commands.rb:49:in `tap'
from /Users/diegorv/.rvm/gems/ruby-1.9.2-p180-loadgc@railsbeta/gems/railties-3.1.0.rc8/lib/rails/commands.rb:49:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

ruby 1.9.2 gem 'rails', "3.1.0.rc8" gem 'devise'

josevalim commented 13 years ago

This was already reported. :) Please use Devise master until a compatible gem is released (likely tomorrow).

diegorv commented 13 years ago

hm, sorry! thanks :)