Displaying 20 results from an estimated 10000 matches similar to: "mystery problem with svn post-commit script running rspec tests"
2005 Mar 01
2
Open3.popen3 oddity
Open3.popen3 returns the pid as well as the in, out, and err streams.
I thought only the streams were supposed to be returned.
Thanks
--
Nathaniel
<:((><
2005 Mar 01
5
Open3.popen3 bug
Running this program:
require ''win32/open3''
i, o, e, pid = Open3.popen3("c:/ruby/bin/ruby.exe -e\"sleep 10\"")
i.close
Gives this result:
C:\_co\source\build\web\temp>ruby t.rb
t.rb:5: [BUG] Segmentation fault
ruby 1.8.2 (2004-06-29) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
Feature Requests item #3502, was opened at 2006-02-08 10:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3502&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we
2006 Apr 16
3
[ win32utils-Patches-4121 ] Make it possible to read process exit status
Patches item #4121, was opened at 2006-04-16 12:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4121&group_id=85
Category: win32-open3
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Samuel Tesla (stesla)
Assigned to: Nobody (None)
Summary: Make it possible to read process exit status
Initial Comment:
The UNIX Open3 sets the
2006 May 29
3
[ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 16:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
Category: win32-open3
Group: Bug Fix
Status: Open
Resolution: None
Priority: 3
Submitted By: John-Mason Shackelford (jpshackelford)
Assigned to: Nobody (None)
Summary: [open3] set $? and return Process::Status with block call
Initial
2008 May 30
1
[ win32utils-Bugs-20455 ] win32-open3: crashes after 170 popen3 operations
Bugs item #20455, was opened at 2008-05-30 16:54
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=20455&group_id=85
Category: None
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-open3: crashes after 170 popen3 operations
Initial Comment:
OS: XP w/SP2
C:\Documents and
2008 Jan 16
2
Problem with win32-open3 and net-ping
Hi all,
I''m seeing strange behavior with net-ping on Windows, which uses
win32-open3 (Open3.popen3) behind the scenes.
Download (or checkout) net-ping and run this:
ruby -Ilib test\tc_pingexternal.rb
It looks like the test suite is running twice. What''s happening?
Thanks,
Dan
This communication is the property of Qwest and may contain confidential or
privileged
2006 Jan 24
5
simple formmail question
I have a few forms that I''d like users to fill out. The results of
the form will be sent to a few addresses.
What''s the least painless way to do this and keep everything DRY?
There''s no database involved. Ideally, I''d like to email the form
questions with the answers inline.
Seems like using ActionMailer and separate email views would be
overkill in this
2005 Sep 18
5
NameError: uninitialized constant Addres
I created some scaffolding for an Address model and an Addresses controller.
When running the functional tests for the addresses controller, I get
this exception: "NameError: uninitialized constant Addres"
The exception seems to start from this function:
def list
@address_pages, @addresses = paginate :address, :per_page => 10
end
I''m guessing pluralization bug?
2006 Jan 14
11
accessing models from migrations
Ok, so now Users need to be associated with Organizations. I''ve
created a migration and added a ''organization_id'' column to the users
table. I want the default organization_id to be the first
Organization. So I have :default => Organization.find(:first). But
it''s complaining about not being able to find the constant
''Organization''.
Any
2006 Feb 08
5
validates_acceptance_of + functional testing
I had to add a check box indicating that a user accepted certain terms
to a page. So, I put in a ''validates_acceptance_of :terms'' line into
the appropriate model and added a checkbox to my view. Everything
works as expected in my web browser.
However, my functional tests still pass and I didn''t add or change
anything to them. I was expecting to have to add another
2005 Mar 10
6
images from database + caching
Is the information in
http://wiki.rubyonrails.com/rails/show/HowtoUploadFiles on caching
images still the best way on how to cache images that are served from
the database?
I haven''t added time information to my image table yet, and the images
are sent after every single page view (even if it''s been downloaded
already).
Joe
2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
All of a sudden, I''m getting this error:
1) Error:
test_index(AccountControllerTest):
RuntimeError: The number of parameters does not match the number of
substitutions.
/home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/lib/action_controller/assertions.rb:92:in
`assert_redirected_to''
2006 Aug 21
3
strange problem with system call
Hi,
I am using backgroundrb to create a automated system of typo blogs.So, users
can create new typo applications using web interface and all that jazz.
Now..its working perfectly except one minor glitch. Since latest version of
typo has a command called "typo", i simply use that command to install new
typo app.And it works.
def do_work(args)
DIR =
2005 Mar 09
16
rails on low memory vps
Anyone got any tips for running Rails (w/ either webrick or
lighttpd/fcgi) on a VPS with a pretty small amount of memory (like
64MB memory and 64MB swap).
Thanks,
Joe
2011 Aug 12
16
Rack content-length Rack::Lint::LintErrors errors with unicorn
Has anyone seen anything like this before? I can get it to happen all
the time if I issue a HEAD request, but it only happens very
intermittently on GET requests.
I''m using Ruby 1.9.2p180.
Any ideas on where to start debugging?
204.93.223.151, 10.195.114.81 - - [11/Aug/2011 21:03:50] "GET /
HTTP/1.0" 200 37902 0.5316
app error: Content-Length header was 37902, but should be
2007 Sep 28
6
Couple questions about backgroundrb
So, what''s the status of this project? I''m a little confused. The
documentation at http://backgroundrb.rubyforge.org seems out of date.
It refers to http://svn.devjavu.com/backgroundrb/tags/release-0.2.1,
which doesn''t work.
All I want is a way to easily set up tasks that should run
periodically. Some stuff should run every 10 seconds, some stuff once
a day, etc.
2006 Mar 15
10
Question on hardware for site
For a medium-sized website, does one machine for database server
(either mysql or postgres) and another for the web server (lighttpd)
sound ok? How much traffic could I expect to handle? (I know it
depends on the application, but some rough estimates would be nice)
Joe
2006 Jun 29
6
adding a before_filter to static content
Hi,
I have a Rails site that uses a before_filter in the application
controller that does some authentication and authorization work.
I also have a bunch of HTML in folders in the application''s public directory.
Before a user can view anything in the public directory, I''d like to
authenticate them. How could I do that?
I''m using mongrel, if it matters.
Thanks,
Joe
2005 Mar 16
6
caches_page problem
I''m currently caches_page the show method in my Image controller. The
show method looks at @params[''id''] to determine what output should be
generated.
The first time I access the method, say with
http://localhost/public/image/show/1.jpg, the appropriate directories
get created in /public (i.e. public/image/show/1.jpg). However, when
I try to retrieve