New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset pipeline: locally precompiled md5 fingerprints don't match with the ones generated by rails helpers in production (rails 3.1 rc6, ruby 1.9.2) #2569

Closed
ncri opened this Issue Aug 17, 2011 · 124 comments

Comments

Projects
None yet
@ncri
Copy link

ncri commented Aug 17, 2011

I precompile assets using rake assets:precompile RAILS_ENV=production locally on my development machine.

The problem is the generated md5 fingerprints in the precompiled filenames don't match the ones generated by the rails helpers (like asset_path) in production.

Any clues why this is?

I'm on Heroku, so precompiling on the server is no option, as they have a read only file system.

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 17, 2011

@josh ping

@ghost ghost assigned josh Aug 17, 2011

@josh

This comment has been minimized.

Copy link
Member

josh commented Aug 17, 2011

@hone is working on having a precompile step on heroku. Not sure if its ready yet.

Until then you can have your assets served dynamically and cached by something like rack-cache.

@guilleiguaran

This comment has been minimized.

Copy link
Member

guilleiguaran commented Aug 17, 2011

Looks like you have same problem described in #2383. I was trying to reproduce the bug with @spastorino but we couldn't

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

Ah, okay, sounds promising, thx. Dynamically served assets is okay in general, however I have an issue with getting a gem to work with it: PDF kit. I used to feed it absolute filesystem image paths, as it doesn't like relative web paths. However, I can't do that anymore now without precompilation, as the actual files don't exit on the disk otherwise. Well, for now I found a hack, but it's a bit ugly. The issue is actually not in PDFKit itself, but with the wkhtmltopdf tool pdfkit uses. It can only deal with absolute paths.

@pixeltrix

This comment has been minimized.

Copy link
Member

pixeltrix commented Aug 17, 2011

Are you developing on windows by any chance? The different line endings could be changing md5 fingerprints.

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 17, 2011

@pixeltrix if that is true, then it sounds like a bug. We should open the files with binary encoding so that the checksums are platform independent.

Can someone point me to where the checksums are calculated? It worries me that a checksum would change depending on platform. It kind of defeats the purpose of a checksum. :-)

@ghost ghost assigned josh Aug 17, 2011

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 17, 2011

