|
List Info
Thread: setting :template_location doesn't work when app is deployed
|
|
| setting :template_location doesn't work
when app is deployed |
  United States |
2007-10-14 20:57:40 |
I'm probably missing something obvious but when I deploy my
app
my :template_location doesn't seem to be registering right.
I have the
following in config/environment.rb
Sass::Plugin.options[:template_location] = RAILS_ROOT +
"/app/views/
layouts/sass"
Everything's fine on my development machine or if on the
production
machine i move my sass folder to the default location.
Any ideas?
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: setting :template_location doesn't
work when app is deployed |
  United States |
2007-10-14 21:11:04 |
Which version of Haml are you using?
- Nathan
mike wrote:
> I'm probably missing something obvious but when I
deploy my app
> my :template_location doesn't seem to be registering
right. I have the
> following in config/environment.rb
>
> Sass::Plugin.options[:template_location] = RAILS_ROOT +
"/app/views/
> layouts/sass"
>
> Everything's fine on my development machine or if on
the production
> machine i move my sass folder to the default location.
>
> Any ideas?
>
> Mike
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: setting :template_location doesn't
work when app is deployed |

|
2007-10-14 21:17:16 |
1.7.1
On 10/14/07, Nathan Weizenbaum <nex342 gmail.com> wrote:
>
> Which version of Haml are you using?
>
> - Nathan
>
> mike wrote:
> > I'm probably missing something obvious but when I
deploy my app
> > my :template_location doesn't seem to be
registering right. I have the
> > following in config/environment.rb
> >
> > Sass::Plugin.options[:template_location] =
RAILS_ROOT + "/app/views/
> > layouts/sass"
> >
> > Everything's fine on my development machine or if
on the production
> > machine i move my sass folder to the default
location.
> >
> > Any ideas?
> >
> > Mike
> >
> >
> > >
> >
> >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: setting :template_location doesn't
work when app is deployed |
  United States |
2007-10-14 21:31:54 |
There's an issue in 1.7.1 where Sass doesn't read all the
options in
production before it updates the stylesheets. Add
"Sass::Plugin.update_stylesheets" in
environment.rb and it should work.
- Nathan
Michael Bannister wrote:
> 1.7.1
>
> On 10/14/07, Nathan Weizenbaum <nex342 gmail.com> wrote:
>
>> Which version of Haml are you using?
>>
>> - Nathan
>>
>> mike wrote:
>>
>>> I'm probably missing something obvious but when
I deploy my app
>>> my :template_location doesn't seem to be
registering right. I have the
>>> following in config/environment.rb
>>>
>>> Sass::Plugin.options[:template_location] =
RAILS_ROOT + "/app/views/
>>> layouts/sass"
>>>
>>> Everything's fine on my development machine or
if on the production
>>> machine i move my sass folder to the default
location.
>>>
>>> Any ideas?
>>>
>>> Mike
>>>
>>>
>>>
>>>
>>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: setting :template_location doesn't
work when app is deployed |

|
2007-10-14 21:34:53 |
Nice, thanks. Works great.
On 10/14/07, Michael Bannister <mikebannister gmail.com> wrote:
> 1.7.1
>
> On 10/14/07, Nathan Weizenbaum <nex342 gmail.com> wrote:
> >
> > Which version of Haml are you using?
> >
> > - Nathan
> >
> > mike wrote:
> > > I'm probably missing something obvious but
when I deploy my app
> > > my :template_location doesn't seem to be
registering right. I have the
> > > following in config/environment.rb
> > >
> > > Sass::Plugin.options[:template_location] =
RAILS_ROOT + "/app/views/
> > > layouts/sass"
> > >
> > > Everything's fine on my development machine
or if on the production
> > > machine i move my sass folder to the default
location.
> > >
> > > Any ideas?
> > >
> > > Mike
> > >
> > >
> > > >
> > >
> > >
> >
> >
> > > >
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: setting :template_location doesn't
work when app is deployed |

|
2007-10-14 21:34:53 |
Nice, thanks. Works great.
On 10/14/07, Michael Bannister <mikebannister gmail.com> wrote:
> 1.7.1
>
> On 10/14/07, Nathan Weizenbaum <nex342 gmail.com> wrote:
> >
> > Which version of Haml are you using?
> >
> > - Nathan
> >
> > mike wrote:
> > > I'm probably missing something obvious but
when I deploy my app
> > > my :template_location doesn't seem to be
registering right. I have the
> > > following in config/environment.rb
> > >
> > > Sass::Plugin.options[:template_location] =
RAILS_ROOT + "/app/views/
> > > layouts/sass"
> > >
> > > Everything's fine on my development machine
or if on the production
> > > machine i move my sass folder to the default
location.
> > >
> > > Any ideas?
> > >
> > > Mike
> > >
> > >
> > > >
> > >
> > >
> >
> >
> > > >
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|