<p>Yes, you are right, some config magic fixed it. Thanks.</p>
<p>You need to specify the directory while precompiling the assets.</p>
<p>e.g. RAILS_RELATIVE_URL_ROOT='/facebook-login'; rake assets:precompile</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/364#issuecomment-21460219'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpm4y4UW79zWmZHTwv4p9Qs4xSb-_J0n5CUtr_Q94-_Rw.gif' height='1' width='1'></p>