in my app, I have a scss file, resulted from a gem, resident in the gem folder out side of my app project folder
in works just fine locally, I have the path to image
If it is scss and not compass then it would go like this (look at where you sprites folder is compared to your scss file)
.social-share-button-baidu
{
display:inline-block;
width: 16px;
height: 16px;
background: url(../sprites/social-share-button.png) 0px 0px no-repeat;
}
../ takes you up out of one folder, can you see the sprites folder from there?