• 可以用foreman这个gem一次启动rails s和webpack dev server。不过默认的web端口会变成5000。

  • Postico +1,不过别直接在App Store里买,收费的。下个试用版其实够用了。

  • 这个是执行sudo make install之后,下载的情况。

  • Docker没有成功用那个url安装,连不上。最后用docker的文档装的。试了了docker info。

  • /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/default.rb:41:in `initialize'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/default.rb:34:in `new'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/default.rb:34:in `instance'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/default.rb:22:in `[]'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/settings.rb:76:in `[]'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/base.rb:35:in `[]'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/settings.rb:32:in `rescue in method_missing'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/settings.rb:22:in `method_missing'
    /var/www/homeland/config/environments/production.rb:30:in `block in <top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/railtie.rb:209:in `instance_eval'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/railtie.rb:209:in `configure'
    /var/www/homeland/config/environments/production.rb:1:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `block in require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:600:in `block (2 levels) in <class:Engine>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:599:in `each'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:599:in `block in <class:Engine>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:30:in `instance_exec'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:30:in `run'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:44:in `each'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:44:in `tsort_each_child'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:54:in `run_initializers'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/application.rb:352:in `initialize!'
    /var/www/homeland/config/environment.rb:5:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `block in require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/application.rb:328:in `require_environment!'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands/rake_proxy.rb:14:in `block in run_rake_task'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands/rake_proxy.rb:11:in `run_rake_task'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:51:in `run_command!'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands.rb:18:in `<top (required)>'
    /var/www/homeland/bin/rails:9:in `require'
    /var/www/homeland/bin/rails:9:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `load'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `call'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client/command.rb:7:in `call'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client.rb:30:in `run'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/bin/spring:49:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `load'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `<top (required)>'
    /var/www/homeland/bin/spring:13:in `require'
    /var/www/homeland/bin/spring:13:in `<top (required)>'
    bin/rails:3:in `load'
    bin/rails:3:in `<main>'
    NoMethodError: undefined method `asset_host' for Setting (call 'Setting.connection' to establish a connection):Class
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.1/lib/active_record/dynamic_matchers.rb:21:in `method_missing'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/rails-settings-cached-0.6.5/lib/rails-settings/settings.rb:23:in `method_missing'
    /var/www/homeland/config/environments/production.rb:30:in `block in <top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/railtie.rb:209:in `instance_eval'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/railtie.rb:209:in `configure'
    /var/www/homeland/config/environments/production.rb:1:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `block in require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:600:in `block (2 levels) in <class:Engine>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:599:in `each'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:599:in `block in <class:Engine>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:30:in `instance_exec'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:30:in `run'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:44:in `each'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:44:in `tsort_each_child'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:54:in `run_initializers'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/application.rb:352:in `initialize!'
    /var/www/homeland/config/environment.rb:5:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `block in require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in `require'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/application.rb:328:in `require_environment!'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands/rake_proxy.rb:14:in `block in run_rake_task'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands/rake_proxy.rb:11:in `run_rake_task'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:51:in `run_command!'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/railties-5.0.1/lib/rails/commands.rb:18:in `<top (required)>'
    /var/www/homeland/bin/rails:9:in `require'
    /var/www/homeland/bin/rails:9:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `load'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in `call'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client/command.rb:7:in `call'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/client.rb:30:in `run'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/bin/spring:49:in `<top (required)>'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `load'
    /var/www/homeland/vendor/bundle/ruby/2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in `<top (required)>'
    /var/www/homeland/bin/spring:13:in `require'
    /var/www/homeland/bin/spring:13:in `<top (required)>'
    bin/rails:3:in `load'
    bin/rails:3:in `<main>'
    Tasks: TOP => db:migrate => environment
    
  • Savon 2 传送 SOAP wsdl 出错 at 2015年08月24日

    先更新下,似乎服务器端有问题。等联调结果吧。 另外,这个报错应该是服务器端的报错。

  • Savon 2 传送 SOAP wsdl 出错 at 2015年08月24日

    再次补充。message这个参数,改成xml之后。response = client.call(:do_request, xml: msg),倒是没有 -- 不允许处理指令目标匹配“[xX][mM][lL]”的错误了。但有了下面的错误:(soapenv:Server.userException) org.xml.sax.SAXException: Bad envelope tag: Records。注Records是构建的xml最外层的标签。

  • Savon 2 传送 SOAP wsdl 出错 at 2015年08月24日

    #2楼 @mueven 在联系对面的IT,感觉是返回的。因为从来没有在本地配置过中文的信息。但报了个中文错误。

  • Savon 2 传送 SOAP wsdl 出错 at 2015年08月23日

    http://savonrb.com/version2/locals.html 补充下,这个链接里有复杂xml的构造法,但试了似乎也没有效果,不知道是不是不得法啊。

  • heihei