xcode-select --install
mkdir ~/workspace
p 'hello world.' |
#!/usr/bin/env /Users/kawakubox/.rbenv/shims/ruby | |
require 'httpclient' | |
require 'oga' | |
client = HTTPClient.new | |
res = client.get('http://baseball.yahoo.co.jp/npb/') | |
puts '⚾' | |
puts '---' |
#!/usr/bin/env /Users/kawakubox/.rbenv/shims/ruby | |
# 以下の 2gem を install していることが前提 | |
# $ gem install 'faraday' | |
# $ gem install 'oga' | |
require 'faraday' | |
require 'oga' | |
watchlist = [ |
gem_group :development, :test do | |
gem 'factory_bot_rails' | |
gem 'faker' | |
gem 'pry-rails' | |
gem 'slim-rails' | |
gem 'yard' | |
end | |
gem_group :test do | |
gem 'rspec-rails' |