I'm interested in using CloudApp to host project quotes, outlines, and other client documents, and would like to hack on Viso a little to customize the text view (primarily). I have grand ideas of working with the API to create views based on file names (rather than just type), but that is down the road. Anyway, I have run into a little trouble getting Viso to run locally for development… When starting the thin server (I'm following the Viso README to a 't'), everything appears to be ok until I send a request to http://localhost:3000. This crashes the server every time. Here is the thin output: http://cl.ly/1c1Y3I3X0n3B0W0L3820 and here is what is being logged in the app: http://cl.ly/1W1P0t361B1I0t3e3R3b
I am new to the ruby language, so I am still trying to understand much of this application (along with its dependencies).
Any help would be greatly appreciated!
Thank you.
Wow! That’s a nasty error. First off, you can ignore those cache errors. I just added rack-cache this week so it’s trying to connect to memcache. If you’re using homebrew, just `brew install memcached` and it should work out of the box. I’ll add that to the readme.
The larger issue which is causing the crash looks like it’s this issue: https://github.com/mperham/rack-fiber_pool/issues/12 I remember running into this one as well but I don’t remember exactly how I fixed it. I think it was by upgrading to Ruby 1.9.3. Looks like you’re using RVM so try running Viso in 1.9.3 and see if that works for you.
Oh right. You’ll need to tell it where to find memcache. Try this: MEMCACHE_SERVERS=localhost:11211 bundle exec thin start
Any time. Actually, now that I think about it, I probably should’ve had you enter this as an issue instead in case others have the same problem. Oh well. As long as everything’s working for you now that’s all that matters. If you have any other questions about Viso, you might as well create a new issue: https://github.com/cloudapp/viso/issues
That sounds good, Pete. Talk to you on GitHub.
This question is closed to new answers.