carlosantoniodasilva / i18n_alchemy

I18n date/number parsing/localization - RMU Project
http://mendicantuniversity.org/
MIT License
159 stars 34 forks source link

Can't install on Rails 4.2.0 #34

Closed alexandreviegas closed 9 years ago

alexandreviegas commented 9 years ago

Hi, I tried to use with rails 4.2.0 but on 'bundle install': $ bundle install Fetching gem metadata from https://rubygems.org/............ Resolving dependencies... Bundler could not find compatible versions for gem "activesupport": In Gemfile: i18n_alchemy (>= 0) ruby depends on activesupport (~> 3.0) ruby

rails (= 4.2.0) ruby depends on
  activesupport (4.2.0)
carlosantoniodasilva commented 9 years ago

It doesn't say which i18n alchemy version it's getting, can you tell me?

It should be fine to use master though, which has the green test suite for Rails 4.2: https://github.com/carlosantoniodasilva/i18n_alchemy/compare/v0.2.1...master

If that works for you I can push up a new version. Thanks!

alexandreviegas commented 9 years ago

Sorry about that. Actually, I tried on Gemfile without specify a version, just: gem 'i18n_alchemy' When using version: gem 'i18n_alchemy', '0.2.1'


$ bundle install Fetching gem metadata from https://rubygems.org/............ Resolving dependencies... Bundler could not find compatible versions for gem "activesupport": In snapshot (Gemfile.lock): activesupport (4.2.0)

In Gemfile: i18n_alchemy (= 0.2.1) ruby depends on activesupport (< 4.2, >= 3.2.0) ruby

Running bundle update will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.


Then, after 'bundle update':


$ bundle update Fetching gem metadata from https://rubygems.org/............ Resolving dependencies... Bundler could not find compatible versions for gem "activesupport": In Gemfile: i18n_alchemy (= 0.2.1) ruby depends on activesupport (< 4.2, >= 3.2.0) ruby

rails (= 4.2.0) ruby depends on
  activesupport (4.2.0)

alexandreviegas commented 9 years ago

It works with: gem 'i18n_alchemy', :git => 'https://github.com/carlosantoniodasilva/i18n_alchemy.git', :branch => 'master'

Seems to work perfectly on few applications tests. Thanks!

carlosantoniodasilva commented 9 years ago

Awesome, so if it is all good I will push a new version soon. Thanks for testing it!