- gem 'cells', "~> 4.0.0"
- gem 'cells-erb'
- gem 'config'
- gem 'draper'
- gem 'password_strength'
- gem 'sorcery'
- gem 'validates_email_format_of'
This file contains hidden or 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
package tx | |
import "fmt" | |
type DB struct { | |
committed bool | |
} | |
func NewDB() *DB { | |
db := DB{ |
たぶん、以下の手順でOK。 5.6.17と7.0.2はできた。 環境変数は.zshrcなり.bashrcに設定したほうが良いか。
$ brew install openssl
$ brew link openssl —force
$ export LD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$LD_LIBRARY_PATH
$ export CPATH=/usr/local/opt/openssl/include:$CPATH
$ export LDFLAGS='/usr/local/opt/openssl/lib/libssl.dylib /usr/local/opt/openssl/lib/libcrypto.dylib'
#IP,ローカルドメインを決める IPはhostsを見て、適当に決める。 ドメインはservice-name.local。
#環境設定 -> hosts に追加 上記設定を追加。
#githubからdev_machineをclone
#各所を変更
This file contains hidden or 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
$LOADED_FEATURES. | |
select { |feature| feature.include? 'gems' }. | |
map { |feature| File.dirname(feature) }. | |
map { |feature| feature.split('/').last }. | |
uniq.sort |
This file contains hidden or 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
after install boot2docker... | |
(a boot2docker include docker command.You DON'T need install docker) | |
$ boot2docker init | |
$ boot2docker up | |
$ $(boot2docker shellinit) # set docker envs | |
$ boot2docker ip # show ip |
NewerOlder