There was an error while trying to write to `/tmp/bundler-compact-index-xxx/versions`. There was insufficient space remaining on the device.

公開日時

RaspberryPi上でbundle installを実行した際に以下のエラーが発生した。

There was an error while trying to write to `/tmp/bundler-compact-index-xxx/versions`. There was insufficient space
remaining on the device.

/tmpの容量が少ないため書き込みができない模様。

df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs  32M     0   32M   0% /tmp

/tmpの容量を倍の64Mに設定して再起動。

vi /etc/fstab

tmpfs           /tmp            tmpfs   defaults,size=64m,noatime,mode=1777  0       0

再起動後に再度bundle installをするとエラーなく実行できた。


Related #raspberry pi

ngrokの代わりにCloudflare Tunnelを使う

botやwebhookを利用するサービスの開発が捗る

Dockerのデータ保存場所を変更する

/etc/docker/daemon.jsonに追記

Alexaにゲーミングマシンと周辺環境を終了してもらう

「Alexa Steamを終了して」ができるようになった

Alexaにゲーミングマシンと周辺環境を起動してもらう

PC起動、TV起動、サウンドバー起動がまとめてできるようになった

docker-compose build時に「no Space Left on Device」が発生

1年前にも同じエラーにハマってた