since 2017-05-20
updated on 2018-11-15 with macOS 10.14.1
ずっと MacPorts 派だったが、たまたま新しい環境を作りたくなって使ってみた。
Python 3.6.7 を入れてある。
$ xcode-select --install
以下 ruby と deploygate と cocoapods を入れる。
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" $ brew install ruby
$ cat .bash_profile # Setting PATH for Python 3.6 # The original version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}" PATH="/usr/local/opt/ruby/bin:$PATH" PATH="/usr/local/lib/ruby/gems/2.5.0/bin:$PATH" export PATH export LDFLAGS="-L/usr/local/opt/ruby/lib" export CPPFLAGS="-I/usr/local/opt/ruby/include"
$ ruby -v ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18] $ which gem /usr/local/opt/ruby/bin/gem $ gem -v 2.7.7
$ gem install deploygate $ which dg /usr/local/lib/ruby/gems/2.5.0/bin/dg $ gem install cocoapods $ which pod /usr/local/lib/ruby/gems/2.5.0/bin/pod
最初 /usr/bin/ruby で gem install しようとしたがうまくいかず、 ruby-lang.org からソースを落として make install したが openssl が入ってないと言われてうまくいかず。
rvm や rbenv はいらない気がした。
since 2017-05-21
http://qiita.com/nnsnodnb/items/5dd3f024d78ca302ec23
http://qiita.com/MilanistaDev/items/900887b256dad1398914
# brew cask install java #=> これだと Java8 がはいらない $ brew cask install homebrew/cask-versions/java8 $ brew install jenkins
Note: When using launchctl the port will be 8080. To have launchd start jenkins now and restart at login: brew services start jenkins Or, if you don't want/need a background service you can just run: jenkins
xcode plugin
http://grandbig.github.io/blog/2016/06/18/ios-jenkins/
cpputest
$ brew install cpputest
python 2.7.13
$ brew install python
pyhon 3.6.1
$ brew install python3