Finally fixed the error with Foundation, it was Rails asset pre-compile all along