Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acts-as-taggable-on missing from gemspec? #46

Closed
mfilej opened this issue Aug 29, 2013 · 6 comments
Closed

acts-as-taggable-on missing from gemspec? #46

mfilej opened this issue Aug 29, 2013 · 6 comments

Comments

@mfilej
Copy link

mfilej commented Aug 29, 2013

I'm using blogit on rails 4, so I bundled the gem from the rails4 branch. After finishing the installation instructions, I encountered this error:

undefined local variable or method `acts_as_taggable' for #<Class:0x007fd01890a728>

I'm assuming this is because 10bce41 added the acts-as-taggable-on dependency to the Gemfile instead of the gemspec?

I was able to get the app working by adding this to my own Gemfile:

gem "acts-as-taggable-on", github: "mbleigh/acts-as-taggable-on"

I'd be happy to submit a pull request if someone can confirm that updating the gemspec is the proper solution.

@mfilej
Copy link
Author

mfilej commented Aug 30, 2013

I guess adding the dependency to the gemspec is not desired if tagging is supposed to be optional. In this case, the acts_as_taggable macro could be called conditionally in the model. I'm willing to submit a PR.

@ghost
Copy link

ghost commented Jan 8, 2014

👍 for a PR to resolve this issue. The acts_as_taggable dependency should be included in the gemspec shouldn't it?

@Bodacious
Copy link
Owner

Hi guys - sorry for taking so long to get back to you. I work on Blogit in my spare time which is non-existent at the moment.

I removed acts_as_taggable in an earlier version because, for a short while, it wasn't compatible with Rails 4.
Now that they're up to date, it should be added back to the Gemfile

@antarr
Copy link

antarr commented May 28, 2015

I"m still getting this error in the rails4 branch

@ghost
Copy link

ghost commented May 29, 2015

Same here.

@Bodacious
Copy link
Owner

Fixed in version 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants