Re: [Rails] sass-rails

2019-11-23 Thread fugee ohu


On Saturday, November 23, 2019 at 7:10:41 PM UTC-5, Ariel Juodziukynas 
wrote:
>
> sass/scss files shouldn't be linked by your website, these files have to 
> be compiled into standard .css files with sprockets, webpacker or any other 
> sass compiler.
>
> Usually, if you use sass-rails (or sassc-rails on newer rails version) or 
> webpacker, both gems should take care of compiling the assets for you with 
> proper configuration.
>
> El sáb., 23 nov. 2019 a las 20:30, fugee ohu ( >) escribió:
>
>> What's supposed to cause rails to take application to mean 
>> application.scss ? The problem I'm having is my stylesheet is named 
>> application.scss and rails is looking for application.css If I name it as 
>> application.scss in stylesheet_link_tag then it looks for 
>> application.css.scss
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to rubyonra...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/74428116-1c8a-47b3-97e2-ee49a0c05696%40googlegroups.com
>>  
>> 
>> .
>>
>
So if I'm no longer going to use app/assets then I don't need the lines 
`link_tree` and `link_directory` in my manifest.js ? I previously had `//= 
link_tree ../images` and `//= link_directory ../javascripts .js` and `//= 
link_directory ../stylesheets .scss` So I removed all those scss files from 
app/assets/stylesheets and keep them under app/javascript/src, then what do 
I need in manifest.js ?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/c1b791fd-a6d8-4be0-8c29-b6e42833889c%40googlegroups.com.


Re: [Rails] sass-rails

2019-11-23 Thread fugee ohu


On Saturday, November 23, 2019 at 7:10:41 PM UTC-5, Ariel Juodziukynas 
wrote:
>
> sass/scss files shouldn't be linked by your website, these files have to 
> be compiled into standard .css files with sprockets, webpacker or any other 
> sass compiler.
>
> Usually, if you use sass-rails (or sassc-rails on newer rails version) or 
> webpacker, both gems should take care of compiling the assets for you with 
> proper configuration.
>
> El sáb., 23 nov. 2019 a las 20:30, fugee ohu ( >) escribió:
>
>> What's supposed to cause rails to take application to mean 
>> application.scss ? The problem I'm having is my stylesheet is named 
>> application.scss and rails is looking for application.css If I name it as 
>> application.scss in stylesheet_link_tag then it looks for 
>> application.css.scss
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to rubyonra...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/74428116-1c8a-47b3-97e2-ee49a0c05696%40googlegroups.com
>>  
>> 
>> .
>>
>
So then why did we used to name the files .scss 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f61d78fd-7e28-42a3-91e5-2a07754ef5fa%40googlegroups.com.


Re: [Rails] sass-rails

2019-11-23 Thread Ariel Juodziukynas
sass/scss files shouldn't be linked by your website, these files have to be
compiled into standard .css files with sprockets, webpacker or any other
sass compiler.

Usually, if you use sass-rails (or sassc-rails on newer rails version) or
webpacker, both gems should take care of compiling the assets for you with
proper configuration.

El sáb., 23 nov. 2019 a las 20:30, fugee ohu ()
escribió:

> What's supposed to cause rails to take application to mean
> application.scss ? The problem I'm having is my stylesheet is named
> application.scss and rails is looking for application.css If I name it as
> application.scss in stylesheet_link_tag then it looks for
> application.css.scss
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/74428116-1c8a-47b3-97e2-ee49a0c05696%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcAxFW82xM-QCQyXGONWoVGWxVK%3Da97RSfCPc0q%3Dm3aAVA%40mail.gmail.com.


[Rails] sass-rails

2019-11-23 Thread fugee ohu
What's supposed to cause rails to take application to mean application.scss 
? The problem I'm having is my stylesheet is named application.scss and 
rails is looking for application.css If I name it as application.scss in 
stylesheet_link_tag then it looks for application.css.scss

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/74428116-1c8a-47b3-97e2-ee49a0c05696%40googlegroups.com.


Re: [Rails] Sass-rails

2019-03-10 Thread brainiacsys5
Thank you for your feedback Sasha and Walter.

