2019-04-23 Raspberry PiでRailsが動かなかったときに試すこと はじめに 論文やら新生活やらで忙しかったので久々の更新です。今回は完全に自分用の備忘録なので、いろいろガバガバです。すんません。 環境 Raspberry Pi 3 Model B Raspbian Stretch Ruby on Rails 5.2.2.1 とりあえずやっておけ rails newするとき --skip-bundleオプションをつける Gemfileのspringとspring-watcherをそれぞれコメントアウトしてからbundle install rails sするとき config/boot.rb のrequire bootsnap/setupをコメントアウト rails s -b xxx.xxx.xxx.xxx (ここにラズパイのIPアドレス) rails sのオプションは、LAN内の他の端末から起動を確認する場合に必要です。 ラズパイ上で起動を確認する場合にはいりません。 参考サイト https://lilac-xi.hatenablog.com/entry/2018/08/31/175719 http://inomacreate.com/raspberrypi-ruby-on-rails5/ https://obel.hatenablog.jp/entry/20181014/1539522449