--
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to ha...@googlegroups.com.
To unsubscribe from this group, send email to haml+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.
// site.sass
@import partials/base.sass
@import partials/mixins.sass
@import partials/products.sass
body
+i18n_highlighting
#user_block
float: right
+inline_list
#nav_block
float: left
clear: both
+inline_list
margin-bottom: 20px
#content_block
clear: both
#footer_block
clear: both
text-align: center
+inline_list
// _products.sass
@import mixins.sass
#sidebar
float: left
width: 200px
margin-left: 20px
#browse_content
margin-left: 270px
+browse
// _mixins.sass
=inline_list
ul
display: inline
li
display: inline
=i18n_highlighting
.translation_missing
background: yellow
=browse
.browsing_block
width: 300px
float: left
compass tries to compile site.sass and gives the the following error:
TypeError: can't convert nil into String
Backtrace:
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
files.rb:81:in `join'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
files.rb:81:in `sassc_filename'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
files.rb:24:in `tree_for'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:97:in `update_stylesheet'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:83:in `update_stylesheets'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:78:in `each'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:78:in `update_stylesheets'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:76:in `each'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:76:in `update_stylesheets'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin.rb:63:in `check_for_updates'
/home/kerinin/Projects/forge/vendor/plugins/haml/rails/../lib/sass/
plugin/rack.rb:43:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
string_coercion.rb:25:in `call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
params_parser.rb:15:in `call'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/rack/metal.rb:47:in
`call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/
cookie_store.rb:93:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
failsafe.rb:26:in `call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
dispatcher.rb:114:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
reloader.rb:34:in `run'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
dispatcher.rb:108:in `call'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in
`call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in
`call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in
`service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in
`run'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
*/
body:before {
white-space: pre;
font-family: monospace;
content: "TypeError: can't convert nil into String"; }
Not sure what's causing this but it's a PITA. The oddest part is that
it doesn't seem to be consistent - sometimes it happens and sometimes
it doesn't (on the exact same code)
-Ryan
On Dec 17, 1:04 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:
> What version of Ruby are you using? How are you calling css2sass?
>
> On Thu, Dec 17, 2009 at 9:20 AM, Yomi Colledge <baph...@googlemail.com>wrote:
>
>
>
> > It's a consistent issue, I've had a play around and it seems to happen with
> > even the most basic of CSS files.
>
> > On Wed, Dec 16, 2009 at 5:28 PM, Chris Eppstein <ch...@eppsteins.net>wrote:
>
> >> Does it happen for you all the time or only with certain inputs?
>
> >> If input dependent, please post that css usinghttp://gist.github.comor
> >>http://pastie.organd send us the link.
>
> >> chris
> >>> haml+uns...@googlegroups.com <haml%2Bunsu...@googlegroups.com>.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/haml?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Haml" group.
> >> To post to this group, send email to ha...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> haml+uns...@googlegroups.com <haml%2Bunsu...@googlegroups.com>.
> >> For more options, visit this group at
> >>http://groups.google.com/group/haml?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Haml" group.
> > To post to this group, send email to ha...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > haml+uns...@googlegroups.com <haml%2Bunsu...@googlegroups.com>.
To unsubscribe from this group, send email to haml+uns...@googlegroups.com.
What file does compass use for options in a Rails install? The wiki
gives the file syntax but I can't find any files that look right.
-Ryan
On Dec 24, 3:35 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:
> The directory isn't the problem. The problem is that somewhere
> Sass::Plugin.options[:cache_location] is getting set to nil. This is causing
> update_stylesheets to fail.
>
>
>
> On Thu, Dec 24, 2009 at 1:27 PM, Chris Eppstein <ch...@eppsteins.net> wrote:
> > There's not a good place for him to add that in a compass project. I
> > suggest removing the sass cache directory.
>
> > Hunt & pecked on my iPhone... Sorry if it's brief!
>
> > On Dec 24, 2009, at 12:30 PM, Nathan Weizenbaum <nex...@gmail.com> wrote:
>
> > Actually, these options should automatically be merged with the default
> > options. What happens when you do "p Sass::Plugin.options"?
>
> > On Thu, Dec 24, 2009 at 12:21 PM, Nathan Weizenbaum < <nex...@gmail.com>
> > nex...@gmail.com> wrote:
>
> >> Ryan, I think your issue is different. Your problem seems to be that the
> >> :cache flag is set for Sass::Plugin.options, but the :cache_location option
> >> isn't. I've just pushed a fix to the stable branch that fixes this bug. For
> >> now, if you explicitly set "Sass::Plugin.options[:cache_location] =
> >> Sass::Engine::DEFAULT_OPTIONS[:cache_location]", this should work fine.
>
> >>> > >> <http://pastie.organd>http://pastie.organdsend us the link.
> >>> > >>> To post to this group, send email to...
>
> read more »
Hunt & pecked on my iPhone... Sorry if it's brief!
> To post to this group, send email to ha...@googlegroups.com.
> To unsubscribe from this group, send email to haml+uns...@googlegroups.com
Any thoughts? How can I downgrade?
On Dec 25 2009, 2:03 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> Let me know if there's any additional support needed on my end.
>
> Hunt & pecked on my iPhone... Sorry if it's brief!
>
> On Dec 25, 2009, at 9:10 AM, Ryan Michael <keri...@gmail.com> wrote:
>
>
>
> > I'm using Spree, which has a sort of wonky extension system and I
> > couldn't get the standard compass install to compile at page load so
> > I just threw in a watcher script to save myself the time of trying
> > to figure out how to make compass play well with the extensions.
>
> > Basically (if you're not familiar with Spree) I'm developing an
> > extension that lives in RAILS_ROOT/vendor/extension/blah along with
> > a couple other ones, and ideally compass would be watching the sass
> > dir of each extension. Looking at the config documentation you
> > linked to it appears that the sass_dir must be a string.
>
> > I should probably move this discussion to the Spree list; they
> > probably already solved this issue and I just haven't been able to
> > find it.
>
> > Thanks for all you help btw.
> > -Ryan
>
> > On Thu, Dec 24, 2009 at 4:38 PM, Chris Eppstein
> > <ch...@eppsteins.net> wrote:
> > I'm also confused. Why are you using the compass watcher on a rails
> > project?
>
> > Hunt & pecked on my iPhone... Sorry if it's brief!
>
> > >>>>>>>> <http://pastie.organd>http://pastie.organdsendus the link.
>
> > >>>>>>>> chris
>
> > >>>>>>>> On Wed, Dec 16, 2009 at 6:13 AM, baphled
> > >>>>>>>> <baph...@googlemail.com>
> > >>>>> wrote:
>
> > >>>>>>>>> This seems to be a relatively new issue, though I have not
> > >>>>>>>>> tried to
> > >>>>>>>>> convert from...
>
> read more »
>
> read more »