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 764991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:49:04+00:00 2026-05-14T16:49:04+00:00

This is going to be a really dumb question, I just know it, but

  • 0

This is going to be a really dumb question, I just know it, but I’m going to ask anyways because it’s driving me crazy.

How do I get acts-as-taggable-on to work?

I installed it as a gem with gem install acts-as-taggable-on because I can’t ever seem to get installing plugins to work, but that’s a whole other batch of questions that are all probably really dumb. Anyways, no problems there, it installed correctly.

I did ruby script/generate acts_as_taggable_on_migration and rake db:migrate, again no problems.

I added acts_as_taggable to the model I want to use tags with, started up the server and then loaded the index for the model just to see if what I’ve got so far is working and got the following error: undefined local variable or method `acts_as_taggable’ for #.

I figure that just means I need to do something like require 'acts-as-taggable-on' to my model’s file because that’s typically what’s necessary for gems. So I did that hit refresh and got uninitialized constant ActiveRecord::VERSION. I’m not even going to pretend to begin to know what that means went wrong.

Did I go wrong somewhere or there something else I need to do. The installation instructions seem to me like they just assume you generally know what you’re doing and don’t even begin to explain what to do when things go wrong.

  • 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-14T16:49:05+00:00Added an answer on May 14, 2026 at 4:49 pm

    Did you try to define your gem dependencies in config/environment.rb (Rails 2.3):

    Rails::Initializer.run do |config|
      #...
      config.gem 'acts-as-taggable-on'
      #...
    end
    

    Or in Gemfile for Rails 3 or if you use already Bundler with rails 2.3:

    gem 'acts-as-taggable-on'
    

    This should make the require 'acts-as-taggable-on' unnecessary

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

Sidebar

Related Questions

Okay this is going to seem really dumb but bear with me please. A
This is going to be a really dumb question, and I almost hate myself
This is probably going to be a really simple fix... I just can't figure
I suspect I am going to feel really stupid after posting this but here
I am sure this is something really simple, but I am going bonkers trying
This is going to be a stupid question but I have spent an inordinate
This is going to be a quick discussion, but I just wanted some feedback
Okay, the question might seem dumb, but I'm asking it anyways. After struggling for
This is going to sound really ghetto, but I need to print some Javascript
This is going to be quite a vague question but I am wondering how

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.