search for: whytheluckystiff

Displaying 20 results from an estimated 135 matches for "whytheluckystiff".

2008 May 10
2
Camping-Omnibus Doesn''t Work With Ruby v1.8.6
I''ve noticed that the copy of Mongrel installed by the camping-omnibus gem doesn''t work with Ruby 1.8.6. Or to be more specific, cgi_multipart_eof_fix (which Mongrel is dependent upon) doesn''t work: > $ sudo gem install mongrel --source http://code.whytheluckystiff.net > > ERROR: Error installing mongrel: > cgi_multipart_eof_fix requires Ruby version <= 1.8.5 It looks like the copy of Mongrel mirrored on code.whytheluckystiff.net is v1.0.1. The latest public release is v1.1.4. Working around this is easy (just download the component parts...
2006 Jul 18
3
+ camping 1.4.138
Just up: gem install camping --source code.whytheluckystiff.net The changes: * Both bin/camping and Camping::FastCGI.serve now act according to the Camping Server specification.[1] * Docs are complete. _why [1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2008 Mar 23
1
redcloth gem ragel code doesn''t build in jruby
...stall RedCloth-3.274 in jruby (trunk) but the install failed when RedCloth tried to build the C code using mkmf: I forget whether SuperRedcloth ever did build in JRuby?? I know Hpricot (which also uses ragel which can compile to Java code) works in JRuby -- with the patch here: https://code.whytheluckystiff.net/hpricot/ticket/131) I might be confusing the two ... FYI: If you are on a Mac or Linux system the script I pasted here is a very easy way to get a trunk JRuby install with it''s own gems that won''t interfere with any other Ruby you have installed: http://pastie.caboo.se...
2007 Oct 23
4
Weird application/x-www-form-urlencoded bug
Hello, I experienced a weird bug today, while implementing an AtomPub server. I pasted all the story and bug details here : http://p.caboo.se/110125 It maybe be related to http://code.whytheluckystiff.net/camping/ticket/142 ... I am using - mongrel 1.0.1 - camping 1.5 Cheers, -- Simon Rozet <simon at rozet.name>
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2006 Nov 25
5
Newline problem
...med it is in the hands of lighttp. However, I have had this working and the only things I have changed are in the app and not in lighttpd, maybe there are some subtleties I am missing. Can anyone help me finding the bug? Kind regards, Paul 1: https://trac.luon.net/camping-photos/ 2: http://code.whytheluckystiff.net/camping/wiki/ServingStaticFiles 3: https://trac.luon.net/camping-photos/file/trunk/photos/controllers.rb -- Student @ Eindhoven | email: paul at luon.net University of Technology, The Netherlands | JID: paul at luon.net >>> Using the Power of Debian GNU/Linu...
2008 May 19
6
Sample Code, quick simple openid auth
You''ll need to install the ''openid'' gem for this, and require it in your camping app: class Login < R ''/login'' def get this_url = ''http:'' + URL(''/login'').to_s unless input.finish.to_s == ''1'' # start doing the auth here begin
2006 Jun 25
1
brief svn download and install instructions?
Could someone please give some instructions for downloading, building, and installing redcloth from svn? To retrieve it, I''ve tried the basic: svn checkout svn+ssh://code.whytheluckystiff.net/svn/redcloth and svn checkout svn+ssh://anonymous at code.whytheluckystiff.net/svn/redcloth but I just get a connection refused message. Thanks, ---John
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation has been filled in for both. To upgrade: gem install camping --source code.whytheluckystiff.net And, here is a complete changelog: == Camping 1.5 * Camping::Apps stores an array of classes for all loaded apps. * bin/camping can be given a directory. Like: <tt>camping examples/</tt> * Console mode -- thank zimbatm. Use: camping -C yourapp.rb * Call controllers with Camping.me...
2006 Apr 14
2
Markaby trunk broken?
Hello! Does anyone know how I can check out the Markaby trunk? I''m getting this error: <code> ruby script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk + ./trunk/svnindex.xsl /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found (OpenURI::HTTPError) from /usr/local/lib/ruby/1.8/open-uri.rb:629:in `buffer_open'' from /usr/local/lib/ruby/1.8/open-uri.rb:167:in `open_loop''...
2005 Nov 16
4
RedCloth repository moved to SVN
...increasing resistance from helpers who prefer Subversion over CVS. I feel that it''s slowing down development. So, done. Mailing lists, releases, news will still be at Rubyforge. Bug tracking will likely move to the new repository soon as well. The new repository is at: http://code.whytheluckystiff.net/ Checkout RedCloth from http://code.whytheluckystiff.net/svn/redcloth/trunk I haven''t checked in Lucas'' changes yet. I wanted to keep the old revisions. I''ll be merging those in before tomorrow. I''m sorry but no one has commit rights at the moment. I...
2006 Aug 24
3
Mousehole stuff
Hey everyone, I''m using mousehole for the first time today (love the artwork, btw) and I seem to be having problems with Camping and Markaby. When I go to the Apps page I get: Camping Problem! MouseHole::Controllers::RApps.GET TypeError /Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t convert String into Array:bla bla bla... The line in question
2006 Jun 15
8
Markaby Installation Issues
Ok, So I followed the directions.. I did a ''gem install markaby'' (which sounds like its enough to get me going for rails), but I wasn''t sure, so I tried to install the plugin as well. Plugin installation fails looking for a file: Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk Outputs this error: + ./trunk/svnindex.xsl /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found (OpenURI::HTTPError) When I try to access my .mab file I get a template not found, leading me to think that something isn''t installed right. W...
2007 Mar 28
1
Pimpin'' a patch: moving the bin/camping logic to classes
Hello, Zimbatm suggested the best way to push a patch into camping was to take my case to the people. So here it is. If you want to jump straight to the patch: http://code.whytheluckystiff.net/camping/ticket/117 Goal: Move the logic in the camping command line launcher into several classes Why? In the next version of parasite (http://parasite.rubyforge.org) I''d like to take over several of the standard Rails script/* tools. For example, script/sever and script/console. Ca...
2006 Mar 04
1
How to install Markaby as a Rails plug-in
After many hours of messing around and researching... I''m still unable to get why''s Markaby installed as a Rails plug-in. The command below is what I keep seeing everywhere: ruby script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk It seems like code.whytheluckystiff.net isn''t responding... Maybe I''m missing something... :) Is there an alternative way of getting this installed? I''m eager to give Markaby a run through. Thanks! -- Adam C. Bair adambair@gmail.com ------------...
2006 Mar 27
5
RedCloth and Rails
Has anyone had any experience with RedCloth for rails. It is a textile system. I haven''t spot checked the code and was wondering if it caused any lockups or other issues. http://whytheluckystiff.net/ruby/redcloth/ -- Berlin Brown (ramaza3 on freenode) http://www.newspiritcompany.com also checkout alpha version of botverse: http://www.newspiritcompany.com:8086/universe_home
2007 Jan 19
4
Rendering with erb
Hi, I thought it would be fun to try to write a render method that uses erb for rending. I''m not much of a programmer, but I still like to try: module Test require ''erb'' def render(m) ERB.new(IO.read("templates/layout.html")).result(binding) do ERB.new(IO.read("templates/#{m}.html")).result(binding) end end end This
2007 Oct 05
8
Cookie session handling?
Hi, I and a few folks on #camping thought it would be nice to have either cookie based or file based session handling. This would eliminate the need for creating a sessions table in the database (or a sequence), which feels too heavy for a lightweight framework like Camping anyway. Plus, we can more easily avoid nasty adapter errors. :) The general consensus was to create a separate
2006 Jul 18
4
intro
Hi !!! I''ve just seen this message on http://redhanded.hobix.com/inspect/theCampingServer.html I''d really like to see distributions offer a package which would allow simple setup of TheCampingServer, just as you see with PHP. If you''re interested in seeing this happen for the upcoming Camping 1.5 release, introduce yourself on the
2007 Nov 22
2
How many CRLFs between header and body?
...to tell where the headers end and the body begins). There''s clearly a bug here, but whether it''s with CGI on Apache or FastCGI on lighttpd or Camping''s handling of one or the other, I can''t say. Can anybody shed some light on the situation? [1]: <http://code.whytheluckystiff.net/camping/ticket/147> [2]: <http://code.whytheluckystiff.net/camping/changeset/224> [3]: <http://code.whytheluckystiff.net/camping/ticket/126> [4]: <http://www.apps.ietf.org/rfc/rfc2616.html#sec-6> [5]: <http://hoohoo.ncsa.uiuc.edu/cgi/out.html> [6]: <http://www.fast...