Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6247989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:58:31+00:00 2026-05-24T12:58:31+00:00

Im not going to start by saying i’m a newbie etc. Jokes, been learning

  • 0

Im not going to start by saying i’m a newbie etc. Jokes, been learning Rails for nearly month using Lynda.com. I use Mac, Mac OS X Lion 10.7.

I am trying to intall Paperclip Gem but i can’t seem to figure out what i’m doing wrong.

I followed the instructions on https://github.com/thoughtbot/paperclip/wiki/Installation

I added this line to my config/environment.rb

config.gem 'paperclip', :source => 'http://rubygems.org'

and i then tried to run

rake gems:install

I get an error message:

(in /Users/fred/Ruby/food)
rake aborted!
undefined local variable or method `config' for main:Object
/Users/fred/Ruby/food/Rakefile:4:in `require'
(See full trace by running task with --trace)

I then tried the following as an alternative when the above failed

script/plugin install git://github.com/thoughtbot/paperclip

I get the following error

-bash: script/plugin: No such file or directory

My question is how do install this gem? I have read a lot of other posts that say i should include gem 'paperclip', "~> 2.3" is this the same as what i did above?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:58:32+00:00Added an answer on May 24, 2026 at 12:58 pm

    Best to use bundler. Steps are

    1. Install bundler: gem install bundler
    2. Add to Gemfile: config.gem 'paperclip'
    3. cd to where the Gemfile is and run: bundle install. This will install all the gems mentioned in the Gemfile

    Ps. I assume that you are not using rvm. Also, you may need to prefix sudo to the command in step 1 above in case the command does not work for you due to a permission problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm going to start this off by saying that I am new to GLSL
Let me start by saying I've been doing professional development work in C++ for
Okay let me start off by saying I have been looking around a lot
I'm not going to use other module like request , how about writing this
I'm writing my own simple drop-down...and it's not going so well. I need only
Okay, im not going to piddle foot around and dance around what im doing.
I'm doing a project. I'm not going to details but I will simplify my
Suppose I want to write an app for Android OS that is not going
It's my first attempt in Unit testing with Django, and it's not going well...
I was asked to repost this question, due to the answers were not going

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.