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