Git Product home page Git Product logo

Comments (15)

bsiggelkow avatar bsiggelkow commented on August 25, 2024

I will take a look as soon as I can ... which version of Rails?

On Aug 1, 2011, at 6:42 AM, swistaczek wrote:

Hello,
I cant start rails application after installing Jsonify to my gemfile:

➜ caza git:(214-uko) ✗ rails server
script/rails:6: stack level too deep (SystemStackError)

I tried out about 4 tools to creating json, this look like that I wanted but I cant run it. I would be very pleased and very happy for any help :).

Best regards.

Reply to this email directly or view it on GitHub:
#2

from jsonify.

swistaczek avatar swistaczek commented on August 25, 2024

Rails 3.0.9

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

I just added jsonify to the Gemfile for a pristine Rails 3.0.9 app, run bundle install, and ran 'bundle exec rails server' without any problems. Are you actually trying to hit a jsonify template you created? I gathered from your post that this was just on start up. Are you specifying a version for jsonify? You want to use the latest from rubygems.org (0.0.4). I am not sure what the problem is ... I cannot get it to happen for me. Perhaps if you post the top of the stacktrace?

from jsonify.

joshmcarthur avatar joshmcarthur commented on August 25, 2024

I can verify that I also get this problem on Rails 3.0.7.
I haven't been able to get a stack trace yet, as it's straight from bundle exec rails server - it's failing on require 'rails/commands', so could be anything...

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

I will try and replicate the problem with 3.0.7. Josh, can you try this out with a small example; or, can you post your Gemfile?

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

Also, if you haven't yet, switch over to jsonify-rails, I split the rails integration off into a separate gem (which will pull in jsonify).

from jsonify.

joshmcarthur avatar joshmcarthur commented on August 25, 2024

Hi bsiggelkow,

I can confirm that it is working with a plain Rails 3.0.7 installation - which would suggest it's some kind of incompatibility with another gem.

You can view the Gemfile we are using at this gist

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

Awesome -- thanks for the gist. I will try and track down the problem.

On Aug 2, 2011, at 7:06 PM, joshmcarthur wrote:

Hi bsiggelkow,

I can confirm that it is working with a plain Rails 3.0.7 installation - which would suggest it's some kind of incompatibility with another gem.

You can view the Gemfile we are using at this gist

Reply to this email directly or view it on GitHub:
#2 (comment)

from jsonify.

joshmcarthur avatar joshmcarthur commented on August 25, 2024

I commented out all of the gems in the gemfile, then re-added them one by one until I got the SystemStackError exception - the gem that I enabled that began causing the exception was hoptoad_notifier (Of http://hoptoadapp.com)

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

Yep -- I got the same thing:

script/rails:6: stack level too deep (SystemStackError)

I've got a pristine setup with rails 3.0.7, jsonify-rails 0.0.6, and sqlite3; added hoptoad_notifier and got the error; very weird -- now to debug.

from jsonify.

joshmcarthur avatar joshmcarthur commented on August 25, 2024

Great. I know how tough StackLevelTooDeep errors can be to fix up, so let me know if there's anything I can help with :-)

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

The problem appears to be with my 'blank_slate.rb'

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

I have fixed the problem! It was caused by BlankSlate; I moved BlankSlate underneath the Jsonify module (this is a good change anyway) and removed the patches that file (blank_slate.rb) was making to Kernel, Module, and Object. Run the following:

bundle update jsonify
to update to v0.0.7 of jsonify

I will keep this issue open till I get confirmation from one of you guys that its working okay.

Thanks!!

from jsonify.

joshmcarthur avatar joshmcarthur commented on August 25, 2024

Thanks for getting this fixed up so quickly - I've pulled down version 0.7, and it is now working correctly.

from jsonify.

bsiggelkow avatar bsiggelkow commented on August 25, 2024

No problem, Josh ... thanks for helping me. I am going to close this issue. As you are using Jsonify, please let me know of any feedback.

from jsonify.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.