툴랩
close
프로필 배경
프로필 로고

툴랩

  • 분류 전체보기 (34)
    • DevLog (1)
    • Programming (18)
      • HTML (1)
      • Golang (1)
      • PHP (1)
      • Laravel (4)
      • Python (5)
      • Delphi (2)
      • Flutter (2)
      • Next.js (0)
      • Node.js (0)
      • Ruby (2)
    • Nothing (0)
    • Arduino (3)
    • Server (12)
      • RockyLinux (11)
      • CentOS (1)
  • Home
  • Tags
  • Guest
  • NaverBlog
  • YouTube

Ruby on Rails - Github, Ubuntu 서버 자동배포

루비 온 레일즈를 배포하는 방법은 보통 Heroku, Fly.io, Railway 등 SaaS 서비스를 권장하고 있습니다.저는 한 서버에 MVP 개발을 많이 하고 있어 해당 서비스를 이용하면 요금이 많이 부과가 되어 Ubuntu 서버에 docker 형태로 배포하고 있습니다.Rails 8 부터 Kamal이라는 배포 도구가 포함이 되어있지만 한서버에 여러 서비스를 돌리기엔 무리가 있었습니다.Kamal-proxy 가 80, 443 포트를 점유하고 있기때문에 proxy 를 삭제해야하는 문제가 있었습니다. Docker Compose를 프로젝트 Dockerfile 있는곳에 생성합니다. docker-compose.ymlservices: web: # build: . image: ghcr.io/toollab..

  • format_list_bulleted Programming/Ruby
  • · 2025. 2. 10.
  • textsms

Ruby on Rails - SQLite I/O 에러 처리

Windows 환경에서 Console 로 접속하여 SQLite 에 데이터를 입력할때 I/O 에러가 뜨는 경우가 있습니다.'': SQLite3::IOException: disk I/O error: (ActiveRecord::StatementInvalid) 이럴경우 아래와 같이 기존 데이터를 백업해주고 재생성하면 해결됩니다.# 백업 생성cp storage/development.sqlite3 storage/development.sqlite3.backup# 데이터베이스 재생성rails db:droprails db:createrails db:migrate

  • format_list_bulleted Programming/Ruby
  • · 2025. 1. 26.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (34)
    • DevLog (1)
    • Programming (18)
      • HTML (1)
      • Golang (1)
      • PHP (1)
      • Laravel (4)
      • Python (5)
      • Delphi (2)
      • Flutter (2)
      • Next.js (0)
      • Node.js (0)
      • Ruby (2)
    • Nothing (0)
    • Arduino (3)
    • Server (12)
      • RockyLinux (11)
      • CentOS (1)
최근 글
인기 글
최근 댓글
태그
  • #laravel
  • #rockylinux
  • #flask
  • #ChatGPT
  • #Python
  • #라라벨
  • #Laravel10
  • #golang
  • #PHP
  • #Flutter
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바