I'm having a similar issue, except I'm using the Cedar stack, which apparently has a write-able file system. Heroku will even detect Rails 3.1 apps and automatically run the assets:precompile rake task on slug compilation (although to not scare developers with error messages, it won't actually show you if it was successful or not when you "git push heroku"). If it works successfully, you can "heroku run bash" and "ls ~/public/assets" and see all your compiled assets.

In my case, the assets are all there, but the md5 fingerprints don't match the asset urls rendered in the view. You just get a bunch of 404's on every asset.

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 17, 2011

@kamui can you provide a sample app with repro steps? I'd love to track this down.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 17, 2011

@tenderlove sure I'm putting it together now.

@jmazzi

This comment has been minimized.

Copy link
Contributor

jmazzi commented Aug 17, 2011

@tenderlove md5 hashes bytes, not characters. Are you using UTF-8 for the calculations?

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 17, 2011

@jmazzi if the files are opened and read in binary format, it shouldn't matter.

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

Ah @kamui, that seems actually exactly my issue! I didn't know about that's automatic precompilation on cedar.
And, no, I'm not on Windows, but on a Mac. So this seems a Heroku issue. Just wonder what happens with the assets I precompile locally. Does Heroku delete them? Where did you see that Heroku does the precompilation? Is it in the slug compilation output? In that case I always overlooked it... ;-)

@ncri ncri closed this Aug 17, 2011

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

Oops, sorry, accidentally closed the issue. Wonder if the precompilation on Heroku is happening in this step:
-----> Preparing app for Rails asset pipeline ?

@ncri ncri reopened this Aug 17, 2011

@guilleiguaran

This comment has been minimized.

Copy link
Member

guilleiguaran commented Aug 17, 2011

There are some details about get Rails 3.1 on Heroku Cedar stack: http://devcenter.heroku.com/articles/rails31_heroku_cedar

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 17, 2011

@ncri when you push your app, heroku will do the pre-compilation. I don't know what happens to your checked in assets. Theoretically if they hashed the same, nothing would happen.

@pixeltrix

This comment has been minimized.

Copy link
Member

pixeltrix commented Aug 17, 2011

@tenderlove it may not make a difference. If the git config autocrlf is true then any text file checked out on a windows box will have CRLF endings and when checked out on the server it will have LF endings and the bytes will be different.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 17, 2011

I had a long standing issue with heroku support with 3.1.0.rc5 and assets not precompiling. So I learned a bit about how cedar works with the 3.1 asset pipeline. "rake assets:precompile" is run when the slug is compiled. Yeah, I think that line is when the rake task is being run. Support said they used to output failures, but this scared people deploying so they removed any sort of notice about whether or not the task was successful or not. I think for now the only way to check is to "heroku run bash" and take a look to see if the assets are there.

It's not a huge problem, since if the asset precompile fails, Rails will just compile the assets on the first request to a url to ~/tmp/cache/assets. Since 3.1 enables Rack::Cache, I think Rack::Cache will cache these assets in your Rails cache_store, which was one of my issues since redis is my cache_store, I had tons of static assets taking up redis memory.

As noted in the link @guilleiguaran posted, if you're using MongoDB, the precompile will fail b/c the MongoDB connection string is unavailable at slug compile time. Short term fix was to hard code the connection string instead of using ENV['MONGOHQ_URL'].

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 17, 2011

@tenderlove when you run "rake assets:precompile", I think it runs "rake assets:clean" first no? I think any assets you already compiled and checked in would get wiped out on the clean task.

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

Wondering if different ruby versions make a difference with fingerprint generation?? I use 1.9.2 here, Heroku cedar uses 1.9.1?

@guilleiguaran

This comment has been minimized.

Copy link
Member

guilleiguaran commented Aug 17, 2011

@ncri Heroku Cedar uses 1.9.2 also

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

Well, thats what it says in the docs: but i think its wrong. my path points to a 1.9.1 folder:

GEM_PATH => vendor/bundle/ruby/1.9.1

@stevenharman

This comment has been minimized.

Copy link
Contributor

stevenharman commented Aug 17, 2011

@ncri Heroku Cedar is 1.9.2p180, as can be seen by heroku run bash and then ruby --version

@jmazzi

This comment has been minimized.

Copy link
Contributor

jmazzi commented Aug 17, 2011

@ncri sprockets lets you use sha1. Might wanna try that out to see if it can't at least get you up and running. Not sure if rails lets you specify that tho.

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

@stevenharman: yep, thx, can confirm that. Strange, why are all ruby path's in my environment having 1.9.1 in there?
I think they must have recently upgraded and not have changed the paths... Hmmm, wonder which ruby is then used with my app in actuality.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 17, 2011

@ncri 1.9.2 has some concept of a "library compatible version." 1.9.2 is library compatible with 1.9.1, so bundler. and even the standard library, puts it in a 1.9.1 directory.

@ncri

This comment has been minimized.

Copy link
Author

ncri commented Aug 17, 2011

Okay, Heroku doesn't precompile my assets. Or it fails doing so, as they are not in the public folder. Locally I can just compile them fine.

@arbarlow

This comment has been minimized.

Copy link

arbarlow commented Aug 23, 2011

Using sprockets 2.0.0.beta.14, still broken for me when using a javascript file with the following

//= require jquery
//= require jquery_ujs
//= require jquery.scrollTo-min.js
//= require swfobject.js
//= require jquery.uploadify.v2.1.4.min.js
//= require jquery.twitter.js
//= require jquery.labelOver.js
//= require_tree .

If i remove

//= require jquery
//= require jquery_ujs

Then i get the same hashes

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

I tried upgrading to 2.0.0.beta.14 and it's not working for me. Heroku is precompiling assets, and the digests don't match what's generated by the views.

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 23, 2011

@kamui what version of Ruby are you using?

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

This is using Heroku's cedar stack.

ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 23, 2011

@kamui they seem to be matching for me. Do you have a sample app I can test with?

fuuu

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

Yeah, I'm trying to replicate the issue I'm having in a new rails application. So far I haven't been able to. I'm definitely using sprockets 2.0.0.beta.14, but none of the assets are matching. I'll keep looking.

@guilleiguaran

This comment has been minimized.

Copy link
Member

guilleiguaran commented Aug 23, 2011

@kamui what version of Rails? last rc?

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@guilleiguaran: Yes, rc6.

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 23, 2011

@kamui so when you bash in to heroku, the asset digests in public/assets are different than the ones when you view source on the website?

This should be reproducible on your local machine with you local app. Heroku is simply running rake assets:precompile, so the behavior should be the same on you local machine.

@arbarlow

This comment has been minimized.

Copy link

arbarlow commented Aug 23, 2011

@tenderlove i think the issue isn't local vs running app, its different servers still

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@tenderlove It doesn't work locally either. In fact, it's the same digests that are generated on heroku. They just don't match. The ones in public/assets don't match the ones in the source. Taking another look in my manifests.

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 23, 2011

@arbarlow It appears that @kamui is having a different issue than you are. Can you provide a sample app?

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 23, 2011

@kamui good. That means we can cut heroku out of the picture. :)

