Thanks for the advise. I started running it locally and yes, it's much easier than pushing to Heroku! Now I'm seeing that none of my CSS files are being loaded.
On Apr 17, 3:49 pm, Ben Wanicur <[email protected]> wrote: > Hi Senna > > I do not have anything specific to offer you, however, it sounds like an > environment problem. Have you tried running this locally in production > mode ? You might get better debugging information. Plus it's easier than > pushing to Heroku a zillion times :) > > Good luck! > > Ben > > > > > > > > On Tue, Apr 17, 2012 at 3:33 PM, Senna <[email protected]> wrote: > > Hi Rob, > > > Thanks for your reply. I still have the error, even after migrating to > > cedar and performing what you recommended. I just noticed the file > > public/stylesheets/active_admin.css. You can see the contents here: > >http://pastebin.com/raw.php?i=qbGVTuTr > > > Some of active_admin.css: > > > body:before { > > white-space: pre; > > font-family: monospace; > > content: "Syntax error: File to import not found or unreadable: > > bourbon.\A Load paths:\A /home/js/ > > Development/blahblahblah/public/stylesheets/sass\A / > > home/js/.rvm/gems/ruby-1.9.2-p180/gems/activeadmin-0.4.3/app/assets/ > > stylesheets\A /home/js/.rvm/gems/ruby-1.9.2-p180/gems/ > > activeadmin-0.4.3/lib/active_admin/sass\A on line 11 of /home/ > > js/.rvm/gems/ruby-1.9.2-p180/gems/activeadmin-0.4.3/app/assets/ > > stylesheets/active_admin/mixins/_all.css.scss\A from line 1 > > of /home/js/.rvm/gems/ruby-1.9.2-p180/gems/activeadmin-0.4.3/app/ > > assets/stylesheets/active_admin/_mixins.css.scss\A from line 2 > > of /home/js/.rvm/gems/ruby-1.9.2-p180/gems/activeadmin-0.4.3/lib/ > > active_admin/sass/active_admin.scss"; } > > > This error is so killing me :[ > > > On Apr 17, 9:59 am, Robert Kaufman <[email protected]> wrote: > > > You can fix this even on bamboo with the following steps: > > > > Get the bleeding edge version of sass > > > > gem 'sass', :git => 'git://github.com/nex3/sass.git' > > > > Update both sass-rails and compass in your Gemfile: > > > > gem 'sass-rails', '3.1.4' # if running rails 3.1 or greater > > > gem "compass-rails" > > > > bundle update sass-rails compass-rails > > > > Make sure you ONLY use @include statements and NEVER use //=require > > statements in SCSS or SASS files. > > > > This will also make asset compilation much faster. > > > > Rob > > > > On Apr 17, 2012, at 7:27 , Senna wrote: > > > > > This is really annoying. It works fine locally (development) but when > > > > I push it to Heroku it crashes on the first HTTP request, then if I > > > > press F5 it works fine. So it seems to crash when the app first spins > > > > up. ANY advise would be greatly appreciated! I'm on bamboo-mri-1.9.2 > > > > > I think this is where the error is in the Heroku Log output: > > > > > 2012-04-14T20:09:19+00:00 app[web.1]: Sass::SyntaxError (File to > > > > import not found or unreadable: bourbon. > > > > ... > > > > 2012-04-14T19:08:14+00:00 app[web.1]: .bundle/gems/ruby/1.9.1/gems/ > > > > railties-3.2.3/lib/rails/railtie/configurable.rb:30:in > > > > `method_missing' > > > > > Complete Heroku Log Output:http://pastebin.com/raw.php?i=rvdkPwzR > > > > > -- > > > > SD Ruby mailing list > > > > [email protected] > > > >http://groups.google.com/group/sdruby > > > -- > > SD Ruby mailing list > > [email protected] > >http://groups.google.com/group/sdruby -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
