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

时间:2015-02-12 15:21:29

标签: ruby-on-rails ruby ruby-on-rails-4 bundle

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

服务器运行......但控制台没有......

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.    

我的版本Ruby&导轨:

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

感谢您的帮助!

3 个答案:

答案 0 :(得分:6)

我今天面临同样的问题。最后通过升级spring从1.3.1解决到1.3.2。

答案 1 :(得分:1)

尝试运行:     捆绑安装 - 部署

答案 2 :(得分:1)

阻止春天为我工作,

spring stop