similar to: PHP ob_start in Ruby

Displaying 20 results from an estimated 300 matches similar to: "PHP ob_start in Ruby"

2005 Mar 21
3
routes.rb question.
I have a simple program that read all HTML files from a directory and returns parts of the content and the file names which are HREFs to those file. I build the HREF string dynamicaly as PATH_TO_DOC_ROOT + "file_name". My PATH_TO_DOC_ROOT = http://127.0.0.1:3000/docman/public/docs. So, the final link that I am interested in might look like this:
2006 May 05
6
rake rails:update
This question has been asked before, but I am still can''t run rake rails:update. I get rake aborted! Don''t know how to build task ''rails:update'' My environment: FC4, Ruby 1.8.4, Rails 1.1 Any idea what to do? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Mar 06
3
crashing on receiving connection
Hello, I got trouble installing tinc daemon. Every time when a connection comes in, the daemon crashes: Mar 6 18:32:56 localhost tinc.vpn[20703]: tincd 1.0pre3 (Feb 21 2001 02:32:50) starting, debug level 5 Mar 6 18:32:56 localhost tinc.vpn[20703]: Ready: listening on port 655 Mar 6 18:33:00 localhost tinc.vpn[20703]: Connection from 192.168.0.4 port 1135 Mar 6 18:33:00 localhost
2006 Aug 15
8
AGAIN: file object treated as string
I am trying to implement the uploading of a file to a remote server I get error while trying to write the file on the server. The error I get is the following: undefined method `rewind'' for #<String:0x2aaaad062eb8> It seems to be treating my file as a string instead of a File object. --------- Code is below ------------------ VIEW: <%=
2001 Sep 08
5
Patch
Hallo short question how is the Syntax for interactivity.patch ext3-dir-speedup.patch ? patch -p0 ext3-dir-speedup.patch doesnt work -- Frank
2005 Aug 12
4
Adding machine to domain fails - check permissions? (ldap)
Dear list, Whe i trying to add a machine to the domain(ldap/pdc) i get the following error: > Error: modifications require authentication at > /usr/share/perl5/smbldap_tools.pm line 891, <DATA> line 283. > [2005/08/11 16:46:54, 0] > rpc_server/srv_samr_nt.c:_samr_create_user(2324) > _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w >
2002 Nov 20
4
SNAT based on MAC before routing
Hi gurus, I need a way to do SNAT based on source mac before routing. This is because hosts attached to my gateway can have duplicate IP addresses, and I have to distinguish over them. I tried to use the nat tool that comes with iproute2, but this force to make a mapping only address to address, and I wanted to do it by mark (I also use iptables to do that). For example, I tried to
2005 Mar 10
2
NoMethodError in Event_type#create
I am new Ruby on Rails, so excuse me if my question seems pretty obvious. I am trying to validate uniqueness of a filed: class EventType < ActiveRecord::Base belongs_to :sport validates_uniqueness_of :event_type end When I run it, I get this error message: Showing /event_type/new.rhtml where line #27 raised undefined method `each'' for nil:NilClass <select
2004 Jan 30
2
Multihome routing question
Hello, I am new to network routing and I need help configuring a linux box with two ethernet cards. In this case it''s a Linux RH 7.3 box, in a cabinet that already has a couple of Windows servers. The Windows server routing is below as an example. The Linux box has an out-of-band interface at 10.130.36.38 and a public eth at 62.50.8.84. I had to add a route for the private interface so
2006 Feb 01
2
supermicro server model
Hi Guys, Im planning to purchase Supermicro server but I dont have idea what Motherboard and chipset model will work with TE406P.I read one post here that the chipset should be Intel E7520.Is it true?Is there other recommendation?My requirement by the way is to handle 1000 simultaneous calls. Does dualcore xeon (single cpu) and 2gig memory can handle this w/o
2001 Sep 22
7
FS locks
Hello, unfortunately I got some trouble using ext3 - the system hangs when working in a certain directory. Not completely, I can switch between consoles and reboot with SysRQ, but cannot do anything which requires disk IO: not start any applications, not umount, nothing. I could send the strace output, but I don't think this would help anyone. Sorry, but I don't have a clue where to start
2001 May 25
4
tinc 1.0pre4 released
Hello everybody, I have just released tinc 1.0pre4. Changes: - New authentication protocol (better security, and faster too). - TCPonly and IndirectData are back (but not fully tested). - Documentation revised, it's really up to date with the released package now. - tincd -K now stores public/private keys in PEM format, but keys of 1.0pre3 can still be used. - Faster and more secure
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed: http://feeds.feedburner.com/Mobilecrunch I get an error: REXML::ParseException: Declarations can only occur in the doctype declaration. This feed does validate at feedvalidator.org. Any idea why it would raise an exception? Thanks, eduard -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Jul 26
1
theora_info struct question
Hi I'm evaluating Theora for a video communication system and would like some info as to what the following struct members (from the theora_info structure) do and what values one should pass to them: If there is some documentation somewhere that I've missed, please direct me to it. ===== Extract from theora.h ===== int quality; int quick_p; /* quick encode/decode */
2001 Sep 11
2
Best version for packaging
Hello, I packaged the old ext3 patch for Debian, and now I would like to create a patch-package of the current version for kernel 2.4.9. I consider to include Theodore's ext2 and ext3 readdir speedup patches and modify the 0.9.9 patch as needed to apply it on kernel 2.4.9. Does anyone (except of me) use all this parts together and report them to be stable enough? Gruss/Regards, Eduard. --
2009 Dec 14
2
Connect to internet
Hi, I have a new workstation and am in the process of moving all my work onto it. I have also installed R 2.10.0 on the new machine. I remember changing my R settings of my old machine (R 2.9.1) to connect to the internet, but I can't remember exactly how. I have tried Sys.getenv(), but it does not give me the proxy settings I would need to finish the setup of my new machine. Does anyone
2001 Aug 20
2
tytso's readdir speedup patch - adoptable?
Hello, recently Theodory Tso posted a patch for the ext2fs driver, which improves speed of find and similar programs. Background: the application access all entries in the directory in the order they are stored on the disk. The current ext2 (and apparently Ext3) run a lookup function for each readdir call, starting with the first node! Theodore stores a refference to the node which was accessed
2006 Feb 01
2
TE411P or TE406P
Hi Guys, I need your recommendation which card to buy?The TE411P or TE406P do they have any difference?I check their brochures they are differ only when it comes to PCI slot voltages.Which card best to use?Btw,Il be using supermicro board with 3.3V and 5.5V?Will il be experiencing problem during the implementation later on if i choose the wrong PCI voltage options?Will it depends on
2005 Dec 25
2
SOAP Client Connections
I''m trying to connect to a SOAP interface using Rails and I''m running into a snag. I''m relatively new to Rails at this point and am in the very beginning stages of understanding how the system works. Currently I''m running into a error that looks like this: -------------------------------------------- Missing API definition file in apis/amazon_api.rb
2000 Sep 25
3
Out of file structures
Hi all, does anybody knows about the following Error ?!??! [2000/09/25 17:40:55, 0] smbd/files.c:file_new(85) ERROR! Out of file structures seems to be the max open files problem, am I right ? We did a research in some news and usergroups and in some answers it was mentioned, to compile samba with the sfio package to avoid using the select(3). Is that right ? Does anybody has any