bellycard / napa

A simple framework for building APIs with Grape
Other
329 stars 72 forks source link

.env file keeps getting overwriten #230

Closed alexandru-calinoiu closed 9 years ago

alexandru-calinoiu commented 9 years ago

I am trying out a pilot project but I can't get past rake db:migrate my .env file keeps getting overwritten and the old file gets stored in .env_conflict-20150910-220455

umtrey commented 9 years ago

Hi @alexandru-calinoiu - do you have your code posted somewhere for us to take a look? A conflict file makes it seem like it's a git issue, but it's hard to know.

alexandru-calinoiu commented 9 years ago

The repo is here https://github.com/alexandru-calinoiu/contact-service

Steps to reproduce:

In about 10s you will get a .env_conflict file ...

alexandru-calinoiu commented 9 years ago

It actually seems to happen with all . (dot) files, I can reproduce it with .env .rubocop.yml

alexandru-calinoiu commented 9 years ago

Also not a git issue for sure it happened before I could get git init to run.

alexandru-calinoiu commented 9 years ago

On further investigation running any rake command including rake -T will trigger the weird behaviour, napa commands seem to be fine.

alexandru-calinoiu commented 9 years ago

No luck with this one, I've tried all I could think of and all my (dot) files keep reseting, even if they are commited.

alexandru-calinoiu commented 9 years ago

I can't seem to reproduce somewhere else so I will leave it as it is for now