我试图让Devise和新生成的Rails一起运行
2.3.8应用
2.3.8应用
这是我遇到的错误:
devise > script/generate devise_install Couldn't find 'devise_install' generator
我的配置文件中指定了Devise和Warden gems:
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
任何线索?
解决方法
在1.1.5中 rails生成设备:安装.我在某些教程中看过devise_install.