CINXE.COM

How to fix SASS for OS X Lion — miekd

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml" lang="en-UK" class="no-js page-article"> <head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://miekd.com/articles/how-to-make-sass-not-crash-on-lion/","20130117165521","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1358441721"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="UTF-8"/> <title>How to fix SASS for OS X Lion &mdash; miekd</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <link rel="Shortcut Icon" type="image/x-icon" href="https://web.archive.org/web/20130117165521im_/http://miekd.com/favicon.ico"/> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://web.archive.org/web/20130117165521im_/http://miekd.com/apple-touch-icon-114x114-precomposed.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://web.archive.org/web/20130117165521im_/http://miekd.com/apple-touch-icon-72x72-precomposed.png"> <link rel="apple-touch-icon-precomposed" href="https://web.archive.org/web/20130117165521im_/http://miekd.com/apple-touch-icon-precomposed.png"> <link rel="alternate" type="application/rss+xml" title="miekd RSS Feed" href="https://web.archive.org/web/20130117165521/http://feeds.feedburner.com/miekd/"/> <link rel="pingback" href="http://miekd.com/wp/xmlrpc.php"/> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://miekd.com/wp/xmlrpc.php?rsd"/> <meta property="og:site_name" content="miekd"/> <meta property="og:title" content="How to fix SASS for OS X Lion — miekd"/> <meta property="og:image" content="https://web.archive.org/web/20130117165521im_/http://miekd.com/assets/img/logo-miekd.png"/> <style>@import "https://web.archive.org/web/20130117165521cs_/http://miekd.com/assets/css/main.css";</style> <script type="text/javascript" src="//web.archive.org/web/20130117165521js_/http://use.typekit.net/fwk4oif.js"></script> <script type="text/javascript">try{Typekit.load();}catch(e){}</script> </head> <body> <div class="page"> <header class="masthead" role="banner"> <div> <a href="https://web.archive.org/web/20130117165521/http://miekd.com/" class="logo">m</a> <h1> <a href="https://web.archive.org/web/20130117165521/http://miekd.com/" class="masthead-root">miekd</a> <b> / </b><a href="https://web.archive.org/web/20130117165521/http://miekd.com/articles/category/development/">development</a> </h1> <nav role="navigation"> <ul> <li><a href="https://web.archive.org/web/20130117165521/http://miekd.com/articles/2013/">Articles</a></li> <li><a href="https://web.archive.org/web/20130117165521/http://miekd.com/articles/category/notes/">Notes</a></li> <li class="nav-search" data-icon="s"> <form method="get" id="search-form" class="search-form" action="https://web.archive.org/web/20130117165521/http://miekd.com/"> <p> <label for="search-input"><span>Search</span></label> <input type="search" id="search-input" name="s" value=""/> <input type="submit" id="search-submit" value="Search"/> </p> </form></li> </ul> </nav> </div> </header> <div class="main" role="main"><div class="post-2051 post hentry category-development" id="article2051"> <article> <header> <h2>How to fix SASS for OS X Lion</h2> <time class="article-date" datetime="2011-07-26T11:44:02+01:00"> <i class="dm">Jul</i> <i class="dd">26th</i> <i class="dy"><span>20</span>11</i> </time> <ul> <li class="meta-categories"> <span class="meta-leader">Categories: </span> <a rel="tag" class="cat cat-development" href="https://web.archive.org/web/20130117165521/http://miekd.com/articles/category/development/">Development</a> </li> <li class="meta-tags"> <span class="meta-leader">Tags: </span> <a rel="tag" class="cat cat-apple" href="">apple</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-error" href="">error</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-fix" href="">fix</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-haml" href="">haml</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-lion" href="">lion</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-osx" href="">osx</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-ruby" href="">ruby</a><span class="meta-sep">, </span> <a rel="tag" class="cat cat-sass" href="">sass</a> </li> </ul> </header> <div> <p>Last week I upgraded to the latest version of Apple&#8217;s big cats. And of course, with upgrades like these, there are some software incompatibilities. In this case, since this upgrade, <a href="https://web.archive.org/web/20130117165521/http://sass-lang.com/"><span class="caps">SASS</span></a>&#8216; <code>--watch</code> command threw a <em>segmentation fault</em> error.</p> <p>After some nudging around the web, it became apparent that the error was not in <span class="caps">SASS, </span>but in this thing called <abbr title="File System State Monitor">FSSM</abbr>. And <span class="caps">FSSM </span>is apparently a <em>gem</em> that can be installed.</p> <p><span id="more-2051"></span></p> <p>The specific error was this: </p> <pre><code>/Library/Ruby/Gems/1.8/gems/sass-3.1.4/vendor/fssm/lib/fssm/backends/fsevents.rb:27: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]</code></pre> <p>To fix this error, you should run the following command:</p> <pre><code>gem install fssm</code></pre> <p>If you then run the <code>--watch</code> command, it shouldn&#8217;t crash anymore! <strong>Woohoo!</strong> It does give the following notice.</p> <pre><code>FSSM -&gt; An optimized backend is available for this platform! FSSM -&gt; gem install rb-fsevent</code></pre> <p>So just to be sure, you can also run the following: </p> <pre><code>gem install rb-fsevent</code></pre> <p>I&#8217;m not proficient at this by any measure, but I hope this keeps on behaving correctly, even with point updates to Lion.</p> <p>If you want to start out with <span class="caps">SASS, </span>it&#8217;s pretty easy to get it on your Mac. Have a look at <a href="https://web.archive.org/web/20130117165521/http://miekd.com/articles/sass-watcher/">my <span class="caps">SASS</span> Watcher post</a> for instructions and run watch commands from the Finder.</p> </div> </article> </div> </div> <!-- .main --> <footer role="contentinfo"> <div class="about"> <p>Hi, I'm <a href="https://web.archive.org/web/20130117165521/http://www.maykelloomans.com/" rel="me">Maykel</a>. I'm a User Interface Designer at <a href="https://web.archive.org/web/20130117165521/http://instagram.com/">Instagram</a>. Currently living in San Francisco, originally from <a href="https://web.archive.org/web/20130117165521/http://maps.google.com/maps?q=Maastricht,%20The%Netherlands">Maastricht, The Netherlands</a>.</p> <p>You can also check out my work on <a href="https://web.archive.org/web/20130117165521/http://dribbble.com/miekd/">dribbble</a> and follow me on <a href="https://web.archive.org/web/20130117165521/http://twitter.com/miekd/">Twitter</a>.</p> </div> <nav> <ul><li class="nav-rss"><a href="https://web.archive.org/web/20130117165521/http://feeds.feedburner.com/miekd/">RSS Feed</a></li><li class="nav-archive"><a href="https://web.archive.org/web/20130117165521/http://miekd.com/articles/2011/">Archives</a></li></ul> </nav> <p class="copyright"><b>&copy;</b> 2008 &ndash; 2013 <a href="https://web.archive.org/web/20130117165521/http://www.maykelloomans.com/" rel="me">Maykel Loomans</a></p> </footer> </div> <script src="https://web.archive.org/web/20130117165521js_/http://miekd.com/assets/js/jquery.min.js"></script> <script src="https://web.archive.org/web/20130117165521js_/http://miekd.com/assets/js/miekd-base.js"></script> <script src="https://web.archive.org/web/20130117165521js_/http://miekd.com/mint/?js"></script> <script> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-2424413-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://web.archive.org/web/20130117165521/https://ssl' : 'https://web.archive.org/web/20130117165521/http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); </script> </body> </html><!-- FILE ARCHIVED ON 16:55:21 Jan 17, 2013 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 18:06:07 Feb 21, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.622 exclusion.robots: 0.034 exclusion.robots.policy: 0.022 esindex: 0.012 cdx.remote: 15.462 LoadShardBlock: 211.383 (3) PetaboxLoader3.datanode: 213.198 (4) PetaboxLoader3.resolve: 224.522 (2) load_resource: 271.812 -->

Pages: 1 2 3 4 5 6 7 8 9 10