Closed jessereynolds closed 8 years ago
Same here with rails 3.2.1 and 3.0.7
Current solution: http://stackoverflow.com/questions/8960252/rails-bundler-could-not-find-compatible-versions-for-gem-actionpack
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
Perhaps the readme instructions could be more clear on which Rails version last worked successfully (gem install rails -v 3.0.4
).
Edit: nope, not sure which version of Rails the dm-rails is suppose to work with the current template/Gemfile (tried 3.2.0, 3.2.1, 3.0.7, 3.0.4), so I'll stick with bumping.
Yes, I bumped the versions of sass-rails and coffee-rails also and all good.
Except using rails form helpers in my haml is failing, as per: http://datamapper.lighthouseapp.com/projects/20609/tickets/1219-rails3-haml-datamapper-form_for-person-do-f-renders-nothing#ticket-1219-6 ... perhaps I should downgrade to rails 3.1.x
I think this should all be working. If you're having trouble with the latest Rails 4, please leave a comment.
Hello
I'm new to the world of dm-rails, so this is probably just a newbee thing.
I found that following the instructions in the README failed due to a clash on activepack version requirements, as sass-rails wants actionpack version 3.1.x ...
Commenting out the following lines and running 'bundle update' once more fixes it for now...