@smparkes

This comment has been minimized.

Copy link

smparkes commented Aug 23, 2011

You did "bundle update" right? Gemfile.lock has

sprockets (2.0.0.beta.14)
  hike (~> 1.2)
  rack (~> 1.0)
  tilt (!= 1.3.0, ~> 1.1)

?

rc6 won't force beta.14. Edge rails will.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@smparkes: Yep.

    sprockets (2.0.0.beta.14)
      hike (~> 1.2)
      rack (~> 1.0)
      tilt (!= 1.3.0, ~> 1.1)
@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

Well, the contents are identical. They even have the same md5 sum.

@smparkes

This comment has been minimized.

Copy link

smparkes commented Aug 23, 2011

@kamui And you removed tmp/cache/assets and retried? (Not that I think that will fix anything, since you're seeing this both places ...)

You aren't doing anything special with environments? You'll get different hashes in different environments. I think assets:precompile forces production now (I thought I saw this somewhere ...)

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@smparkes: Initially, I just copied my production environment config into development to test this thinking that would get me the asset digests in the views to compare against. That didn't work. Since you mentioned environments, I swapped out my mongodb config and just ran in production mode:

rails s -e production

And now the asset digests match. I still can't explain why they don't match on Heroku. The RAILS_ENV and RACK_ENV are both set to the same values (qa/production/staging).

In addition, I get this error on my logs from sprockets beta 14 (I do not get this if I revert to 13):

[2011-08-23 18:13:37] INFO  WEBrick::HTTPServer#start: pid=41156 port=5000
Sprockets::Environment#path is deprecated
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:119:in `rewrite_asset_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/asset_paths.rb:29:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:100:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:67:in `asset_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:57:in `block in stylesheet_link_tag'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:47:in `collect'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:47:in `stylesheet_link_tag'
/Users/JackC/Development/bigfuel_facepunch/app/views/layouts/admin.html.haml:8:in `_app_views_layouts_admin_html_haml__2615503364480790115_2188520840'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:144:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:55:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:142:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:52:in `render_with_layout'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:9:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:36:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:17:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:120:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/streaming.rb:250:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:114:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:99:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:16:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:39:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
/Users/JackC/Development/bigfuel_facepunch/app/controllers/admin/projects_controller.rb:15:in `index'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:167:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:443:in `_run__3169991915629107689__process_action__2972423638388271138__callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/params_wrapper.rb:202:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:121:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:45:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:193:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:236:in `block in action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:29:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:82:in `optimized_each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:141:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:531:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/mongoid.rb:130:in `unit_of_work'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:35:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `catch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/etag.rb:23:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/conditionalget.rb:25:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/flash.rb:243:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195:in `context'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/cookies.rb:326:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/sendfile.rb:101:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/logger.rb:13:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/runtime.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/lock.rb:15:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:132:in `forward'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:243:in `fetch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:181:in `lookup'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:65:in `call!'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:50:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/static.rb:53:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/engine.rb:455:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:52:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/content_length.rb:16:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Sprockets::Environment#path is deprecated
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:119:in `rewrite_asset_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/asset_paths.rb:29:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:100:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:67:in `asset_path'
/Users/JackC/Development/bigfuel_facepunch/app/views/layouts/admin.html.haml:11:in `_app_views_layouts_admin_html_haml__2615503364480790115_2188520840'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:144:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:55:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:142:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:52:in `render_with_layout'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:9:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:36:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:17:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:120:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/streaming.rb:250:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:114:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:99:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:16:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:39:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
/Users/JackC/Development/bigfuel_facepunch/app/controllers/admin/projects_controller.rb:15:in `index'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:167:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:443:in `_run__3169991915629107689__process_action__2972423638388271138__callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/params_wrapper.rb:202:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:121:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:45:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:193:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:236:in `block in action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:29:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:82:in `optimized_each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:141:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:531:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/mongoid.rb:130:in `unit_of_work'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:35:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `catch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/etag.rb:23:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/conditionalget.rb:25:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/flash.rb:243:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195:in `context'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/cookies.rb:326:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/sendfile.rb:101:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/logger.rb:13:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/runtime.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/lock.rb:15:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:132:in `forward'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:243:in `fetch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:181:in `lookup'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:65:in `call!'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:50:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/static.rb:53:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/engine.rb:455:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:52:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/content_length.rb:16:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Sprockets::Environment#path is deprecated
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:119:in `rewrite_asset_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/asset_paths.rb:29:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:100:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:67:in `asset_path'
/Users/JackC/Development/bigfuel_facepunch/app/views/layouts/admin.html.haml:11:in `_app_views_layouts_admin_html_haml__2615503364480790115_2188520840'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:144:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:55:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:142:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:52:in `render_with_layout'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:9:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:36:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:17:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:120:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/streaming.rb:250:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:114:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:99:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:16:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:39:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
/Users/JackC/Development/bigfuel_facepunch/app/controllers/admin/projects_controller.rb:15:in `index'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:167:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:443:in `_run__3169991915629107689__process_action__2972423638388271138__callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/params_wrapper.rb:202:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:121:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:45:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:193:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:236:in `block in action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:29:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:82:in `optimized_each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:141:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:531:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/mongoid.rb:130:in `unit_of_work'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:35:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `catch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/etag.rb:23:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/conditionalget.rb:25:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/flash.rb:243:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195:in `context'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/cookies.rb:326:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/sendfile.rb:101:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/logger.rb:13:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/runtime.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/lock.rb:15:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:132:in `forward'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:243:in `fetch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:181:in `lookup'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:65:in `call!'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:50:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/static.rb:53:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/engine.rb:455:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:52:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/content_length.rb:16:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Sprockets::Environment#path is deprecated
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:119:in `rewrite_asset_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/asset_paths.rb:29:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:100:in `compute_public_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:67:in `asset_path'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:34:in `block in javascript_include_tag'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:26:in `collect'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/sprockets/helpers/rails_helper.rb:26:in `javascript_include_tag'
/Users/JackC/Development/bigfuel_facepunch/app/views/layouts/admin.html.haml:12:in `_app_views_layouts_admin_html_haml__2615503364480790115_2188520840'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:144:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:55:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/template.rb:142:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:52:in `render_with_layout'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/template_renderer.rb:9:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:36:in `render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_view/renderer/renderer.rb:17:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:120:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/streaming.rb:250:in `_render_template'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:114:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:99:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:16:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:39:in `render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
/Users/JackC/Development/bigfuel_facepunch/app/controllers/admin/projects_controller.rb:15:in `index'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:167:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:443:in `_run__3169991915629107689__process_action__2972423638388271138__callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/notifications.rb:53:in `instrument'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/params_wrapper.rb:202:in `process_action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/base.rb:121:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/abstract_controller/rendering.rb:45:in `process'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:193:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_controller/metal.rb:236:in `block in action'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:29:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:82:in `optimized_each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-mount-0.8.2/lib/rack/mount/route_set.rb:141:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/routing/route_set.rb:531:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/mongoid.rb:130:in `unit_of_work'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/mongoid-2.1.9/lib/rack/mongoid/middleware/identity_map.rb:33:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:35:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `catch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/warden-1.0.5/lib/warden/manager.rb:34:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/etag.rb:23:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/conditionalget.rb:25:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/flash.rb:243:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195:in `context'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/cookies.rb:326:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/activesupport-3.1.0.rc6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/sendfile.rb:101:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/logger.rb:13:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/runtime.rb:17:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/lock.rb:15:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:132:in `forward'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:243:in `fetch'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:181:in `lookup'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:65:in `call!'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-cache-1.0.2/lib/rack/cache/context.rb:50:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/static.rb:53:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/engine.rb:455:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:52:in `block in call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `each'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/urlmap.rb:46:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/content_length.rb:16:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/railties-3.1.0.rc6/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/JackC/.rvm/gems/ruby-1.9.2-p290@bigfuel_facepunch/gems/rack-1.3.2/lib/rack/handler/webrick.rb:59:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/JackC/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 23, 2011

@kamui yes, those deprecation notices should be fixed in the 3-1-stable branch. You're running mongodb on heroku? I think this may play a role. I know there are issues with precompiling assets and mongo on the cedar stack. I'm guessing your application is failing during the compile phase on heroku.

@hone can you take a look at @kamui's application?

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@tenderlove Yeah, I believe it's something to do with not having the mongodb connection string at slug compile time. Hard coding the mongodb config allows heroku to precompile the assets though. This is what I've been doing for rc5. I'm pretty sure it's precompiling on heroku. The public/assets directory is populated if I heroku run bash.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@tenderlove, @smparkes: So when you do rake assets:precompile does it do it in production mode? Would this cause a problem with pushing to staging/qa environments? I haven't tried pushing this to production. It's possible if the assets precompile in production mode and the rails app is in production mode the stars might just align and everything might just work, but this would still be an issue for qa/staging type environments.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

Looks like the environment is the issue. It's replicated here:

http://omfgapp.herokuapp.com/

GitHub: https://github.com/kamui/omfgapp

Just set your environment to staging.

@smparkes

This comment has been minimized.

Copy link

smparkes commented Aug 23, 2011

@kamui I think you're doing this (or at least trying to) but the/a key is that you have to the same RAILS_ENV string when running assets:precompile and running the app. The RAILS_ENV string (as well as the version of sprockets) is used in computing the hash. Even if the configurations are otherwise the same, if the string is different, the hashes are different.

@kamui

This comment has been minimized.

Copy link

kamui commented Aug 23, 2011

@smparkes: Yeah, I didn't know RAILS_ENV was used in seeding the digest. I also assumed running it without passing in an environment would do it in development mode. I'm guessing when Heroku precompiles on deploy they don't pass in the RAILS_ENV? I don't know why else the digests would mismatch on my QA and staging server.

@smparkes

This comment has been minimized.

Copy link

smparkes commented Aug 23, 2011

I don't know how Heroku does rake tasks, but yes, RAILS_ENV has to be the same when running :precompile and running the app. And the default RAILS_ENV for :precompile is "production", not "development".

@rhulse

This comment has been minimized.

Copy link
Contributor

rhulse commented Aug 23, 2011

precompile was set to default to production in commit 4ca605b

@tenderlove

This comment has been minimized.

Copy link
Member

tenderlove commented Aug 25, 2011

Passing the RAILS_ENV will definitely impact the digests. I think it's supposed to be expected behavior. Regardless I think any impact RAILS_ENV has on the digests is outside the scope of this ticket.

I'm going to close this now, as I think it's fixed. If you disagree, please comment and we'll look at it more! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment