Displaying 20 results from an estimated 1200 matches similar to: "Error in executing "ruby script/server""
2006 Jul 24
3
0.9.0 Version of Gem installation problem?
Hi all. I have installed latest INSTANT RAILS i.e 1.3
When i run the following command:
c:\instantRails\ruby\bin>gem -v
it returns
0.8.11
I want it to be 0.9.0. I have downloaded gems 0.9.0 but i dont know how to
place them and where so that i get the latest version of gems. Please help
me out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 24
1
Version of gem
Hi all, I am following this tutorial:
http://allaboutruby.wordpress.com/2006/01/09/installing-rails-on-windows-step-by-step-tutorial/
The problem is that i have an older version of gem. I think I have
downloaded the latest version of gem. 0.8.11. But I dont know where to place
and how to use it? When i am running the following command:
*c:\ruby>bin>gem install rails
2006 Jul 24
1
Gems Problem -- no Metadata found
I am using INSTANT RAILS. I got the following error. Please help me asap. I
need it urgent
C:\InstantRails\ruby\bin>gem -v
0.9.0
C:\InstantRails\ruby\bin>gem install rails --include-dependencies
*ERROR: Error installing gem rails[.gem]: No metadata found!*
**
*I am quite hopeful Gurus of Rails Will help me to jort down this problem.
Thanks*
<Rails@lists.rubyonrails.org>
2007 Oct 24
28
random cpu spikes, EBADF errors
In May I had problem with mongrels suddenly consuming huge cpu resources for
a minute or two and then returning to normal (load average spikes up
to 3.8and then back down to a regular
0.2 over the course of 5 minutes, then again 1/2 hour later. or 4 hours
later, no predictable rhythm).
I posted to Litespeed forums because I thought the problem was there but
didn''t get far. And a week
2006 Sep 23
6
Connection to backgroundrb is lost when exiting action method
Hey.
I have a very annoying problem, and was wondering what is wrong.
Suppose I have backgroundrb running, and then I have an action in some
controller. In the action I define a worker. When leaving the action,
suddenly the connection to backgroundrb is lost:
DRb URI: druby://localhost:22222
Pid: 3976
Autostart...
done
druby://localhost:42531 - #<Errno::EBADF: Bad file descriptor -
2006 Apr 17
2
Can I catch something like Errno::EBADF with rescue?
All,
I am using Net::HTTP to make requests for URLs in my app. When I get a
bad server, I get "Bad file descriptor - connect(2)" message on a
ERRNO:EBADF error.
Can I catch with rescue or otherwise gracefully react to that error?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2008 Jan 04
13
Unable to delete epoll event
I occasionally get a fatal error
unable to delete epoll event: Bad file descriptor
I think the attached patch will fix it.
The patch does two things:
1) changes the error we look for from ENOENT to EBADF. It is hard to
reproduce this error, but if I change the epoll_ctl line to
epoll_ctl(epfd, EPOLL_CTL_DEL, 666, ed->GetEpollEvent());
it does return -1 with errno = EBADF on my Linux 2.6.9
2003 Oct 01
2
smbmount not exiting
The following scriptlet, containing a wrong password among the
mount options,
#!/bin/bash
/bin/mount -t smbfs -o \
"netbiosname=mymachine,workgroup=group,username=user, \
password=wrongpasswd,ro,debug=4" //machine/c /mnt/dir
/bin/echo "Exit $?"
returns invariably
mount.smbfs started (version 2.2.7a-security-rollup-fix)
added interface ip=192.168.0.53
2007 Dec 20
2
0.24.0 won''t start
Hi,
I am having a problem where puppetd won''t start on one of my RHEL 5
machines with the --listen option enabled. 0.23.2 seems to run fine but
0.24.0 dies leaving the pid file still there.
I installed puppet using the latest gem from reductive labs. It works
fine on what is meant to be an identical system.
I tried running strace and it seems to exit after trying to write to a
bad
2008 Apr 16
1
File descriptor passing broken in FreeBSD 7?
Hi,
I recently tried to use the newly released mod_rails
(www.modrails.com) for Apache, and discovered it doesn't work on
FreeBSD 7. It does however work on FreeBSD 6 just fine.
I tracked it down to sendmsg() as detailed here:
http://code.google.com/p/phusion-passenger/issues/detail?id=16
The mod_rails/passenger unit tests fail on FD passing, as do the Ruby
1.8.6 standard unit
2001 Jan 08
2
fatal: PRNG initialisation failed
Heya,
I have compiled and installed OpenSSH on a Solaris/Sparc machine and
whenever I try to start any of the ssh programs I get
"fatal: PRNG initialisation failed -- exiting"
Now, I have looked through the mailing lists and have seen some mention
that this indicates it can't open the ssh_prng_cmds file, which
entropy.c also seems to indicate the problem is. However, this snippet
2006 Sep 07
12
Multiple (multiplexed) simultaneous ssh connections - Cygwin bug?
Hello,
?
I need to make many (>50) ssh connections from linux to cygwin at the same time. Using Windows 2000 Server (OpenSSH_4.3p2, OpenSSL 0.9.8b and updated cygwin) and Linux RHEL4 (OpenSSH_3.9p1, OpenSSL 0.9.7a).
?
It's been difficult to optimize many simultaneous connections. Here were some issues:
1.?????? On Windows XP/Professional, Microsoft intentionally cripples the TCP/IP stack.
2004 Aug 17
1
[Bug] LTP: mkdir fail after setreuid
For chdir03 investigation result:
The fail is caused by the mkdir fail after setreuid.
Key code in the test case:
if ((pid =3D fork()) < 0) {
tst_brkm(TBROK, cleanup, "first fork failed");
}
if (pid =3D=3D 0) { /* first child */
/* set the child's ID to ltpuser1 */
if (setreuid(ltpuser1->pw_uid,
2019 Oct 16
2
message error NT_STATUS_OBJECT_NAME_NOT_FOUND regulary in the log
Le 16/10/2019 ? 12:07, Rowland penny via samba a ?crit?:
> On 16/10/2019 10:59, nathalie ramat wrote:
>> ???????????? Checking file: /etc/samba/smb.conf
>>
>> # Global parameters
>> [global]
>> ?????? dns forwarder = 192.168.xx.230
> You cannot forward to the DC itself, it needs to be a dns server
> outside the AD dns domain.
>> ?????? netbios name =
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all!
I''m trying to deploy an application out to a subdomain at dreamhost. I am
getting the dreaded "Rails application failed to start properly" error. The
logs for my app are empty. In the DreamHost FTP app, when I look in the
error.log file (I''m guessing this the Apache error log file) I see the
following for each of my attempts:
[Sun Jul 16 12:36:32 2006]
2006 Aug 08
1
gem install/update errors
Greetings all,
I am a newbie to the Ruby world. I just installed Ruby and I am trying
to install rails, using gem install.
Since my local pc (OS --> Win2k) is behind a proxy server, the command
gem install fails.
===========
gem install rails
Result -->
ERROR: While executing gem ... (Errno::EBADF)
Bad file descriptor - connect(2)
===========
gem install rails -p
2012 Oct 02
3
[PATCH] chowning /dev/null should be guarded against
We''ve run into this problem several times and it''s not really expected
that someone is going to monkey with /dev/null. So here''s a simple patch.
I am not on the mailing list, so please Cc: me.
---
lib/unicorn/util.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb
index cde2563..6b6cca2 100644
---
2013 Oct 31
9
[Bug 2167] New: Connection remains when fork() fails.
https://bugzilla.mindrot.org/show_bug.cgi?id=2167
Bug ID: 2167
Summary: Connection remains when fork() fails.
Product: Portable OpenSSH
Version: 5.3p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2007 May 07
1
Mongrel and EBADF error consuming resources
In the last few weeks I''ve noticed the load average spiking up for 5
minutes at a time (2-3.5 on a system that usually runs around
0.5-1.5). Looking closer I found that one mongrel process and
litespeed are at the top, and using strace I''ve found that they''re
passing the file below, seems to get stuck on single file/EBADF error.
It happens with a number of different