Could not find generator devise:install.
来源:互联网 发布:qq等级加速器软件 编辑:程序博客网 时间:2024/06/11 18:32
Something I keep forgetting about, is how Rails 3 treats gems. Any gem you want to use (in this case it was devise) needs to be setup in the Gemfile.
If you try to run Devise’s installation: rails generate devise:install
you’ll getCould not find generator devise:install
.
What happens is rails doesn’t detect that the devise gem is needed, and therefore doesn’t load it. All you’ve got to do is open the Gemfile for your project and add the following line, where the gem version matches what you are currently using:
gem 'devise', '1.4.7'
Run the installation command again and you should be good to go!
- Could not find generator devise:install.
- Eclipse: install new software could not find jar file
- Could not find .egg-info directory in install record for *
- mvn install could not find artifact in local repository
- could not instantiate id generator
- could not find class
- Could not find gem
- Could not find/open
- Could not find *.apk!
- could not find hibernateutilbase
- could not find class
- could not find wglGetExtensionsStringARB
- Could not find artifact
- bundle install时候出现"Could not find modernizr-2.6.2 in any of the sources"
- 卸载Source Insight 3时出现"Could not find the INSTALL.LOG"
- pod install报错:could not find a valid gem 'cocoapods'
- Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME
- Could not install Gradle distribution
- C# DataTable 中DataRow的RowState
- Android程序启动画面之Splash总结
- 角色扮演游戏中敌人AI(人工智能)的设计方法
- 黑马程序员——Socket网络编程聊天室
- Android成长之路-实现手机号归属地查找的应用
- Could not find generator devise:install.
- java一行一行写入或读取数据
- ubuntu开启SSH服务
- myeclispe8.5 -9.0 svn 安装
- 查询linux系统命令
- mysql数据库查询如何排序
- 使用LIBSVM需要注意的几个问题
- Flash Player的版本
- 最适合你的“解压”方式