ruby on rails - how to add dependencies to the paperclip gem file -



ruby on rails - how to add dependencies to the paperclip gem file -

the error occured while trying 'rails g paperclip photo data' is: create sure dependencies added gemfile. (gem::loaderror)

using rails 3.0.3

my gem file:

source 'https://rubygems.org' gem 'rails', '3.2.0.rc2' # bundle border rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'sqlite3' # gems used assets , not required # in production environments default. grouping :assets gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.0' gem 'uglifier', '>= 1.0.3' end gem 'jquery-rails' gem 'paperclip', '2.3.3' # utilize activemodel has_secure_password # gem 'bcrypt-ruby', '~> 3.0.0' # utilize jbuilder templates json # gem 'jbuilder' # utilize unicorn web server # gem 'unicorn' # deploy capistrano # gem 'capistrano' # utilize debugger # gem 'ruby-debug19', :require => 'ruby-debug'

update gemfile gem 'rmagick', '2.13.1'

or

sudo apt-get install imagemagick

then run command "which convert" display path of imagemagic.

ruby-on-rails

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -