similar to: writing directories and files

Displaying 20 results from an estimated 10000 matches similar to: "writing directories and files"

2006 Jun 27
8
cookies
could someone help me with cookies. I need help setting them and using them for output and etc. thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jun 09
5
ssl and lightpdd
can you run a site with ssl on a computer on a router or do you need a dedicated ip for this? -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
4
sending emails
Hi, i am running a rails web application on freebsd. I am having troubles sending emails. i have this: ActionMailer::Base.server_settings = { :address => ''smtp.mydomain.com'', :domain => ''mydomain.com'', :port => 25, :user_name => ''user'', :password => ''password'', :authentication=>:login
2006 May 08
8
RSS Feed / xml.link problem?
I''m having an odd problem. I''m trying to create an RSS feed (working off the Recipe), but "xml.link" generates error about "Can''t convert Hash to String". From the error trace, it *looks* like it''s calling the a fileutil ''link'' method (as in, filesystem symbolic link) - even xml.tag! generates this error. Er, how do I make
2005 Aug 10
1
fileutil & tar utility RPMs on RHAS3.0
Hi, Please advice how to download utility for 'tar', 'cp' supporting RHAS3.0 RPMs listed in note 237997.1 are used for RHAS2.1 * Patch 2883583: fileutils-4.1-4.2.i386.rpm * Patch 2913284: tar-1.13.25-9.i386.rpm Best regards, Huy. == Nguyen Quang Huy Sr. Technical Sales Consultant Oracle Vietnam 53 Quang Trung St, Hanoi Email: quang.huy.nguyen@oracle.com Phone: +84 4 943 2595
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi, I was getting an odd error installing rails-3.0.0.beta3 on a fresh Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu 9.10 install, so I''m sure it isn''t something specific to the Ubuntu version (nor beta for that matter). This is the error: mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre Successfully installed activesupport-3.0.0.beta3
2007 Oct 01
2
[ win32utils-Bugs-14360 ] Bad interaction between win32-file-stat and FileUtils
Bugs item #14360, was opened at 2007-10-01 15:00 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=14360&group_id=85 Category: win32-file-stat Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Daniel Berger (djberg96) Assigned to: Nobody (None) Summary: Bad interaction between win32-file-stat and FileUtils Initial Comment: Ruby
2011 Dec 05
5
Spec'ing a block
Hi folks How would you spec something like this: as_user username do FileUtils.chmod_R 0755, "#{directory}/*" end Where as_user fires off a new process (and set uid to username). It seems that this won''t catch FileUtils.chmod_R: FileUtils.should_receive(:chmod_R).with(0755, "#{@domain.directory}/*") I guess that is because it is passed in the block
2007 May 30
4
aaf and dynamic attrs: a bug?
Hi! I faced some issue while using it for dynamic attrs indexing/search. Maybe I made something wrong. Here is test method. Everything works just fine until last line http://pastie.caboo.se/66274 . Tested on both stable and trunk of aaf and ferret 0.11.4. the short version of code below: Contact.acts_as_ferret :fields => [ :first_name ] assert
2006 Jun 09
8
[how can i delete a file system..please help]
Hi, I''m trying to delete a file system (<xml_26548975.xml>) File.delete("xml_26548975.xml") But I get this error: "Permission denied - ./script/../config/../uploads/xml_26548975.xml". Why? -- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but I''ve been having a terrible time trying to figure out an issue when using "update_attributes". I''m storing files on the file system rather than in a database. It seems that when "update_attributes" is called with a new file, upload_data= tries to copy a file that
2003 Feb 24
5
-bash: /bin/rm: Argument list too long
Folks: Is there a limit to the number of arguments that can be passed to fileutils programs such as mv or rm ? If yes, is it filesystem dependant/kernel config dependant/fileutils version dependant? Can this maximum limit be tuned/controlled ? I googled on it a bit, but couldn't find anything much more relevant than a message in the OS-X forum.
2006 Dec 03
1
File Upload Unix Only?
I tried the upload feature in merb 0.0.7 using http://localhost:4000/files I get the following: Permission denied - D:/Temp/Merb.5172.0 or E:/Dev/Ruby/merb-0.0.7/examples/sample_app/dist/public/files/foobar.jpg - (Errno::EACCES) C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `rename'' C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `mv'' C:/Ruby/lib/ruby/1.8/fileutils.rb:1379:in
2005 Nov 10
3
[ win32utils-Feature Requests-2811 ] Add UNC support to file / dir
Feature Requests item #2811, was opened at 2005-11-10 15:17 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=414&aid=2811&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: graham foster (fosterg2) Assigned to: Nobody (None) Summary: Add UNC support to file / dir Initial Comment: I''d like to see win32
2001 Aug 28
3
df not showing ext3 partition
Is there an updated version of the fileutils df that will show mounted ext3 partitions? I'm using fileutils-4.1. -- Curtis Hogg [buckminst@inconnu.isu.edu] ---------------------------------------------- T-shirt Of The Day: I'm the person your mother warned you about. ---------------------------------------------- Email 1 - buckminst@inconnu.isu.edu Email 2 - buckminst@hotmail.com WWW -
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2 mongrels to start up reliably. This should be a pretty simple cluster, with just 2 instances running. My mongrel config (mongrel_cluster.yml) looks like: cwd: /deployment/installed/myapp/current log_file: log/mongrel.log port: "8000" environment: production address: 127.0.0.1 pid_file:
2006 Jun 05
1
file_column permissions
this is getting frustrating... i installed file_column without a hitch for the first time to just play around with. using the exact same steps as before, i try to use it with one of my actual applications, and i get "permission denied" errors. i figure there might be some conflict with my application so just for kicks i do the exact same thing i did the first time to test
2011 Jan 13
1
10.04 Ubuntu
Hi, Chauk-Mean and all - I have just ported everything to 10.04 ubuntu, and I am pleased to note that I was able to use prepackaged stuff almost everywhere. Yes, it was painful before I figured it out. :) I used apt-get to install ruby-1.8.7, all the wx libraries (including the dev header packages) I uninstalled the debian rubygems package completely and installed rubygems-1.4.1 from the
2006 Jun 14
2
Simple FileUtils question
Hi, I have a quick question. I am trying to create folders dinamically using FileUtils.mkdir, the problem is that if the folder already exist it gives me an error. Does anyone know if there are any options to mkdir that would let me overwrite the already existing directory? I just need to create a folder with the same name everytime. Any other solution you might suggest? Thanks. -- Posted
2007 Mar 09
10
Add the ability to ''eval'' ruby code in exec type?
Hi, Anyone think this is a good idea? I have found that there are some exec tasks that I am making that just shell out to ruby to do a one / two line script in the exec line, was thinking it would be nice to have an option for exec to tell it to just eval ruby code passed to it, e.g. exec { ''eval: code to evaluate'':, ... } I know Lane wants users to turn execs into new