Displaying 20 results from an estimated 9000 matches similar to: "Simulate HTTP put and delete in Camping/SleepingBag"
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody,
I would like to use ruby2ruby in a caming project, but there seems to
be an incompatibility with camping, ruby2ruby and markaby.
Unfortunately I receive strange Markaby::InvalidXhtmlErrors.
To demonstrate, that only combination of all three components causes
the problem I added the following code. I relies on Markaby and
ruby2ruby only and works fine (a.k.a. as expected).
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
2007 Sep 12
14
screenshots & wxruby apps
Hi
I''ve added a page to the wiki to show some screenshots opf the wxRuby
samples:
http://wxruby.rubyforge.org/wiki/wiki.pl?ScreenShots
I''d like to get some screenshots for OS X to add to this, if anyone
could supply them please. It would be nice to show the minimal sample
for all three platforms, plus perhaps some of the ones that aren''t
included there.
Also if
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 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 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 Nov 06
4
help on helper module inclusion/extension
I want to include helper methods included to my Camping App from by
requiring an external file but I can''t seem to include helpers from
another module.
module CampingHelpers
def self.included(base)
base::Helpers.send(:include, Helpers)
end
module Helpers
def show_test
p "test"
end
end
end
Camping.goes :CampingApp
...
module
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
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 20
1
Camping on Media Temple?
I''m getting into camping in a big way--I love that you can put
together full-fledged apps with so little code and overhead.
Does anyone know of any documentation about getting Camping apps
running on Media Temple''s GridServer? Of course I''ve found the
Camping server page[1], but I can''t work out how to associate running
camping apps with a (sub)domain
2006 Dec 11
1
Using Rails Plugins with Camping
I just picked up Camping and I''m currently reviewing every little
tidbit of information I can find out about it.
I really liked the simplicity of RubyOnRails, but sometimes you want
something fast and everything is relative. After looking at Camping,
RubyOnRails seems like a lot of work if you just want to test out a
prototype of a small web app.
One thing I do miss are all the