LoginSignup
0
0

More than 3 years have passed since last update.

はじめに

Ruby on Rails記念です。

on Rails!

rails.png
先輩諸氏からすれば見慣れた画面かもしれませんが、嬉しいです。

環境

raspberrypi.bash
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.45-v7+ #1321 SMP Wed Jun 10 17:33:27 BST 2020 armv7l GNU/Linux

見ての通り、
raspberry pi 3 B+上のraspberrypiOS

嵌ったところ

例によってsqliteで嵌っております。
こちら -Qiitaを参考にして乗り切りました。

Gemfileの編集

gem 'sqlite3', '1.3.13'

bundle installコマンド

bundle.bash
$ sudo apt-get install libsqlite3-dev
$ sudo gem install sqlite3-ruby -- --with-sqlite3-include=/usr/include
$ gem install sqlite3 -v '1.3.13'
$ bundle install --path vendor/bundle

まとめ

  • 初RoR
  • sqliteで嵌った
  • 今回はLAN上なので次は外部サーバに挑戦

参照したサイト
【解決】An error occurred while installing sqlite3 (1.3.11), and Bundler cannot continue. Make sure that gem install sqlite3 -v '1.3.11' succeeds before bundling. -Qiita

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0