Walter Davis wrote in post #1023269:
On Sep 21, 2011, at 5:10 PM, David A. wrote:

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
Take this require out of wherever you're putting it now, and put this
line in Gemfile:

gem 'rubyzip', :require => 'zip/zip'

Thank you so much for your help - this did it.

Is there any documentation on why this is needed and the regular require
in the controller doesn't work? What if I wanted to run this just as a
Ruby app?

Posted via

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
grouprubyonrails-talk @
postedSep 21, '11 at 9:10p
activeSep 22, '11 at 10:29p



site design / logo © 2021 Grokbase