2
/usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/values/time_zone.rb:285:

警告:循环参数参考 - 现在 /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:377:in parse': (<unknown>): mapping values are not allowed in this context at line 7 column 24 (Psych::SyntaxError) from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:377:in parse_stream' 来自 /usr/local/rvm/rubies/ruby -2.3.0/lib/ruby/2.3.0/psych.rb:325:in parse' from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:252:inload' 来自 /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/ application.rb:60:in parse' from /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/application.rb:56:in block in raw_configuration' 来自 /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/application.rb:56:in raw_configuration' from /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/application.rb:64:in global_configuration' 来自 / usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/application.rb:32:in configuration' from /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/application.rb:42:in each' 来自 /usr/local/rvm/gems/ruby-2.3.0 /gems/figaro-1.0.0/lib/figaro/application.rb:36:in load' from /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro.rb:23:in 从 /usr/local/rvm/gems/ruby-2.3.0/gems/figaro-1.0.0/lib/figaro/rails/railtie.rb:5:in block in <class:Railtie>' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:36:in execute_hook 加载'来自 /usr/local/rvm/gems /ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:45:in block in run_load_hooks' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:44:in each' 来自 /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-4.1。 0/lib/active_support/lazy_load_hooks.rb:44:in run_load_hooks' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/application.rb:123:in 初始化'来自 /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/railtie.rb:171:in new' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/railtie.rb:171:in 实例'来自 /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/application.rb:90:in inherited' from /home/ubuntu/workspace/simplecodecasts_saas/config/application.rb:10:in '来自 /home/ubuntu/workspace/simplecodecasts_saas/config/应用程序.rb:9:in <top (required)>' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:79:in 需要'来自 /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:79:in block in server' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in tap' 来自 /usr/local/rvm/gems /ruby-2.3.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in server' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in run_command!来自 /usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in <top (required)>' from /home/ubuntu/workspace/simplecodecasts_saas/bin/rails:9:in来自 /home/ubuntu/workspace/simplecodecasts_saas/bin/rails :9:in <top (required)>' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in load' 来自 /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in call' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.2/lib/spring/client/command.rb:7:in call' 来自 /usr/local /rvm/gems/ruby-2.3.0/gems/spring-1.7.2/lib/spring/client.rb:30:in run' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.2/bin/spring:49:in '来自 /usr/local/rvm/gems/ruby-2.3.0/gems/spring -1.7.2/lib/spring/binstub.rb:11: load' from /usr/local/rvm/gems/ruby-2.3.0/gems/spring-1.7.2/lib/spring/binstub.rb:11:in '来自 /home/ubuntu/workspace/simplecodecasts_saas/bin/spring:13:in require' from /home/ubuntu/workspace/simplecodecasts_saas/bin/spring:13:in'来自 bin/rails:3:in load' from bin/rails:3:in'

这是我的 application.yml:

# Add configuration values here, as shown below.
#
# pusher_app_id: "2954"
# pusher_key: "..........."
# pusher_secret: "..........."

stripe_api_key: "......."
stripe_publishable_key: "........" # 生产:
stripe_api_key: "............ .."
stripe_publishable_key: "......"

这些点是出于安全原因。对不起。但是东西在那里

4

0 回答 0