brew upgrade ruby-install
ruby-install ruby 2.6.5Depending on ruby version manager (rvm/chruby/rbenv) you may need to change directories or select ruby 2.6.5 then
| require 'nokogiri' | |
| require 'open-uri' | |
| class User | |
| attr_reader :name, :clan, :honor | |
| def initialize(name, clan, honor) | |
| @name, @clan, @honor = name, clan, honor | |
| end |
| sudo apt-get install postgresql libpq-dev cmake | |
| sudo -u postgres createuser --interactive | |
| sudo -u postgres createdb [your_rails_project]_development | |
| sudo -u postgres createdb [your_rails_project]_test | |
| sudo service postgresql restart | |
| ps -ax | grep postg | |
| rails s |
| config.authentication_method = :authenticate_admin_user! | |
| config.current_user_method = :current_admin_user | |
| config.logout_link_path = :destroy_user_session_path |
| { | |
| "subscription": { | |
| "title": "Some Title", | |
| "start_date": "2020-06-05T14:32:57Z", | |
| "end_date": "2020-06-05T14:32:57Z", | |
| "quantity": 1, | |
| "type": "some type", | |
| "unit_price": "42.42", | |
| "amount": "42.42" | |
| }, |
/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉
~/.ssh/config, set each ssh key for each repository as in this exemple: