Comments (6)
I get the same issue when calling RandomWord.nouns.next
in subsequent requests in Rails 4.
from random-word.
I got the same issue with this in Rails 4 especially while running cucumber. I was trying to fork this and see if there's anything I can do to contribute (at least write a test), but somehow rake spec
isn't running.
Here's my bundle show
* activesupport (4.2.0)
* bundler (1.7.4)
* coderay (1.1.0)
* diff-lcs (1.1.3)
* git (1.2.9.1)
* i18n (0.7.0)
* jeweler (1.6.4)
* json (1.8.2)
* machinist (2.0)
* method_source (0.8.2)
* minitest (5.5.1)
* pry (0.10.1)
* rake (10.4.2)
* rspec (2.3.0)
* rspec-core (2.3.1)
* rspec-expectations (2.3.0)
* rspec-mocks (2.3.0)
* slop (3.6.0)
* thread_safe (0.3.4)
* tzinfo (1.2.2)
* yard (0.6.8)
Below is the error I received when I run rspec
undefined method `run_all' for []:Array
with Unable to find matching line from backtrace
message.
from random-word.
The above problem regarding rspec
and undefined method run_all' for []:Array
was solved by upgrading rspec
to ~> 2.4.0
Still couldn't reproduce the bug in spec though.
from random-word.
I'm getting FiberError (fiber called across threads):
when calling next
from random-word.
@jtokoph, in what context? fwiw, this gem is not thread safe. a random word instance should only be used in one thread at a time.
from random-word.
Using threads in puma which would explain the issue.
from random-word.
Related Issues (4)
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 random-word.