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 & 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
感谢您的帮助!
最佳答案
我今天遇到了同样的问题。最后通过将 spring
从 1.3.1 升级到 1.3.2 解决。
关于ruby-on-rails - Rails 服务器运行,但 Rails 控制台抛出错误 "not checked out yet",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28481209/