{"comment":{"created_at":"2011-10-23T15:28:17Z","body":"I'm glad you figured that out. Certainly is not obvious. And yes, I'd say it's a _bug_ in Ruby.","updated_at":"2011-10-23T15:28:17Z","url":"https://api.github.com/repos/rubyworks/vanunits/issues/comments/2495784","id":2495784,"user":{"avatar_url":"https://secure.gravatar.com/avatar/45196398e9685000d195ec626d477f0e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"45196398e9685000d195ec626d477f0e","url":"https://api.github.com/users/trans","id":23423,"login":"trans"}},"action":"created","issue":{"number":1,"created_at":"2011-10-05T20:32:27Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Trying to use van/units on ruby 1.9.2 doing most operations i get a SystemStackError for stack level too deep.  if i do '1.mile' in console i get a response but doing 'x = 1.mile' causes the error also.  this is happening at lib/van/units/base.rb:847.\r\n\r\nruby-1.9.2-p136 :001 > require 'van/units'\r\n => true \r\nruby-1.9.2-p136 :002 > include Van::Units\r\n => Object \r\nruby-1.9.2-p136 :003 > 1.mile\r\n => 1 mile \r\nruby-1.9.2-p136 :004 > x = 1.mile\r\n/Users/context/.rvm/gems/ruby-1.9.2-p136/gems/vanunits-1.5.0/lib/van/units/base.rb:847: stack level too deep (SystemStackError)\r\n/Users/context/.rvm/gems/ruby-1.9.2-p136/gems/vanunits-1.5.0/lib/van/units/base.rb:847: stack level too deep (SystemStackError)\r\n","comments":5,"title":"Stack Level Deep Error on most operations","updated_at":"2011-10-23T15:28:17Z","url":"https://api.github.com/repos/rubyworks/vanunits/issues/1","id":1827769,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/906a1da59daf04ad177578edede7bb17?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"906a1da59daf04ad177578edede7bb17","url":"https://api.github.com/users/zacheryph","id":476,"login":"zacheryph"},"html_url":"https://github.com/rubyworks/vanunits/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":1827769,"comment_id":2495784}}