2015-03-02 magnum-ciでサブドメインのテストにこけた rails rspec magnum-ciでサブドメインのテストにこけた。 同僚に相談したら解決してくださいました。 頭あがらないです。。。 before stepで/etc/hostsに127.0.0.1 subdomain echo "127.0.0.1 subdomain" | sudo tee -a /etc/hosts or sudo sh -c "echo 'something' >> /etc/hosts"