Skip to content

Instantly share code, notes, and snippets.

View nijicha's full-sized avatar
🐕
Shibainu Lover

Nathakorn Chaninthanadecha nijicha

🐕
Shibainu Lover
View GitHub Profile
@boddhisattva
boddhisattva / setup_system_tests_with_rspec_devise_rails6.md
Last active November 9, 2023 20:58
Setup System tests to work with RSpec, Devise and Rails 6

Setting this up took quite a bit of time and research for me, so just thought of sharing the learnings along the way that led to a working setup.

  • Initial error that I was getting with running System tests in Rails 6

    System test integration requires Rails >= 5.1 and has a hard dependency on a webserver and `capybara`, please add capybara to your Gemfile and configure a webserver (e.g. `Capybara.server = :webrick`) before attempting to use system tests.
    • since the error above says specify Capybara in the Gemfile, a part of my Gemfile looked like below:
@somebox
somebox / osx-setup.sh
Last active August 15, 2026 16:07 — forked from foz/osx-setup.sh.md
Set up an OSX machine from zero to awesome. Focused on local development by a greybeard developer with opinions. Uses Homebrew with apps, fonts, and sensible system defaults. Useful with (or without) AI tools, includes node, python, docker, and many other bits.
#!/usr/bin/env bash
# Generic macOS workstation setup
#
# A pragmatic, public bootstrap for developer / technical-productivity Macs.
# It installs Homebrew, common CLI utilities, runtimes, terminal/editor/agentic
# coding apps, viewers, media tools, and a curated font set.
#
# Philosophy:
# - Open-source / cross-platform first.
# - Commercial apps only when explicitly useful/common for this workflow.