Skip to content

Instantly share code, notes, and snippets.

View MaksimenkoPG's full-sized avatar

Maksimenko Pavel MaksimenkoPG

  • [d.i.p]team
  • Luxembourg
View GitHub Profile
Dir.glob('lib/tasks/**/*.rake').each { |file_path| load file_path }
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem 'faraday', '1.4.1'
gem 'rake', '13.0.3'
# irb
require 'faraday'
url = 'https://api.github.com/repos/MaksimenkoPG/ruby_app_boilerplate'
response = Faraday.get(url)
puts response.status
puts response.body
bundle install
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem 'faraday', '1.4.1'
@MaksimenkoPG
MaksimenkoPG / install_bundler.sh
Last active May 16, 2021 18:44
ruby_app_from_scratch.002
gem install bundler -v 2.2.17 && bundler init
@MaksimenkoPG
MaksimenkoPG / create_app_dir.sh
Last active May 16, 2021 18:44
ruby_app_from_scratch.001
mkdir ruby_app_from_scratch && cd ruby_app_from_scratch