简体   繁体   English

Rails服务器运行,但rails控制台抛出错误“尚未检出”

[英]Rails server runs, but rails console is throwing error “not checked out yet”

Rails server runs ok, but rails console won't start... What could be wrong? Rails服务器运行正常,但rails控制台无法启动......可能出错?

user@user-pc:~/Sites/refcms_test$ bundle install
...#installing
Your bundle is complete!    
Use `bundle show [gemname]` to see where a bundled gem is installed.    

user@user-pc:~/Sites/refcms_test$ bundle exec thin start  
Using rack adapter    

-- DEPRECATION WARNING --    
The use of 'Refinery::Plugin#activity=' is deprecated and will be removed at version 3.1.    
Thin web server (v1.6.3 codename Protein Powder)    
Maximum connections set to 1024    
Listening on 0.0.0.0:3000, CTRL+C to stop

Server runs...but console not... 服务器运行...但控制台不...

user@user-pc:~/Sites/refcms_test$ bundle install
...#installing
Your bundle is complete!    
Use `bundle show [gemname]` to see where a bundled gem is installed.    

user@user-pc:~/Sites/refcms_test$ rails console    
git://github.com/refinery/refinerycms-page-images.git (at master) is not yet checked out. Run `bundle install` first.    

My versions Ruby & Rails: 我的版本Ruby&Rails:

user@user-pc:~/Sites/refcms_test$ ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
user@user-pc:~/Sites/refcms_test$ rails -v
Rails 4.1.6

Thanks for help! 感谢帮助!

I'm facing the same problem today. 我今天面临同样的问题。 And finally solved by upgrade spring from 1.3.1 to 1.3.2. 最后通过升级spring从1.3.1解决到1.3.2。

尝试运行:bundle install --deployment

停止弹簧对我有用,

spring stop

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM