Displaying 20 results from an estimated 10000 matches similar to: "FileUtils copy not working when invoked by webserver"
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the
instructions from hivelogic. I think I''ve found a bug with
EdgeRails, but I''m not sure how to submit it (and maybe I''m doing
something wrong and someone can just point me in the right
direction). Anyway I thought I''d report it just in case it is a bug.
I''ve downloaded
2006 Jun 19
0
FileUtils/ActiveRecord help please?
Does anybody know how to make FileUtils and ActiveRecord coexist? Every
attempt I have made results in errors like those quoted below.
[belladonna-grr] ~ <0> irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''fileutils''
=> true
irb(main):003:0> include FileUtils
=> Object
irb(main):004:0> require_gem
2009 Sep 15
1
Strange error no idea -fileutils.rbThumbs.db (Errno::EACCES)
I can not find a single post on this but trying to start mongrel_rails
after closing it down I get the strangest error I have ever seen.
Nothing on Google anywhere at all - please can somebody give some
expertise?
D:\2_Rails_WWW\rails_apps\footballstars>mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
2004 Aug 06
1
can't compile ices 2 on ppc
I've tried everything I know how (and a lot I don't) to get
ices to compile on this beige G3 ppc box. I've got the latest
cvs of libshout and ices.
Gentoo linux ppc 1.2-r1, from stage3 tarball.
gcc 2.95.3
I've made sure that libshout points to libshout.so.2.0.2.
Don't know what else to try.
I've got the box here, and I've port-forwarded through
my firewall to
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 Jul 11
0
stuck with permissions in using FileUtils
Even if I am using PaperClip & Delayed_job, I guess the issue maybe
solved by FileUtisl gurus ...
here is the case :
I am testing a delayed video format transcoding , transcoding works
perfectly but I get an issue -trying to write back the transcoded
video from a tmp directory into the PaperClip path
the original uploaded video file is stored into the :url => "/system/
2005 Jul 18
0
CESA-2005:470-04: Low CentOS 2 i386 fileutils bug fix update
The following errata for CentOS-2 have been built and uploaded to the
centos mirror:
RHBA-2005:470-04 fileutils bug fix update
Files available:
fileutils-4.1-10.9.i386.rpm
More details are available from the RedHat web site at
https://rhn.redhat.com/errata/rh21as-errata.html
The easy way to make sure you are up to date with all the latest patches
is to run:
# yum update
--
John Newbigin
2014 Jan 19
0
gem install fileutils error
Hello Guys
I'm new in Ruby
so I'm now trying to install fileutils by using the command [ gem
install fileutils ]
note: I'm using windows 7 :(
always when i trying to install it i got this error
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... *** extconf.rb failed ***
Could not create Makefile due to some
2009 Oct 03
2
Looking for a good resource on open-uri and FileUtils
Hi all,
I''m needing to extend the Paperclip Storage module to handle external
URL''s so that I can upload my doc''s/images to an external source rather
than the app''s local file system.
The FileSystem module reads
module Filesystem
def self.extended base
end
def exists?(style = default_style)
if original_filename
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
2010 Jan 03
3
Tiny webserver to run as root
Hi all
Does anyone have a suggestion for some software, a tiny webserver that is able to run as root and execute CGI scripts? It should be smaller than apache and preferably even smaller than lighttpd. It doesn't need a whole lot of features, it only needs to be able to execute CGI scripts.
I have tried a few: nanoweb (which is written in php as well) but has some problems with CGI scripts
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody
I am trying to get RoR to work with lighttpd.
Nearly there, but I am stuck with a strange phenomenon.
If I configure lighttpd to serve pages on say port 2000, I can get at my
testapp fine and see the "Welcome aboard" page.
However, if I configure lighttpd to use port 80, I get a download prompt
from my browser.
If I access my URI like
2009 Sep 09
0
Getting started with Rake - how do I copy a directory of assets to RAILS_ROOT + "/public"
I am just getting started with Rake. I am trying to create a rake task
from within a rails plugin to copy some asset files (inside /assets in
my plugin folder) to my rails application /public folder.
How can I achieve this?
I am not sure whether to use FileUtils or File. Where AM I in rake
terms. No matter what I do it keeps saying it can''t find the file. Do
I need to use File.join or is
2018 Oct 29
2
Should Icecast send the "Connection: close" header?
I'm accessing a server using Icecast 2.4.0. It is streamed using HTTP 1.1 using the Transfer-Encoding: chunked - so far so good. The issue is that the HTTP library I'm using uses connection pooling by default and attempts to re-use connections if the server does not send the "Connection: close" header. As part of that re-use, when you end a request/response cycle, it tries to
2016 Aug 08
0
[Bug 12132] New: Error on attributes when directory read-only
https://bugzilla.samba.org/show_bug.cgi?id=12132
Bug ID: 12132
Summary: Error on attributes when directory read-only
Product: rsync
Version: 3.1.2
Hardware: All
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
2018 Oct 29
0
Should Icecast send the "Connection: close" header?
Good afternoon,
On Mon, 2018-10-29 at 13:48 -0400, Spencer Russell wrote:
> I'm accessing a server using Icecast 2.4.0. It is streamed using HTTP
> 1.1 using the Transfer-Encoding: chunked - so far so good.
I feel like I need to clarify a few things here:
* Icecast 2.4.0 does not implement HTTP/1.1 but HTTP/1.0, which it
correctly tells in it's response status lines.
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
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
Hello,
I did a seemingly smooth install of ferret, but when I try to add it to
my model, I get an error.
My info:
My rails site: shelikes (a restaurant review site)
My controller: Display
My model: Review
My only line of code added for ferret is:
class Review < ActiveRecord::Base
acts_as_ferret
...( more stuff not related )...
end
Below is the error information. Any thoughts on how
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
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