Displaying 20 results from an estimated 3000 matches similar to: "Dropping Root"
2007 Jan 06
4
? camping apps in gems
So would you like this:
$ wget http://rubyforge.org/gems/junebug-0.0.18.gem
$ camping junebug-0.0.18.gem
Or should it be:
$ gem install junebug
$ touch junebug.gemcamp
$ camping junebug.gemcamp
_why
2008 Jun 03
8
@@state_secret
I was having some issue getting the class variables in
Camping::Session to work with some old apps, so I''ve changed
@@state_secret to a method.
module Blog
include Camping::Session
def state_secret; "kxxxx" end
end
Also, merged some of zimbatm''s patches. And trying to revive the
Junebug wiki <http://github.com/why/junebug> since it''s still
2007 Jan 22
4
Postamble vs campingrc
Hi,
Should I be able to use the Webrick postamble instead of using
.campingrc, to tell Camping I want to use mysql? It doesn''t seem to
be working for me. It does work however, when I''m using FastCGI
(establish_connection :adapter => ''mysql'').
James
2007 Apr 25
6
Running something periodically.
Suppose, for a moment, that I have a Camping app. It looks at
something, like an RSS feed of upcoming events, and displays them if
they meet a specified criterion. I look at the index page, it fetches
the feed items and then displays them. Yay. Maybe it also writes them
to a database.
Which is great, so long as I keep looking at the page every so often.
But what do I do while I''m
2008 Jan 14
5
junebugwiki error on startup
Recently I had to restart my Junebug wiki and I''m receiving this error:
/usr/lib/ruby/gems/1.8/gems/junebug-0.0.18/lib/junebug.rb:4: undefined
method `require_gem'' for main:Object (NoMethodError)
from
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.9/lib/daemons/application.rb:159:in
`load''
from
2007 Apr 29
1
URL question
Well, this is more of an apache question, but...
I''m running a nice little ''cluster'' of camping apps and I''ve recently
started proxying them through apache with mod_proxy, since I found I
was forwarding a lot of ports via ssh otherwise. But anyway, enough of
that.
One of the apps I use to view logs from IRC (with formatting and
highlighting!). But
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
2008 Jun 06
2
Messy Cookies
It looks like everyone has tried to fix the cookies lately, and no-one managed
to get it 100% correctly.
The current implementation doesn''t set the path correctly, and you can''t use
@cookies in a #service-overload.
Qwzybug''s patch fixed only the sessions.
Jenna''s patch won''t allow to set complex cookies (@cookies.key = {:path =>
"/path",
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on
Textdrive to no avail.
Right now I''m getting a 500 error when I go to the site, and it spits this
out (from lightty after i restart it and make a request to the app):
(eval):13:in `initialize'': undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from
2006 Nov 14
11
RESTful mixin, mixin repo?
Hi,
I just put together a little mixin to provide pseudo-RESTful services
in camping apps. Basically, it looks for a hidden _verb field in form
posts, and sets the @method to the supplied value (e.g. put or delete
- which browsers don''t support). This lets you define put and delete
methods in your controllers. Groovy.
Code:
http://pastie.caboo.se/22613
Is there any permanent repo of
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are
2007 Jan 26
10
Camping and DBI
Hi,
I''ve been playing around with using DBI instead of ActiveRecord ''cause
I just love to beat myself up! ;) Is this an okay way to do this, or
is there any other more creative ways?
require ''dbi''
module MyApp:Models
class DB
def self.dbh
DBI.connect(''DBI:Mysql:dbname'', ''username'',
2007 Jan 10
2
Dream Ledger
Hello Fellow Campers,
I''m feeling crazy tonight and thought I''d go ahead and announce my new
little project riding on the Camping framework: Dream Ledger
(http://www.dreamledger.com).
The app was written to scratch a personal itch, which is the simple
fact that I wanted an easy way to record my nightly dreams and sleep
experiences. Think about it as ''dream
2008 May 15
3
Squatting
Hey Campers,
I liked Camping so much that I had to "port" it to Perl. My framework is
called Squatting (as in http://en.wikipedia.org/wiki/Squatting), and you can
get it from the following places:
http://search.cpan.org/dist/Squatting/
http://github.com/beppu/squatting/tree/master
It''s not a straight port of the Camping code, because Camping uses some
weird Ruby idioms that
2008 Mar 12
6
Are we ready for a release ?
Hi campers,
what do you think of releasing the current trunk as camping-1.6 ?
Nothing much has moved since a while and apart from FastCGI, I believe
most bugs where ironed out.
After the gem release, I propose putting some effort on documentation
and how to use Rack''s FastCGI. When that''s done, we''ll have a
Rubyforge announcement and such.
/me is waiting for community
2007 Dec 31
2
point release?
Hello Esteemed Tent-pitchers,
Can we get a point release of the current camping trunk? 1.5.1 maybe?
I don''t know how stable trunk is, but there are lots of bugs that
would be nice to get resolved. Particularly the ones involving the
incorrect creation of the sessions table.
Evan
--
Evan Weaver
Cloudburst, LLC
2013 Jan 02
8
Apache Passenger and Reloader
Hi Guys,
I just started playing with camping and so far it''s pretty awesomo.
After much messing around I was finally able to get Apache Passenger,
Camping and ActiveRecord to PostgreSQL working.
One thing I was wondering about, can I use reloader with Apache Passenger?
Always having to touch/rm a tmp/restart.txt to see changes or reloading
apache altogether is kinda a pain and I was
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers!
Is it just me or does Camping init the session twice on a redirect?
If I have an app and when the user visits it for the first time, a
session is generated. Afterwards I redirect the user in a service
(that basically does auth) and he gets bounced to the login page -
but when I arrive at the login page my SID somehow has changed :-( so
there is a stale session dangling
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping
1.4.143
anyone using Apache/FastCGI in here?
does not seems to be possible to use with Camping.
anyone got better luck?
this is my postamble
if __FILE__ == $0
Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''examples.db''
Blog::Models::Base.logger =
2007 Aug 08
1
Rv 3 released, with cluster support
Hey Campers,
Ditch that pup-tent for Camping deployment. Maybe. Either way, drive
around in Rv 3, newly released *right at this moment*.
Rv
A little init.d system for running Camping apps, for Linux.
Features
* cluster support
* custom database configuration
* interactive setup tasks
* logging
Full documentation and instructions at: