Rake task to generate secrets fails under Ruby 2.4.1
Closed this issue · 2 comments
anarchivist commented
Working from a fresh clone of the repository (on MacOS 10.11):
curtido:circa matienzo$ bundle exec rake circa:generate_secrets
/Users/matienzo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/Users/matienzo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.2.5.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
rake aborted!
SystemStackError: stack level too deep
/Users/matienzo/Documents/Code/circa/config/application.rb:15:in `<top (required)>'
/Users/matienzo/Documents/Code/circa/Rakefile:4:in `require'
/Users/matienzo/Documents/Code/circa/Rakefile:4:in `<top (required)>'
/Users/matienzo/.rbenv/versions/2.4.1/bin/bundle:22:in `load'
/Users/matienzo/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'
(See full trace by running task with --trace)
Segmentation fault: 11
trevorthornton commented
Bumping Rails to 4.2.8 seems to have fixed that (also had to peg active_model_serializers to a non-master branch for unrelated reasons). Try to delete your Gemfile.lock, bundle install, and try again.
anarchivist commented
👍