Closed sufleR closed 9 years ago
+1
No, it shouldn't need all of rails. It should only need active_support, railties, and maybe some other minor things.
Are you guys using rails-api? I can push up a branch which changes the dependencies that you can test with a rails-api app.
yes I am using versionist with rails-api.
OK, I pushed up a branch with a fix for this, and it seems to work for both rails and rails-api apps for me locally.
Update your Gemfile to...
gem 'versionist', :git => 'https://github.com/bploetz/versionist.git', :branch => 'dependency_updates'
...then run bundle update versionist
and give it a whirl in your app. Let me know how it goes.
updated and all tests are passing.
Will update you later how it is working on staging.
@sufleR any update on your testing with this change in staging?
@bploetz sorry for late reply but I was waiting for staging server.
Right now application is deployed to staging and working without any problems.
I released versionist 1.4.0 with this change.
I noiticed that versionist requires whole rails gem.
It makes poinless using rails-api gem together with versionist.
Is necessary to require whole rails here?