Closed JuanitoFatas closed 10 years ago
oops, this should work :(
in the meantime, if you explicitly add syck to your Gemfile it will work
I add syck
to my Gemfile. It's still not working : ( Should the syck dependency list in i18nema.gemspec
?
what are the contents of you Gemfile? i just tested on a fresh ruby 2.0/rails 4 install and this worked for me:
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.2'
# ...
# more rails Gemfile boilerplate
# ...
# Use debugger
# gem 'debugger', group: [:development, :test]
gem 'syck'
gem 'i18nema'
maybe you need to bundle install
?
I did have these two gems and did bundle install.
Upgrade syck to 1.0.1 solve this problem (I'm able to enter rails console now). Do not know why.
Installing syck (1.0.1)
Updating files in vendor/cache
* syck-1.0.1.gem
Removing outdated .gem files from vendor/cache
* syck-1.0.0.gem
regarding the syck dependency in the gemspec, ruby 1.9 already has syck built in so it doesn't need the gem. this was an attempt to make it work, but i've confirmed it doesn't work unless syck is in the application Gemfile.
i'll see if i can get it working, otherwise i'll publish a separate gem for ruby 2+ with the explicit syck dependency.
@jenseng Thank you for your guidance and help. Before you released a separated gem. Document it for people who use Ruby 2.0 to explicitly add syck to Gemfile?
Hi. I just install
i18nema
in my Rails 4 app with Ruby 2.0. And try to runrails console
but get the following error: