In this paper we introduce and study some q-Sobolev type spaces by using the harmonic analysis associated with the q-Rubin operator. In particular, embedding theorems for these spaces are established. Next, we introduce the q-Rubin potential spaces and study some of its properties