Comments (9)
Whatever it was, I seem to have fixed it by deleting the Gem and reinstalling it. Deleted it using JosephL's advice here:
http://stackoverflow.com/questions/12188833/how-to-reinstall-a-gem-using-bundler
from cobweb.
I take it back. This is still an issue. When the gem is properly reinstalled the web server speed drops from 2s to 50s.
Same if you force Webrick. Same if you use heroku local. I don't know what the gem is doing on initialization - I can't figure out why this should happen.
But it does.
from cobweb.
Another datapoint. If you add the gems that cobweb depends on to the main application Gemfile, there's no problem. It's only when cobweb itself is added.
from cobweb.
Thanks Simon,
Cant think off hand what it could be, i'll take a look later and see if i find anything, on a train just now.
Stewart.
from cobweb.
had a quick look on the phone, first a couple questions... is it always the same amount of time delay? there are a couple monkey patch bits of code that should be considered. Also do you have a gemfile you are using (and lock) that i can plug into a test rails app, oh and version of rails too. There is a require that loads all rb files that are in the same or sub folders from lib/cobweb.rb, if its missbehaving, could be related.
Nothing obvious though, if you can send the above i'll het a test app running to try to replicate. Also, what version of cobweb your on too.
thanks,
Stewart.
from cobweb.
Thanks, after a bit of wrestling with recent el capitan update, i've been able to get rails installed and can replicate this locally with the rubygems gem. I'm going to now try to replicate with local copy and see what its up to.
from cobweb.
Ok, think i've found it, try version 1.0.29.
from cobweb.
Evil, Evil, Evil monkey patching on the String class with method_missing....
Glad its working now.
thanks,
Stewart.
from cobweb.
Great gem, thanks a lot for the fix!
from cobweb.
Related Issues (20)
- Encoding problems HOT 5
- Improve connection handling
- Standalone Crawler gives error for redis HOT 6
- `require': cannot load such file -- resque (LoadError) HOT 3
- Should be possible to use Ruby's URI implementation instead of Addressable::URI HOT 3
- Should it be possible to add "depth" in the data hash ? HOT 3
- Inbound links are not normalized when stored
- Code organization HOT 1
- Binary not installed HOT 1
- Redirect Limit causing crawl to stop
- LoadError with version 1.0.26 HOT 2
- error while installing cobweb-1.0.28.gem: Invalid argument @ rb_sysopen HOT 5
- How can I start stop crawling website HOT 1
- Should depend on slop 3.6.0 or update cobweb bin HOT 1
- Error on first run HOT 2
- undefined method `banner' for main:Object (NoMethodError) on calling from command line HOT 1
- Falling into Crawl Traps HOT 10
- Feature request: Stop crawl at time HOT 3
- Error raised when there's a valid <base> tag in <head> HOT 3
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 cobweb.