Closed cstromblad closed 9 years ago
Hi,
GollumRails is already fully compatible with rails 4. the dependency says >= 3.1.16 but does not specify an upper end. It is well tested with rails 4 as well. the latest version (1.6.3 or 1.6.4 on 11/03/14) are definitely working with rails 4.
Please have a look at https://github.com/nirnanaaa/GollumRailsTest41 for a working example. To see a more practical use you can check out my redmine plugin, which is rails 3 but also works seamlessly with rails 4:
https://github.com/nirnanaaa/gollum_redmine/blob/master/app/controllers/pages_controller.rb
Hope I could help you.
Hi,
Thanks for the quick reply. I did get it working, I was using rails 4.2.0.beta4 and that had some dependencies that apparently wasn't liked.
Using 4.1.7 (and 4.1.4) everything worked just fine. It was a dependency problem concerning mime-types for the gitlab-grit gem.
Guess that what I get for using beta-gems!
/ Christoffer
Maybe I can patch that or at least check where it is originated. Can you post your bundle
error, please?
Bundler could not find compatible versions for gem "mime-types":
In Gemfile:
gollum_rails (>= 0) ruby depends on
gollum-lib (~> 1.0.9) ruby depends on
gitlab-grit (= 2.6.0) ruby depends on
mime-types (~> 1.15) ruby
rails (= 4.2.0.beta4) ruby depends on
actionmailer (= 4.2.0.beta4) ruby depends on
mail (>= 2.5.4, ~> 2.5) ruby depends on
mime-types (2.4.3)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
gollum_rails (>= 0) ruby depends on
activemodel (~> 3.2.11) ruby
rails (= 4.2.0.beta4) ruby depends on
activemodel (4.2.0.beta4)
Currently testing with 4.2.2. All tests passing. Seems good. Have a look at version 1.6.4 with updated deps.
1.6.5 should have fixed the tests for 4.2.0 on travis.
Hi,
I'm complete newbie when it comes to Rails-development, so bare with me. I was wondering if there is any work going for updating gollum-rails for use with Rails4?
/ Christoffer
PS: Oh, and let me know if there's anything I can do to help...!