Comments (5)
Try adding require 'rubygems'
as the first line in config.ru
from pow.
Done, that, now what I get is (from the logs):
[Fri, 08 Apr 2011 12:34:39 GMT] DEBUG nack worker 4926 spawned
[Fri, 08 Apr 2011 12:34:40 GMT] WARNING [BUG] cross-thread violation on rb_gc()
[Fri, 08 Apr 2011 12:34:40 GMT] WARNING (null)
[Fri, 08 Apr 2011 12:34:40 GMT] WARNING
[Fri, 08 Apr 2011 12:34:40 GMT] DEBUG nack worker exited
from pow.
I had the same issue, require rubygems fixed it. Feels like a bit of a kludge though?
from pow.
Well, the Sinatra site says to run apps with ruby -rubygems myapp.rb
, so the require replaces that switch.
from pow.
I hate requiring rubygems just as much.
One option is to add export RUBYOPT=rubygems
to your bash config or locally in your .powrc.
from pow.
Related Issues (20)
- DeprecationWarning: util.puts is deprecated.
- Is it possible to blacklist specific domains?
- .dev domains are not working in El Capitan HOT 12
- How to use pow with minitests?
- ENAMETOOLONG errors with long URLs
- Homebrew Install Results In Broken Pow Because of Missing Dirs HOT 1
- Typhoeus gem conflict
- HTTPS Proxy can't start up
- Sendfile Range request HOT 1
- ERR_CERT_AUTHORITY_INVALID HOT 1
- Uninstaller fails: error: can't find Pow
- Is this repository still under maintaining? HOT 1
- Can i maintain pow? HOT 1
- Chrome to force .dev domains to HTTPS via preloaded HSTS HOT 4
- make .pow 7X Faster HOT 1
- Ability to listen on multiple ports (80 + 3000)
- Installation fails silently if you already have an instance of pow (older or current version) running HOT 1
- 503 status when serving many concurrent files
- Browsers can't access sites since upgrade to 10.13.3 HOT 1
- Multiple workers? Multiple requests to same app seem to queue?
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 pow.