similar to: Rubyzip gem installed but not recognised

Displaying 20 results from an estimated 1400 matches similar to: "Rubyzip gem installed but not recognised"

2011 Sep 21
4
rubyzip with Ruby 1.9.2 and Rails 3.1 - require 'zip/zip' fails
I''m trying to move my application from Rails 2.3.5 to Rails 3.1 which is a challenge. In my application, require ''zip/zip'' fails with ''no such file to load -- zip/zip gem list --local shows rubyzip (0.9.4) I see zip.rb in d:\ruby192\lib\ruby\gems\1.9.1\gems\rubyzip-0.9.4\lib\zip\ -- Posted via http://www.ruby-forum.com/. -- You received this message
2010 Oct 27
0
RubyZip Exceptions
Hi, I am wondering if there is a way of catching exceptions that are thrown within rubyzip.rb. For example: in rubyzip line 583, private def set_time(binaryDosDate, binaryDosTime) @time = Time.parse_binary_dos_format(binaryDosDate, binaryDosTime) rescue ArgumentError puts "Invalid date/time in zip entry" end I need to be able to ''catch'' the
2012 Jul 18
0
Zipping files contained in a dir (rubyzip)
hey so I''m trying to zip all the files contained in a directory (RubyZip). heres what I have: def bundle #create the ZIPfile with the title of (:id).zip bundle_filename = "public/attachments/#{self.id}/#{self.id}.zip" #open the ZIPfile in order to add items in Zip::ZipFile.open(bundle_filename, Zip::ZipFile::CREATE) { |zipfile|
2007 May 29
2
Stream rubyzip
I have a Rails app that needs to create a Zip archive of a folder and send it to the client''s browser for download. I have no need for the Zip file on disk, so ideally, the Zip is created and streamed "on the fly". Is this possible? If not, I''ll create a temp file and send that via xsendfile, but I''d rather avoid the extra (unnecessary) step if I could. --
2006 Aug 09
10
Is there QA on Rails gem releases?
The ActionMailer/ActionPack gem release is still screwed up. Does someone test the gem releases to ensure that they work? Just an idea. Wes -- Posted via http://www.ruby-forum.com/.
2009 Dec 06
9
Route error to Admin namespace
Hi. I have some apps that i have "admin" areas to the clients manager the app. This "admin" is a directory on my controllers path, like this: my_site --> app -->-->controllers -->-->-->admin And my controllers in "admin", i use the correct namespace(example for clients_controller): class Admin::ClientsController < AdminController Only doing
2006 Aug 09
0
Rails security update
I see there is a mandatory security update out for rails today (http://tinyurl.com/lvqjs), but I cannot get it to install on XP. Anyone having a similar experience? C:\ruby\bin>gem install rubyzip Attempting local installation of ''rubyzip'' Local gem file not found: rubyzip*.gem Attempting remote installation of ''rubyzip'' Successfully installed rubyzip-0.9.1
2007 Jul 09
1
Dir.glob does not find ".project"
Hi, I am trying to zip up my application folder using RubyZip. It works fine except for one glitch: There is a RadRails project file ".project" which does not get included. When I test Dir.glob("#{app_dir}/**/*) it does not return ".project" Is there some problem with filenames starting with "." (I am using Windows) Thanks George
2010 Oct 25
2
Fail to load spec/rake/spectask
Hi! I''m a newbie at Ruby. I''m trying to run rspec tests using rake. In my rake file I include spec/rake/spectask. It fails to load giving me the following message: rake aborted! no such file to load -- spec/rake/spectask C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'' I''m using version 1.8.7 of Ruby. I have installed rake
2009 Dec 08
3
invalid pointer in libxml xmlFreeNodeList
Hi, Not sure if there is a better place to post this. The libxml-ruby mailing list doesn''t have much activity. We are getting occasional errors on our production box, that I can''t duplicate in testing. It''s not even reproducible on the production box with the same inputs, but I''ve managed to track down (via a lot of print statements into the Apache
2007 Jun 07
1
Plugin installation similar to rails
Hey all, I''m considering including a plugin installation mechanism similar to the one available with the rails script/plugin command in the next major webgen version. There would be a repository index located on the webgen homepage, something like http://webgen.rubyforge.org/plugin-repository.yaml. This file contains a list of repositories (http and ftp) which provide webgen
2006 Mar 16
2
Bulk upload of pictures
Hi everyone, I am working on a Rails application with photo upload capablility and I need to add some bulk ulpoad tool. I decided for using a zip file with JPEG pictures inside. The zip would be uploaded, then extracted into some temp directory with the help of rubyzip extension. Then all the photo files should be copied into their final places in the file system. I am interested in your
2012 May 09
12
out of memory (java heap space) on zip creation (jruby)
I am using rubyzip and am trying to put a huge csv file with 1.4 million rows into the zip file. Using jruby I get a out of heap error. I believe the error happens in the block below: Zip::ZipOutputStream.open(zip_path) do |zos| zos.put_next_entry(File.basename(csv_path)) zos.print IO.read(csv_path) end -- You received this message because you are subscribed to the Google
2006 Mar 17
0
Installed Gems on godaddy.com
Hi, is there a core list of gems that one needs to install in a production environment? Anyways, here''s a current list of installed gems on godaddy.com: Gems *actionmailer 1.0.1* [www] <http://www.rubyonrails.org/> - depends on actionpack <http://www.situationman.com/_h_admin_/gems.html#actionpack>. Service layer for easy email delivery and testing. *actionmailer 1.1.5*
2006 Aug 03
1
Unzipping a file
Hi ! I''m attempting to write a simple gallery in Rails. The thing is I''d like to be able to upload a lot of pictures at once with a zip file. I''ve so far managed to upload the zip file (containing pictures) to the server. But how do I unzip the file to have access to the pictures ? I haven''t been able to understand how to use Zlib to do this. Any tips or
2010 Jan 25
9
skinny Controllers, fat models with REST?
Hi, I''m really new to rails, so i programmed some stuff and today i read some things about skinny Controllers, fat models. My Controllers are really fat now. So i''m asking myself how can i shrink my controllers and move the code to the models, especially in fact of REST e.g. in focus on error codes? code example: # POST /tasks # POST /tasks.xml def create @authorized
2006 Apr 01
5
Upload a zip using a form and extract if afterwards on srv?
Hi all It like my visitors to be able to upload a zip file (or any other possible compressed file archive) to my server. After upload, my web app should extract the content to the server and delete the zip file. Is this possible somehow? I''m very thankful for help. Have a nice weekend, Joshua -- Posted via http://www.ruby-forum.com/.
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do Thanks for all the help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2008 Jan 04
2
Encoding issue: is it Rails 2?
Hi, I recently upgraded from Rails 1.2.6 to Rails 2.0.2 and an application which used to correctly display European characters from an Oracle database (Win-1252) now screws them up. I previously had to convert from Win-1252 to UTF-8 for generating ODT files (OpenOffice) via Documatic. But I never had to do any conversion just to display the content in my Flex front-end. Has anything changed in
2003 Sep 28
0
Re: LARTC digest, Vol 1 #1385 - 4 msgs
Здравствуйте lartc-request, Sunday, September 28, 2003, 8:45:03 AM, you wrote: lrmdn> Send LARTC mailing list submissions to lrmdn> lartc@mailman.ds9a.nl lrmdn> To subscribe or unsubscribe via the World Wide Web, visit lrmdn> http://mailman.ds9a.nl/mailman/listinfo/lartc lrmdn> or, via email, send a message with subject or body ''help'' to