-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack level too deep with ruby 2.1.0 #100
Comments
Is there a fix for this by any chance? |
yep ))) this usually occurs when rmagick is required twice. try adding require: false in your Gemfile as fix |
Brilliant thanks! |
Wow that's a crazy fix (which worked). In my Gemfile I only had 'rmagick' once but on OSX I had errors referencing the same file as both 'rmagick.rb' and 'Rmagick.rb. For me I'm on rails 4.1 and Ruby 2.0.0-p247 (via chruby) /opt/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/rmagick-2.13.2/lib/RMagick.rb:44: warning: already initialized constant Magick::PercentGeometry Yet I only had in that directory: So something is a bit funky with the filename case? |
[15] pry(#Magick::ImageList)> show-method respond_to?
From: /Users/UGE/.rvm/gems/ruby-2.1.0/gems/rmagick-2.13.2/lib/RMagick.rb @ line 1799:
Owner: Magick::ImageList
Visibility: public
Number of lines: 9
[16] pry(#Magick::ImageList)> show-method __ respond_to __?
From: /Users/UGE/.rvm/gems/ruby-2.1.0/gems/rmagick-2.13.2/lib/rmagick.rb @ line 1799:
Owner: Magick::ImageList
Visibility: public
Number of lines: 9
this causes stack level too deep
The text was updated successfully, but these errors were encountered: