I have created a fresh rails project, created a config/initializers/mailer.rb containing:
ActionMailer::Base.default_url_options[:host] = "localhost:3000"
with the following Gemfile:
# Edit this Gemfile to bundle your application's dependencies.
source 'http://gemcutter.org'
I ran 'bundle install' and 'bundle check' says "The Gemfile's dependencies are satisfied". Now, I attempt to install devise:
Brendon-Davidsons-MacBook-Pro:dashboard brendon$ rails generate devise_install
/Users/brendon/.bundle/ruby/1.9.1/gems/devise-1.1.pre4/lib/devise.rb:61:in `': undefined method `weeks' for 2:Fixnum (NoMethodError)
from /Users/brendon/.bundle/ruby/1.9.1/gems/devise-1.1.pre4/lib/devise.rb:1:in `'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler/runtime.rb:41:in `require'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler/runtime.rb:41:in `block (2 levels) in require'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler/runtime.rb:36:in `each'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler/runtime.rb:36:in `block in require'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler/runtime.rb:35:in `each'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler/runtime.rb:35:in `require'
from /Users/brendon/.rvm/gems/ruby/1.9.1/gems/bundler-0.9.11/lib/bundler.rb:72:in `require'
from /Users/brendon/DSM/test/dashboard/config/application.rb:6:in `'
from /Users/brendon/DSM/test/dashboard/config/environment.rb:2:in `require'
from /Users/brendon/DSM/test/dashboard/config/environment.rb:2:in `'
from /Users/brendon/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/commands.rb:29:in `require'
from /Users/brendon/.bundle/ruby/1.9.1/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/rails/commands.rb:29:in `'
from /Users/brendon/DSM/test/dashboard/script/rails:10:in `require'
from /Users/brendon/DSM/test/dashboard/script/rails:10:in `'
Hey mate, no need to apologize. :) Actually, there is no way you could have guessed it, since there was no information in the README whatsoever. So I just changed it. Please let me know if you have any doubts!