On Thu, 2010-02-25 at 09:45 -0500, Rajinder Yadav wrote:
> Hi being relatively new to rails I am trying to start a simple project 
> on using paperclip to upload an image file and create a thumbnail.
> 
> However I am not sure how to use the rails plug-in? What I did was 
> install paperclip using gem but not sure if this is the right way to go 
> about it.
> 
> require 'paperclip' seems to fail.
> 
> I also tried
> 
> script/plugin install git://github.com/thoughtbot/paperclip.git
> 
> I don't see the plugin downloaded when I look in 'vendos/plugin' folder? 
> I get an error when I run the sample code using the following as an example:
----
use either gem or plugin, not both

if you use the gem, add to config/environment.rb

  config.gem "paperclip"

not needed for plugin. You need to remove either the plugin or the gem.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to