Displaying 20 results from an estimated 3000 matches similar to: "Camping and DBI"
2007 Feb 11
2
"no camping required" deployment?
Hi,
So Lennon got me going with my database-less Camping app,
but I''ve just realized that, I have no deployment strategy.
This app is to provide a GUI front end to our FUN3D fluid
flow simulation monster, which is used by ourselves, companies,
universities, hobbyists, and the military. The end result
of which, is a file of (key, value) pairs read by FUN3D.
Requiring our users to have
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 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 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
2007 Feb 09
2
a series of tabbed forms
Hi,
I''ve previously described one of my wish list items,
http://kleb.tadalist.com/lists/public/427170
in
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/217068
where I basically take a hash of hashes and create
a set of tabbed dialogs for each key of the large hash
where each tab has a form to set each key-value pair
of the embedded hashes.
Toward this end I looked
2007 Sep 28
9
PUT (and friends) bug?
As far as I can tell, sending an actual HTTP PUT request to a Camping
app will never parse the params out of the request body - or am I
going nuts? This code seems to say only POST''s will parse the request
body:
elsif @method == "post" and \
e.CONTENT_TYPE == "application/x-www-form-urlencoded"
q.u(C.qsp(@in.read))
end
I looked for an easy spot to stick
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
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 Apr 28
6
RESTful web service tutorial?
Hi,
I would like to turn some of our simulation codes
out to pasture and string some of them together
by draping them in web services.
I''m looking for a RESTful Camping tutorial to get
started ... pointers appreciated.
Some simple example applications:
airfoil force calculator: feed it an airfoil
geometry, an angle of attack, and a Mach number,
and it returns the lift, drag, and
2006 May 31
3
Camping and Builder and XML
Hi,
I have built a simple Camping application which indexes an ODBC
datasource using Ferret on startup, then accepts search strings and
renders the resulting hit list in HTML, and it works quite nicely.
The next step was to alternately render the list in XML for consumption
by another application. In Rails, I would simply use Builder in the view
to get the job done, and so I did the same in
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
2007 Mar 28
3
Camping on Dreamhost - Please Help!
Dan
did you get camping running on dreamhost already??
i?m trying to run it also but i haven''t succeed yet. it runs on
command line but when i add the rewrite rules on .htaccess i get a
internal server error.
I emailed support to ask about ScriptAlias and they say they cannot
change or add that to apache conf.
--
Andr? G. Cardozo
2006 Jul 25
3
[UHH] any blogs sprung from camping?
Hal Fulton has been e-mailing me about putting together a simple blogging
package for Camping. Perhaps start with the blog in the examples and add a few
things. Does anyone here want to collaborate with him? Or do any of you have
your own works to offer?
He''s mentioned he wants something with its own template syntax, but I think he
could hack that in.
_why
2007 Feb 27
5
Camping on Dreamhost - Please Help!
Hi Folks,
I''ve been trying to get camping up and running on dreamhost for the
past six hours, but have had no success. I''d really appreciate any
suggestions!
The camping gem is on the dreamhost server, but just to make sure it
wasn''t a dependency issue causing all the problems, I installed
camping + the full set of dependencies in my own gem directory (both
are on the
2007 May 10
3
Camping and Threads!
Hey Everybody!
I was wondering if/how Camping can process more than one request at
once (i.e. not what Rails does). I''m fairly new to threads, and I
bought a book, and read some of it, and dived into the Camping source...
I found some thread stuff but I''m not... entirely sure. So I thought
I would ask!
RYan.
http://yeahnah.org/
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
2009 Nov 03
2
Camping on Wikipedia
Hi all
I found the Camping page on Wikipedia in need of some serious TLC, so
I updated it, added some newer links and removed the ''stub'' status:
http://en.wikipedia.org/wiki/Camping_%28microframework%29
I also pointed people to the Github repo for version 1.9.
Please take a look and either make suggestions for further material
for me to add (not too much...
2012 Apr 06
1
lighttpd + fastcgi + camping
Hello all,
I am running in some little stumbling blocks with passenger as a multi user
environment (the most problematic feature is that, once you setup a
sub-domain passenger wants you to declare on nginx every app running on
that nginx server which is not ideal to add apps on the fly and / or if a
user wants to run 2 apps from his space)
so I was thinking about a more drag a drop / one line
2009 Mar 29
5
Rack::Lint::LintError with latest camping and rack
I''m trying to use Camping from Magnus'' repo (1.9.300) but running the
blog.rb example (or anything for that matter) gives me
Rack::Lint::LintError at /
Content-Length header was 0, but should be 548
Ruby C:/ruby-1.8.7/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/lint.rb:
in assert, line 16
Web GET localhost/
There are no errors on the camping output so I suspect something has
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks,
I''m deploying a camping app on an internal Apache2 + FastCGI server at my
office. Of course, on my Mac it works great, but I can''t get things to work
with Apache and FCGI. I''ve followed the directions on why''s page
documenting how to do this, but I''m getting the following error in my Apache
error.log file:
FastCGI: (dynamic) server