I had my first Waza in the office yesterday and I got to work with the brilliant Skim, who helped me solved aproblem in one of my future open source projects(which is still in development stage). The problem was a pesky dependency issue when precompiling assets, it would bomb.
At first I thought this was related to heroku and how it handles files, but it wasn’t that.
We thought the first step in troubleshoot is to make sure we were on the latest version of bootstrap and sass, as that is where the stack trace indicating.
Sadly the issue persisted, we needed to delve deeper.
We decided to remove the references bootstrap library within the stylesheets, as the bootstrap dependency ideally should be loading via the asset pipeline. This meant also removing references from the ‘application.rb’, ‘application.html.rb’ files.
The final step was to explicitly state which assets to precompile in the “config/initializers/assets.rb” file.
When it worked I had to high five Skim. Because of this issue I had put this side project on the back burner and now I can go back to implementing new features
Learnt a lot from this session, about rails, about pairing and how to approach problems like this.