私はmongoidとdeviseでrails4を使おうとしています。Gemfileにこれがあります
gem 'rails', '4.0.0'
gem 'mongoid'
gem 'devise'
bundle install
成功しています。しかし、起動しようとするとrails server
、このエラーが発生します
Exiting
/home/username/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- mongoid/version (LoadError)
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/devise-3.0.0/lib/devise/rails.rb:34:in `block in <class:Engine>'
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
from /home/username/.rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
UbuntuでRuby 2.0.0を使用しています