Repository navigation
Rails tweaks - #6463
Rails tweaks#6463
Conversation
|
It looks like all the broken checks are unrelated to this PR |
|
Thanks @spizm ! I'll try and take a look in the next couple of days. Can you remove the .gitignore file here? Shouldn't be necessary since those would be within docker. |
|
@nbrady-techempower I removed the gitignore in the rails dir. The one in the toolset is outside of docker and git keeps noticing *.pyc files whenever I run the suite, so that one should still be present. |
|
@spizm The toolset is also run inside a docker container, so that shouldn't be happening. How are you running things? |
|
@nbrady-techempower I'm just running the |
|
Are you sure you’re running a recent version of the toolset? What pyc files are being generated? Python isn’t being run on the host. |
|
I'm running off the latest master build from an M1 Mac with Docker installed. The These files show up whenever I run the I'm happy to remove the gitignore if it seems like something specific to my environment. |
|
Yeah, I haven't seen this happen on ubuntu or windows. I'll check it out on a mac later today. |
|
I haven't been able to confirm this, but I'll just get this in so you can see it running. We'll be updating to the rust toolset soon so this won't be a problem after that. |
* move common code out to a function * update_columns is more commonly used * update gems and add redis * set up redis in container for caching * move cached_query * update readme * add rails gitignores * ignore pyc files in toolset dir * use bash * clean up app controller * be noisy if redis is down * simplify update and cached query * update mysql dockerfile * oops, set mysql as rails env * remove rails gitignore as this lives in a docker container
Cleaning up the rails build a little more:
I also added a gitignore to the toolset directory to avoid ignore .pyc files