当我试图运行脚本/服务器我得到这个, 我使用同轨RVM,也是我的项目使用database.travis.yml
/home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-2.3.18/lib/active_support/inflector.rb:3:in '<top (required)>': iconv will be deprecated in the future, use String#encode instead. => Booting WEBrick => Rails 2.3.18 application starting on http://0.0.0.0:3000 NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21. /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/initializer.rb:926:in 'read': No such file or directory - /home/abcsoeasy/epz_lts-master/config/database.yml (Errno::ENOENT) from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/initializer.rb:926:in 'database_configuration' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/initializer.rb:437:in 'initialize_database' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/initializer.rb:141:in 'process' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/initializer.rb:113:in 'run' from /home/abcsoeasy/epz_lts-master/config/environment.rb:7:in '<top (required)>' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in 'require' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in 'block in require' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:547:in 'new_constants_in' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:182:in 'require' from /home/abcsoeasy/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/commands/server.rb:84:in '<top (required)>' from script/server:3:in 'require' from script/server:3:in '<main>'
请指引我红宝石 - 脚本/服务器变量Errno :: ENOENT
-1
A
回答
2
看到你仔细错误中指出
No such file or directory - /home/abcsoeasy/epz_lts-master/config/database.yml (Errno::ENOENT)
这意味着你已经错过了你的database.yml
文件,请加database.yml
请看看来自this链接
1
+0
像任何事情一样工作! – abcsoeasy 2014-09-06 11:15:08
相关问题
- 1. 变量Errno :: ENOENT:没有这样的文件或目录红宝石
- 2. 服务器红宝石
- 3. 宝石cmd从红宝石脚本
- 4. '部署'宝石红宝石脚本
- 5. 红宝石脚本/服务器不读RAILS_ENV选项
- 6. Shell脚本>红宝石
- 7. 红宝石变量澄清
- 8. 红宝石。变量权限
- 9. 红宝石范围变量
- 10. 红宝石会话变量
- 11. 错误运行红宝石服务器
- 12. 红宝石..出口到服务器?
- 13. 红宝石IRC服务器/客户端
- 14. 红宝石,连接到SQL服务器
- 15. CGI在红宝石sinatra服务器
- 16. 独立红宝石脚本中的红宝石
- 17. 红宝石file.foreach
- 18. 红宝石google_drive宝石oAuth2保存
- 19. 转换JavaScript变数红宝石变量
- 20. 变量改变值,红宝石
- 21. 调试宝石红宝石
- 22. 红宝石版本差异正在运行的服务器时
- 23. 红宝石文本
- 24. 从红宝石脚本中安装Homebrew
- 25. 带红宝石脚本的Rails灯具
- 26. 红宝石跳过一段脚本
- 27. 错误而安装红宝石宝石
- 28. 红宝石的宝石不能在脚本加载,但在IRB
- 29. 红宝石邮件宝石,如何编写脚本邮件
- 30. 红宝石
您使用的旧钢轨它的例子与新的耙子或其他宝石。 – 2014-09-06 18:49:26