Displaying 20 results from an estimated 2000 matches similar to: "upload_progress and DRb.start_service crashes"
2006 Sep 06
3
DRb error when using rails_spec on OS X
Hi, all-
I started playing with RSpec in a new Rails app. I''ve installed the
plugin and bootstrapped it, and run ''script/rails_spec_runner'' (not
rails_spec_server as the website currently reads, btw) in a separate
shell, then in another shell I run ''script/rails_spec'' and get the
following:
/usr/local/lib/ruby/1.8/drb/drb.rb:837:in
2006 Feb 09
2
breakpointer error
Hi,
I can''t get breakpointer to work on locomotive. Pretty sure it used to
work...
Any ideas??
Jeroen
jeroen$ ruby script/breakpointer
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:828:in
`getaddrinfo'': getaddrinfo: No address associated with nodename
(SocketError)
from
2006 Feb 02
3
breakpointer failing
Hey there,
I got a new workstation going on here an Intel iMac, and I''ve compiled
and installed everything with intel binaries. Everything works fine, I
even got that cool clever lighttpd script running
(http://www.bigbold.com/snippets/posts/show/303).
But the one thing that doesn''t work is breakpoints and the breakpointer script.
When I run script/breakpointer, I get the
2006 Dec 25
4
Definitive guide for upload progress
Hi
Is there some definitive guide for upload progress plugin ? We have in
this mailing list a lot of testimonials, bug reports, bug fixes, but
there are still people like me who cannot use it correctly.
Here is my config:
- mongrel 1.0RC and upload progress plugin 0.2.1
- a 6 mongrels cluster
- config/mongrel_upload_progress.conf:
uri "/",
:handler =>
2007 Mar 23
1
upload progress bar don''t work...please help
Hello,
I''m trying to install the upload_progress gem and i can''t see the upload
progress status.
My config is :
apache2 with mod_proxy
mongrel
rails
upload.rb : ##############
require ''rubygems''
require ''drb''
require ''gem_plugin''
GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to
run multiple rails apps on one dev machine that runs Windows. Problem is
that is seems that I can only run one scgi_service at a time, meaning
that only one of my apps will function at a time. Anyone know how I can
get around this, other than getting a *nix box (which I should have
soon, hopefully) ?
2006 Feb 17
2
HELP: Strange problem with breakpointer - stopped working
Hello,
I am in the middle of my first ROR project and suddently the
breakpointer script (./script/breakpointer) does allways return the
error listed below.
All time before it was working without problems - but the funny think, I
did not change anything on the system (despite downloading the Suse
Security Patches).
I am running:
Suse 9.3
Rails 1.00
Ruby 1.8.3
Please help, if you have any
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the
following error. I am using Centos 5.4. Can someone give me a clue?
>> rake db:migrate RAILS_ENV="production"
rake aborted!
getaddrinfo: Name or service not known
(See full trace by running task with --trace)
[current]$ rake db:migrate RAILS_ENV="production" --trace
** Invoke db:migrate (first_time)
**
2007 Dec 11
2
Mongrel not starting: `initialize_without_backlog'': Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL)
Hi
I have a rather strange problem with mongrel and I would be grateful if
anyone could assist me with resolving.
I have an application running mongrel 1.1.1 and rails 1.2.5 with ruby 1.8.6.
It was all working fine and starting as expected. But I did a server reboot
once and mongrel has refused to start up since. I get the following error:
2007 May 23
1
mongrel_cluster + mongrel_upload_progress + drb + capistrano + docs
I just got the mongrel_upload_progress set up with drb and the setup was
quick and easy, thanks to the good documentation on
http://mongrel.rubyforge.org/docs/upload_progress.html
I''d like to get this set up with capistrano, but there are 3 things I can''t
figure out:
- First, I can''t get lib/upload.rb to run in the background - I''m not
familiar with
2006 Oct 28
0
Problem starting up the drb server
Hi,
I''m rather new to backgrounDRb and DRb itself. I tried to run
backgrounDRb on my shared hosting site at Railsplayground.com using rake
backgroundrb:start and got this error:
/usr/local/lib/ruby/1.8/drb/drb.rb:862:in `initialize'': getaddrinfo:
Name or service not known (SocketError)
from /usr/local/lib/ruby/1.8/drb/drb.rb:862:in `open_server''
from
2008 May 30
3
Mongrel error since updating to OSX 10.5.3
Howdy, I''m getting an error message when trying to run one of my rails
apps, which seems to have started after updating to 10.5.3.
mattdaw-2:v1.5_patch mdaw$ mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
/usr/local/ruby-patched/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../
lib/mongrel/tcphack.rb:12:in
2006 Mar 20
2
breakpointer socket errors?
I''m not sure what has changed that could have caused this, but lately,
I''m unable to run the script/breakpointer script with my application.
The application is just loaded up as webrick like:
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-03-20 12:42:48] INFO WEBrick 1.3.1
2007 May 18
4
No return status from mongrel upload progress (and thus no updates on the bar)
Hi all,
I''m using Boxroom (http://boxroom.rubyforge.org/) and trying to get
upload progress working. I''ve also been testing the sample code at
http://itblog.mcgeecorp.com/2007/5/15/mongrel-upload-progress-demo/.
I run a Mongrel cluster, and so am using drb (as per
http://mongrel.rubyforge.org/docs/upload_progress.html). Starting up
rails, I get lots of useful-sounding output:
2006 Feb 11
7
Rails development on Mac OS X 10.4 Intel
Hi all,
I would like to start a thread on RoR related issues on the new Intel
version of Mac OS X. I have been using Apple''s new iMac Core Duo
(which comes with Intel version of Mac OS X) for about a week now.
Here''s my experience:
Ruby 1.8.4: It compiles albeit with many warnings. Most warnings
were about "differ in signedness". It seems to work okay
2006 Dec 27
6
file upload
I ma trying to get this upload working,
http://mongrel.rubyforge.org/docs/upload_progress.html,
....after starting from the command line,
mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf
I get this eror in the browser,
NameError
uninitialized constant UploadProgressRailsController
RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/..
Application Trace | Framework Trace
2007 Aug 09
2
RoR and DRb
Hi,
I have a question regarding RoR and DRb. First of all, I tested with
simple client/server examples and everything worked as expected. I have
the following lines in my environment.rb:
DRb.start_service
$rem_obj = DRbObject.new(nil, "druby://#{rname}:9001")
Since rem_obj is a global variable, I can call it from any controller
and the invoked procedure is run on the server.
However,
2007 Apr 09
1
Drb Connection error on multiple dispatch.fcgi ''s
Hi All,
I''m using Backgroundrb as a general purpose long-running-task back-end
(upload processing, email sending, etc), and it''s been a great solution.
However I''ve recently run into some some intermittent connection issues
that have me baffled. I''m running on apache2/fcgid and the problem
occurs in both devlopment and production mode. The problem seems to
2006 Jun 07
1
Using DRb within Rails
I want to use DRb within my Rails app. Right now I''ve got a very basic class:
class PaymentGateway
cattr_accessor :ssl_config, :host, :port
def self.gateway
@@gateway ||= new
end
def process(amount, card, type = :auth)
@biller.process(amount, card, type)
end
def set_card(user_id, number)
@biller.set_card(user_id, number)
end
protected
def initialize