Comments (15)
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.
Rails 3.0.9
from jsonify.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The problem appears to be with my 'blank_slate.rb'
from jsonify.
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.
Thanks for getting this fixed up so quickly - I've pulled down version 0.7, and it is now working correctly.
from jsonify.
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)
- Please add .travis.yml for travis-ci.org HOT 2
- how about removing the result wrapper from the first example in the README? HOT 3
- allow Builder.new to take a block HOT 13
- Invalid date format in the gemspec HOT 8
- Comments are still being processed HOT 7
- empty return if builder contains an array with an empty set HOT 1
- Use Multi JSON gem instead of requiring explicit 'json' gem dependency HOT 4
- There's no way to create a bare array of json objects HOT 3
- Strings in arrays HOT 1
- Radio buttons seem to not work for dejsonify HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonify.