error after setup social stream

194 views
Skip to first unread message

Victor De Leon

unread,
Mar 22, 2014, 3:26:47 AM3/22/14
to social...@googlegroups.com
i have follow all the step and everthing is ok but when i set rails server it show.

Sass::SyntaxError in Frontpage#index

Showing /home/victor/.rvm/gems/ruby-1.9.3-p484/gems/social_stream-base-2.2.2/app/views/layouts/application.html.erb where line #12 raised:

You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend .hidden-tablet" on line 13 of /home/victor/.rvm/gems/ruby-1.9.3-p484/gems/social_stream-oauth2_server-2.2.2/app/assets/stylesheets/social_stream/oauth2_server/applications/responsive/_responsive-767px-max.css.sass.

  (in /home/victor/Desktop/social_demo/app/assets/stylesheets/social_stream.css.sass)

Extracted source (around line #12):

9:     <meta name="generator" content="Social Stream" />
10:     <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
11: 
12:     <%= stylesheet_link_tag    "application" %>
13:     <%= javascript_include_tag "application" %>
14: 
15:     <script>document.write('<script src="http://' + (location.host || '${1:localhost}').split(':')[0] + ':${2:35729}/livereload.js?snipver=1"></' + 'script>')</script>

Rails.root: /home/victor/Desktop/social_demo


What is going wrong???


Dan

unread,
Apr 11, 2014, 9:44:48 PM4/11/14
to social...@googlegroups.com
Were you able to resolve this? I am getting this as well. 

Figs

unread,
Apr 11, 2014, 9:49:40 PM4/11/14
to social...@googlegroups.com

I think u have an error at the css- sass file

--
You received this message because you are subscribed to the Google Groups "Social Stream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to social-strea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan

unread,
Apr 11, 2014, 10:12:49 PM4/11/14
to social...@googlegroups.com
Looking in the logs, I am seeing the error:
ActionView::Template::Error (You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend .hidden-phone" on line 25 of /Users/dan/.rvm/gems/ruby-2.1.0/gems/social_stream-base-2.2.2/app/assets/stylesheets/social_stream
/base/mixins/_layout.css.sass.

  (in /Users/dan/Documents/Aptana Studio 3 Workspace/newProject/app/assets/stylesheets/social_stream.css.sass)):
    9:     <meta name="generator" content="Social Stream" />
    10:     <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
    11: 
    12:     <%= stylesheet_link_tag    "application" %>
    13:     <%= javascript_include_tag "application" %>
    14: 
    15:     <script>document.write('<script src="http://' + (location.host || '${1:localhost}').split(':')[0] + ':${2:35729}/livereload.js?snipver
=1"></' + 'script>')</script>
  bootstrap-sass (2.3.2.2) vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss:49

I did not modify anything with the css-sass files. I just installed social-base.

Guy Eli

unread,
Apr 13, 2014, 8:33:12 PM4/13/14
to social...@googlegroups.com
i am getting this too..did you solve it? here is my error. it looks like a bootstrap issue??!!??!!

You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend .hidden-tablet" on line 13 of /usr/local/rvm/rubies/ruby-2.0.0-p195/lib/ruby/gems/2.0.0/gems/social_stream-oauth2_server-2.2.2/app/assets/stylesheets/social_stream/oauth2_server/applications/responsive/_responsive-767px-max.css.sass.

  (in /app/assets/stylesheets/social_stream.css.sass)

Dan

unread,
Apr 14, 2014, 5:57:23 PM4/14/14
to social...@googlegroups.com
I haven not been able to figure this out. Please let me know if anyone is able to.

Guy Eli

unread,
Apr 15, 2014, 1:26:46 PM4/15/14
to social...@googlegroups.com
i gave up on this..
but I succeeded to create a working project by downloading the example project of social stream.
it also contains examples on how changing the home page and footer.

Guy Eli

unread,
Apr 15, 2014, 1:29:56 PM4/15/14
to social...@googlegroups.com

Dan

unread,
Apr 18, 2014, 10:08:41 PM4/18/14
to social...@googlegroups.com
I was actually able to solve this by using:

gem 'social_stream', git: 'git://github.com/ging/social_stream.git', branch: 'master' 

in the gem file vs:

gem 'social_stream'


Maybe something is wrong with the release that is on rubygems.org

Dan

unread,
May 5, 2014, 8:54:14 PM5/5/14
to social...@googlegroups.com
Were you able to change the background on that? I put a different background.jpg file in it and it did not work, even after clearing the cache.


On Tuesday, April 15, 2014 1:29:56 PM UTC-4, Guy Eli wrote:
Reply all
Reply to author
Forward
0 new messages