我正在尝试使用新生成的 Rails 2.3.8 应用程序启动并运行 Devise。
这是我遇到的错误:
devise > script/generate devise_install
Couldn't find 'devise_install' generator
我确实在我的配置文件中指定了 Devise 和 Warden gem:
config.gem 'warden', :version => '0.10.7'
config.gem 'devise', :version => '1.0.8'
宝石已安装:
devise > rake gems
- [I] warden = 0.10.7
- [R] rack >= 1.0.0
- [I] devise = 1.0.8
- [I] warden ~> 0.10.3
- [R] rack >= 1.0.0
I = Installed
F = Frozen
R = Framework (loaded before rails starts)
查看生成器列表,我没有看到任何来自 Devise 的内容:
devise > script/generate
Installed Generators
Rubygems: cucumber, facebook, facebook_controller,
facebook_publisher, facebook_scaffold, feature, integration_spec,
publisher, rspec, rspec_controller, rspec_model, rspec_scaffold,
session, xd_receiver
Builtin: controller, helper, integration_test, mailer, metal,
migration, model, observer, performance_test, plugin, resource,
scaffold, session_migration
有什么线索吗?