GithubHelp home page GithubHelp logo

Comments (7)

chalofa avatar chalofa commented on August 26, 2024

same error here with Rails 3.2 + Ruby 1.9.3

any ideas anyone?
could you fix it @c4ftabrez ?

from annotate_models.

c4ftabrez avatar c4ftabrez commented on August 26, 2024

I should have written down the solution at that time itself! I believe the issue was related to the installation of the gem. Can you confirm if you have the gem in your Gemfile for the project whose models you are trying to annotate? Add it there and run a bundle install before trying the annotate command.

If that does not solve it I can check if I had to do anything else to make it work.

from annotate_models.

wjr avatar wjr commented on August 26, 2024

Having the same issue w/ same setup as @chalofa (rails 3.2/ruby 1.9.3).

Also made sure the gem is in the Gemfile & run bundle install.
cc /@c4ftabrez

from annotate_models.

c4ftabrez avatar c4ftabrez commented on August 26, 2024

Ok, I think this will solve the issue. Specify annotate with the version in Gemfile and then run bundle install again.

gem 'annotate', '~>2.4.1.beta'

I see a comment in my source code history indicating that I made this change. So, I think that should solve it.

from annotate_models.

c4ftabrez avatar c4ftabrez commented on August 26, 2024

Did it solve the issue?
@wjr @chalofa

from annotate_models.

chalofa avatar chalofa commented on August 26, 2024

I can confirm using 2.4.1.beta1 fix the issue, thanks!

from annotate_models.

ebence avatar ebence commented on August 26, 2024

Thanks!

from annotate_models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.