This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker pull jenkins | |
$ run -d --name ci -p 8090:8080 -p 50000:50000 \ | |
-v /your/path:/var/jenkins_home \ | |
-e JENKINS_JAVA_OPTIONS='-Djava.awt.headless=true -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Tokyo Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8'\ | |
jenkins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos6.8 | |
# update & clean | |
RUN yum update -y; yum clean all; | |
# install sudo | |
RUN yum install -y sudo | |
# root setup passwd | |
RUN echo "root:abc1234" | chpasswd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos6.8 | |
# update & clean | |
RUN yum update -y; yum clean all; | |
# install sudo | |
RUN yum install -y sudo; yum clean all; | |
# root setup passwd | |
RUN echo "root:abc1234" | chpasswd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/gulliver/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
ruby '2.2.4' | |
gem 'awesome_print' | |
group :development, :test do | |
gem 'better_errors' # 開発中のエラー画面をリッチにする | |
gem 'binding_of_caller' # 開発中のエラー画面にさらに変数の値を表示する | |
gem 'byebug' | |
gem 'hirb' # モデルの出力結果を表形式で表示するGem | |
gem 'hirb-unicode' # 日本語などマルチバイト文字の出力時の出力結果のずれに対応 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service_name: travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: ruby | |
before_install: | |
- gem update --system 2.6.10 | |
- gem --version | |
rvm: | |
- 2.2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--color | |
--warnings | |
--require spec_helper | |
--format documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require 'hirb' | |
rescue LoadError | |
# Missing goodies, bummer | |
end | |
if defined? Hirb | |
Hirb::View.instance_eval do | |
def enable_output_method | |
@output_method = true |
OlderNewer