Comments (8)
+1, I'm having same problem
from shotgun.
+100 - I'm using the Cuba framework and this is the only lib that actually works for reloading the environment. It's brilliant, but I sure do miss the ::CommonLogger output
@cyx thanks for the hack
from shotgun.
Thanks for the fix! But what might be wrong though? It's not running the code properly after the line run Shotgun::Loader.new(config) ?
from shotgun.
Something related to output redirection. It's a bit tricky to fully fix, hence the easier hack. :-)
from shotgun.
No Rack::CommonLogger output for me either, would be nice if the hack could be officially incorporated...
from shotgun.
@Krajsnick I just submitted #57 which fixes this issue and adds tests.
from shotgun.
Closing in favor of #57. I intend to merge this very soon. Thanks.
from shotgun.
The fix is released in 0.9.1.
from shotgun.
Related Issues (20)
- Can not run shotgun in cmd.exe on Windows 7 (64bit) HOT 8
- Can't use `require_relative` from within `./shotgun.rb`
- EM.next_tick never called HOT 2
- NameError: uninitialized constant Shotgun::Loader::YAML HOT 2
- direct users to sinatra-contrib reloader HOT 4
- Provide license information for the software
- shotgun don't work on windows
- Sinatra `enable :lock` doesn't work with Shotgun HOT 1
- LoadError when requiring 'net/ldap' gem HOT 5
- On stop server I get error in loop reactor HOT 1
- Incompatible with SuckerPunch Async HOT 1
- Shotgun visits every mapping in config.ru regardless the request HOT 10
- The way shotgun run HOT 4
- Rack 2.0.1 breaks requiring rack in bin/shotgun HOT 1
- Running a basic sinatra file shotgun breaks and cannot find 'rack/commonlogger' HOT 4
- Doesn't work on macOS High Sierra HOT 8
- e HOT 1
- Ruby 3 Compatibility HOT 4
- Ruby 3.0.0 -- every webserver seems to error with "wrong number of arguments (given 2, expected 1) (ArgumentError)" 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 shotgun.