如果每個 Rails app 都有呼應本身的 Docker-compose repository,例如 A Rails app 自己本身有 Rails repo 而且也有專屬的 A Docker-compose repo,那麼就要注意 A Docker-compose repo 的目錄架構,小心無法
read more如果每個 Rails app 都有呼應本身的 Docker-compose repository,例如 A Rails app 自己本身有 Rails repo 而且也有專屬的 A Docker-compose repo,那麼就要注意 A Docker-compose repo 的目錄架構,小心無法
read more緣起 我喜歡做 Rails app prototype 放在 Digital Ocean,Rails app A 5.2.0 已經部署在上面,最近想再部署其他小型 Rails app 到同一臺機器上,但發現部署其他小型 Rails app B 到相同正
read more用 Docker + Docker-compose 建立自己寫的Rails app 運作的開發和正式環境,我的心得是,開發者要逐步建立自己的常用工具和套件,怎樣讓自己的做事更順暢,就像水電工有
read moreIn Gemfile: # Use Capistrano for deployment group :development do gem 'capistrano' gem 'capistrano-passenger' gem 'capistrano-rails' gem 'capistrano-bundler' gem 'capistrano-rvm' gem 'highline' end In deploy.rb # Set rvm type #set :rvm\_type, :user set :rvm\_custom\_path, '/usr/local/rvm' # Remote server using rvm set :rvm\_ruby\_version, '[email protected]' In config/environment/production.rb config.require_master_key = true
read moreWhen I deploying a new rails 5.2.0 app to production machine, which has been the other rails 5.2.0 app there, I encounter a serious problem: ActiveSupport::MessageEncryptor::InvalidMessage: ActiveSupport::MessageEncryptor::InvalidMessage ArgumentError: invalid base64 /var/www/blogApp/shared/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/delegation.rb:271:in `method_missing' /var/www/blogApp/shared/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/application.rb:433:in `secret_key_base' Below are a part of debug info when I use capistrano to deploying a rails 5.2.0 app: DEBUG [b79779f0] Command: cd /var/www/blogApp/releases/20180802145508 && ( export RAILS_ENV="production" RAILS_GROUPS="" ; /usr/local/rvm/bin/rvm [email protected] do bundle exec rake assets:precompile )
read more看過長榮航空 2016 和 2017 年財務年報 看過 udemy android app 開發課 https://www.udemy.com/master-android-7-nougat-java-app-development-step-by-step/ database 資料庫相關章節的第 166~248 節 . 20180630 補充:已經看完第 249-263 節. 基礎課程的 introduction , downloading and setup, helloworld app, button-counter app. 看完 Youtuber hvass 機器學習
read more