On Sunday, March 10, 2019 at 8:59:25 PM UTC-4, Sasha Boginsky wrote:
>
> Hi, 
>
> I just switch it to sassc-rails and it works basically the same. 
>
> Sasha 
>
>
> > On Mar 10, 2019, at 8:02 PM, Walter Lee Davis  > wrote: 
> > 
> > 
> >> On Mar 10, 2019, at 6:17 PM, braini...@gmail.com  wrote: 
> >> 
> >> Hi Everyone, 
> >> 
> >> I was just curious as to what everyone is using since sass-rails is 
> depreciating and if I add a ui kit it should change the look and feel of 
> the app without have to change a great deal of the css. Correct? 
> > 
> > I'm not aware of the sass-rails gem being deprecated, only the sass gem 
> itself, which is a gemspec dependency of sass-rails. We've had good luck 
> using the sassc gem as a replacement for that. Just add it to your gemfile 
> along with sass-rails and you should be all set. 
> > 
> > Walter 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Ruby on Rails: Talk" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to rubyonrails-ta...@googlegroups.com . 
> > To post to this group, send email to rubyonra...@googlegroups.com 
> . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/BDD1890F-D9D1-4CFC-8101-403AE019DD12%40wdstudio.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/017556e9-8e4a-4bf6-a235-516b8856caa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Sass-rails

2019-03-10 Thread sboginsky17
Hi, 

I just switch it to sassc-rails and it works basically the same. 

Sasha


> On Mar 10, 2019, at 8:02 PM, Walter Lee Davis  wrote:
> 
> 
>> On Mar 10, 2019, at 6:17 PM, brainiacs...@gmail.com wrote:
>> 
>> Hi Everyone,
>> 
>> I was just curious as to what everyone is using since sass-rails is 
>> depreciating and if I add a ui kit it should change the look and feel of the 
>> app without have to change a great deal of the css. Correct?
> 
> I'm not aware of the sass-rails gem being deprecated, only the sass gem 
> itself, which is a gemspec dependency of sass-rails. We've had good luck 
> using the sassc gem as a replacement for that. Just add it to your gemfile 
> along with sass-rails and you should be all set.
> 
> Walter
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/BDD1890F-D9D1-4CFC-8101-403AE019DD12%40wdstudio.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/E3F6AA64-A196-4B15-9E8A-825F4A31019D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Sass-rails

2019-03-10 Thread Walter Lee Davis


> On Mar 10, 2019, at 6:17 PM, brainiacs...@gmail.com wrote:
> 
> Hi Everyone,
> 
> I was just curious as to what everyone is using since sass-rails is 
> depreciating and if I add a ui kit it should change the look and feel of the 
> app without have to change a great deal of the css. Correct?

I'm not aware of the sass-rails gem being deprecated, only the sass gem itself, 
which is a gemspec dependency of sass-rails. We've had good luck using the 
sassc gem as a replacement for that. Just add it to your gemfile along with 
sass-rails and you should be all set.

Walter

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/BDD1890F-D9D1-4CFC-8101-403AE019DD12%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] Sass-rails

2019-03-10 Thread brainiacsys5
Hi Everyone,

I was just curious as to what everyone is using since sass-rails is 
depreciating and if I add a ui kit it should change the look and feel of 
the app without have to change a great deal of the css. Correct?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/cf0d6590-eb5b-46b1-b034-ef1e80334270%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] sass-rails not in Gemfile for Rails 5.0.0.beta1

2016-01-16 Thread R Bruce Bicknell
I've just started messing around with Rails 5.0.0.beta1 and in diffing 
around, I've noticed that sass-rails is not in the Gemfile.

Has it been omitted for a reason?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/b6b540df-5a8b-480d-b958-3cdc1fe0c791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] sass-rails not in Gemfile for Rails 5.0.0.beta1

2016-01-16 Thread nanaya
Hi

On Sun, Jan 17, 2016, at 01:29, R Bruce Bicknell wrote:
> I've just started messing around with Rails 5.0.0.beta1 and in diffing 
> around, I've noticed that sass-rails is not in the Gemfile.
> 
> Has it been omitted for a reason?
> 

it's a (fixed) bug[1]

[1] https://github.com/rails/rails/issues/22963

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1452965236.1140207.493955258.3197FA9C%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] sass-rails + sprockets seems to work just fine (for straight-up CSS)?

2012-03-24 Thread Liam M.
Sass-rails is pretty emphatic about not using Sprockets' `require`
directives: Sprockets provides some directives that are placed inside
of comments called require, require_tree, and require_self. DO NOT USE
THEM IN YOUR SASS/SCSS FILES.

But I wanted to include a vendored CSS file without having to do any
work (like renaming the file to _asset.css.scss), and things like
`@import asset-path('lionbars.css', stylesheet)` just didn't work. So I
tried using Sprockets' `require`, and presto, problem solved, works in
both dev and production. But I'm afraid I may have offended the
sass-rails gods (Chris Eppstein)?

So in short, is `require` just fine for regular vendored CSS? Or are
there dragons in here somewhere that I haven't spotted yet?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.