Rails
config.time_zone と config.i18n.default_locale を変えてやる。 time_zone に指定する値は rake time:zones:all するとリストが出てくるので、該当するものをセットすればいいらしい。 bundle exec rake time:zones:all * UTC -11:00 * American Samoa Int…
前回の続き。 これでOK。 echo export rvmsudo_secure_path=1 >> ~/.zshrc
rails を port 80 で起動しようと rvmsudo を使ったら以下のエラーが出た. rvmsudo rails server -p 80 Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. expor…