-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Tanaka Daiki edited this page Oct 30, 2018
·
6 revisions
Welcome to the whole_issue wiki!
$ sudo apt-get install libpq-dev
$ gem install pg -v '0.18.4' --source 'https://rubygems.org/'
$ bundle install
$ rails s
で解決しました。
- lib/tasks/message.txt を作成し、本文を書く
-
rails runner lib/tasks/notice_sender.rb
を実行する
開発環境で発生しなかったレイアウト崩れが、本番環境において発生した。
解決策
RAILS_ENV=production bundle exec rake assets:precompile
を忘れていた。
cssが反映しないっぽい。