Rails + Phusion Passenger + AWS RDS + AWS Elastic Beanstalk

时间:2014-04-15 04:56:49

标签: ruby-on-rails amazon-web-services passenger elastic-beanstalk rds

我正在尝试使用Elastic Beanstalk和AWS RDS作为我的数据库将Rails应用程序部署到AWS。我已完成所有必需的配置,输入了所有必需的数据库连接详细信息。

现在我因为一个错误而陷入困境,我无法找到解决方案。

(erb):40: unknown regexp options - yql (SyntaxError)
  /usr/share/ruby/2.0/erb.rb:849:in `eval'
  /usr/share/ruby/2.0/erb.rb:849:in `result'
  /usr/local/share/ruby/gems/2.0/gems/railties-4.1.0/lib/rails/application/configuration.rb:99:in `database_configuration'
  /usr/local/share/ruby/gems/2.0/gems/activerecord-4.1.0/lib/active_record/railtie.rb:128:in `block (2 levels) in <class:Railtie>'
  /usr/local/share/ruby/gems/2.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
  /usr/local/share/ruby/gems/2.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
  /usr/local/share/ruby/gems/2.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
  /usr/local/share/ruby/gems/2.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:44:in `each'
  /usr/local/share/ruby/gems/2.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
  /usr/local/share/ruby/gems/2.0/gems/activerecord-4.1.0/lib/active_record/base.rb:326:in `<module:ActiveRecord>'
  /usr/local/share/ruby/gems/2.0/gems/activerecord-4.1.0/lib/active_record/base.rb:23:in `<top (required)>'
  /usr/local/share/ruby/gems/2.0/gems/passenger-4.0.41/lib/phusion_passenger/loader_shared_helpers.rb:319:in `before_handling_requests'
  /usr/local/share/ruby/gems/2.0/gems/passenger-4.0.41/helper-scripts/rack-preloader.rb:136:in `negotiate_spawn_command'
  /usr/local/share/ruby/gems/2.0/gems/passenger-4.0.41/helper-scripts/rack-preloader.rb:160:in `<module:App>'
  /usr/local/share/ruby/gems/2.0/gems/passenger-4.0.41/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
  /usr/local/share/ruby/gems/2.0/gems/passenger-4.0.41/helper-scripts/rack-preloader.rb:28:in `<main>'

我绝对不知道如何解决这个问题。我必须在明天完成这项工作并提交,因为这是我的项目......请帮助!!!

0 个答案:

没有答案