dewski/json_builder

no such file to load -- active_support/time (MissingSourceFile)

chrisbutlerccc opened this issue · 9 comments

Hi.

I got past the issue with bundle install after the latest fix. However, I am having a problem when I try to run the server:

/Users/.../.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require': no such file to load -- active_support/time (MissingSourceFile)
    from /Users/.../.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    ...

When I remove json_builder from my gem file it goes away...

Is there a dependency I am missing?

Thanks!

The dependency list hasn't change at all since I last pushed. I noticed it's including activesupport 2.3.5. Is this a Rails 2.x.x app? Or a 3.x.x app? Can you try removing the gem from your system then re-installing? Thanks!

Yes, it is a 2.x.x app. Is there a 3.x.x requirement?

There isn't a 3.x.x requirement (well, wasn't supposed to have one, seems like there is). I have a fix for this issue coming soon, had a HD that went corrupt so it should be later today.

Sorry to hear about the HD. Let me know when you get a new version up and I'll try it out. Thanks!

Just pushed 3.0.5, let me know how that works out for you.

Hm, getting a different problem now:

/Users/.../.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.5/lib/active_support/vendor/builder-2.1.2/blankslate.rb:84:in `blank_slate_method_added': stack level too deep (SystemStackError)
    from /Users/.../.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.5/lib/active_support/vendor/builder-2.1.2/blankslate.rb:84:in `blank_slate_method_added'
    from /Users/.../.rvm/gems/ruby-1.8.7-p299/gems/json_builder-3.0.5/lib/json_builder/blankslate.rb:82:in `method_added'
    from /Users/.../.rvm/gems/ruby-1.8.7-p299/gems/json_builder-3.0.5/lib/json_builder/blankslate.rb:102

Still works fine if I remove the gem 'json_builder', '3.0.5' requirement from the gemfile.

Please let me know if there is anything else I can do to help troubleshoot...

I yanked 3.0.5 once you submitted this, and have since pushed up 3.0.6. This should do the trick!

Server launches without issue now. Thanks!

No problem, glad that fixed it!