Unsubscribe On Jan 24, 2011 9:21 AM, <[email protected]> wrote: > > Send Camping-list mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/camping-list > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Camping-list digest..." > > > Today's Topics: > > 1. Re: Strange error with no stack trace (adam moore) > 2. Re: Strange error with no stack trace (Magnus Holm) > 3. Strange error with no stack trace (Magnus Holm) > 4. Re: Strange error with no stack trace (adam moore) > 5. Re: Strange error with no stack trace (adam moore) > 6. Strange error with no stack trace (Magnus Holm) > 7. Re: Strange error with no stack trace (adam moore) > 8. Re: Strange error with no stack trace (adam moore) > 9. Re: Strange error with no stack trace (Bartosz Dziewo?ski) > 10. Re: [ANN] ABingo (A/B Testing framework) plugin for Camping > (Dave Everitt) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 21 Jan 2011 15:46:23 +0900 > From: adam moore <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Re: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Wow, thanks Magnus. Adding that certainly made the output more interesting: > > http://pastebin.com/DSMKWK52 > > As you can see, the ruby version seems to be 1.8. > It can be bumped up to 1.9 I believe if this is preferred? > > drinking.rb line 127 is simply: > > render :index > > The plot thickens... > > > > Adam > > > ------------------------------ > > Message: 2 > Date: Fri, 21 Jan 2011 09:23:38 +0100 > From: Magnus Holm <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Re: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > On Friday, January 21, 2011, adam moore <[email protected]> wrote: > > Wow, thanks Magnus. Adding that certainly made the output more interesting: > > > > http://pastebin.com/DSMKWK52 > > > > As you can see, the ruby version seems to be 1.8. > > It can be bumped up to 1.9 I believe if this is preferred? > > > > drinking.rb line 127 is simply: > > > > ? ? ? ?render :index > > > > The plot thickens... > > > > But soon the mystery will unfold itself! > > Could you list all the filenames in your views-directory? It seems > that Camping fails to extract the extension of the index template. I'm > just puzzled why it works locally but not on Heroku. > > Also, try to evaluate this on Heroku's console: filename[/\.(\w+)$/,1] > (where filename is the filename of the index template). > > -- > // Magnus Holm > > > ------------------------------ > > Message: 3 > Date: Fri, 21 Jan 2011 09:28:27 +0100 > From: Magnus Holm <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > On Friday, January 21, 2011, adam moore <[email protected]> wrote: > > Wow, thanks Magnus. Adding that certainly made the output more interesting: > > > > http://pastebin.com/DSMKWK52 > > > > As you can see, the ruby version seems to be 1.8. > > It can be bumped up to 1.9 I believe if this is preferred? > > > > drinking.rb line 127 is simply: > > > > ?? ? ? ?render :index > > > > The plot thickens... > > > > But soon the mystery will unfold itself! > > Could you list all the filenames in your views-directory? It seems > that Camping fails to extract the extension of the index template. I'm > just puzzled why it works locally but not on Heroku. > > Also, try to evaluate this on Heroku's console: filename[/\.(\w+)$/,1] > where filename is the filename of the index template. > > > -- > // Magnus Holm > > > ------------------------------ > > Message: 4 > Date: Fri, 21 Jan 2011 17:31:34 +0900 > From: adam moore <[email protected]> > To: [email protected] > Subject: Re: Strange error with no stack trace > Message-ID: > > <[email protected]<aanlktiktc4qk9uzs5w%2baa5ek%[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > With burning ears I link to you the git repository : > > http://github.com/minikomi/tokyoartparties > > Be gentle haha > > > ------------------------------ > > Message: 5 > Date: Fri, 21 Jan 2011 17:35:13 +0900 > From: adam moore <[email protected]> > To: [email protected] > Subject: Re: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > > Also, try to evaluate this on Heroku's console: filename[/\.(\w+)$/,1] > > (where filename is the filename of the index template). > > > > -- > > // Magnus Holm > > _______________________________________________ > > Camping-list mailing list > > [email protected] > > http://rubyforge.org/mailman/listinfo/camping-list > > Ruby console for tokyoartparties.heroku.com > >> "index.haml"[/\.(\w+)$/,1] > => "haml" > > Hope this is correct... > > > ------------------------------ > > Message: 6 > Date: Fri, 21 Jan 2011 10:27:05 +0100 > From: Magnus Holm <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Strange error with no stack trace > Message-ID: > > <[email protected]<5vhczxuaglhpy2udfuuzwo%2bevd_%[email protected]> > > Content-Type: text/plain; charset=UTF-8 > > We're getting closer! > > Try this from both locally and on Heroku: > > Dir["src/views/index.*"].first > > My prediction: it returns index.haml locally and index.haml~ on > Heroku. Therefore Camping fails to extract the extension on Heroku. > Solution: delete all ~-files (and add *~ to gitignore). > > I'll also make the extraction code a little leas fragile to files > which have weird extensions. > > On Friday, January 21, 2011, adam moore <[email protected]> wrote: > > With burning ears I link to you the git repository : > > > > http://github.com/minikomi/tokyoartparties > > > > Be gentle haha > > _______________________________________________ > > Camping-list mailing list > > [email protected] > > http://rubyforge.org/mailman/listinfo/camping-list > > > > > -- > // Magnus Holm > > > ------------------------------ > > Message: 7 > Date: Fri, 21 Jan 2011 18:50:18 +0900 > From: adam moore <[email protected]> > To: [email protected] > Subject: Re: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > => "src/views/index.haml" > > But I will strip out the ~ files and let you know if things improve! > > The heroku support staff have also been taking a look: > > > Hi, > > > I was able to see this on heroku intermittently. On a few restarts, I got it, but in other occasions it worked fine right away. I was unable to reproduce this locally. > > > ------------------------------ > > Message: 8 > Date: Fri, 21 Jan 2011 18:54:18 +0900 > From: adam moore <[email protected]> > To: [email protected] > Subject: Re: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Wow! That seems to have done it! > > Great. Will let their team know as well. > > Thank you very much, > > > ------------------------------ > > Message: 9 > Date: Fri, 21 Jan 2011 18:22:22 +0100 > From: Bartosz Dziewo?ski <[email protected]> > To: [email protected] > Subject: Re: Strange error with no stack trace > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > Also, you can change Ruby version on Heroku by choosing a different stack. > > You can see a list of avail. stacks using "heroku stack" in command > line (locally). > > You can change the stack by using "heroku stack:migrate <chosen > stack>" and git pushing. (Personally, I have had problems with that; > solution is to "heroku destroy" an app and recreate it specifying the > stack: "heroku create <appname> --stack <stack>".) > > > Bamboo and Aspen stacks differ in preinstalled gems (Bamboo has none, > Aspen lots). Different Bamboo differ only by specific Ruby version. > > -- > Matma Rex > > > ------------------------------ > > Message: 10 > Date: Mon, 24 Jan 2011 13:21:50 +0000 > From: Dave Everitt <[email protected]> > To: [email protected] > Subject: Re: [ANN] ABingo (A/B Testing framework) plugin for Camping > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Hi Jenna - just checking email backlog, was going to pop something up > on Phillippe's behalf, but Rack is down on whywentcamping.com :-( - > Dave Everitt > > > Hey you know it would be totally awesome if you did some posts on > > the camping blog at http://log.whywentcamping.com/submit about this > > neat stuff so we can mutually bask in whatever minor exposure that > > might bring. :) > > > > Give me a poke if you submit something through that so I can hit > > publish on the tumblr end. > > > > j > > > > On 16/12/2010, at 15:47, Philippe Monnet <[email protected]> wrote: > > > >> I posted part II of the series, detailing the steps to add ABingo > >> to a test Camping app - http://blog.monnet-usa.com/?p=330 > >> GitHub and RubyGems have been updated with a couple changes too. > >> There is also a very basic example at http://camping- > >> abingo.heroku.com/ > >> > >> > >> On 12/2/2010 5:34 PM, Philippe Monnet wrote: > >>> > >>> After becoming interested in Patrick McKenzie's ABingo A/B > >>> testing framework for Rails I decided to adapt it for Camping > >>> after getting his blessing. > >>> The plugin can be found on GitHub at: https://github.com/techarch/ > >>> camping-abingo > >>> The camping-abingo gem is on RubyGems. > >>> The doc is at: http://camping-abingo.monnet-usa.com/ > >>> > >>> And I started the first of a couple posts on ABingo for Camping: > >>> http://blog.monnet-usa.com/?p=322 > >>> > >>> Philippe (@techarch) > >>> > >>> PS - for the moment I have not promoted the repository up to the > >>> Camping GitHub org but I can do that if people feel like it > >>> should be there. > > > > ------------------------------ > > _______________________________________________ > Camping-list mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/camping-list > > End of Camping-list Digest, Vol 51, Issue 2 > *******************************************
_______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

