Comments (3)
Hey Tommy,
The only way the middleware would stick around without xray appearing under 'bundle list' is if your app hasn't restarted. Maybe try a fresh git clone from your repo and be super sure you're seeing a fresh 'rails server'?
On Apr 13, 2014, at 4:09 PM, Tommy Mancino [email protected] wrote:
Hi guys,
Trying not to panic here, but I installed xray-rails to check it out. It is broken ( a rails 4.1 app), and I am aware a fix is in the works. In the meantime, I can't get ride of it! I removed it from the gem file, bundle installed it. Deleted cache file sin the browser and the app, reverted to an earlier git repo. Nothing. I have no idea, but somehow the rack middleware is sticking around in a place not covered by the git reversion? I have restarted the app multiple times, nothing. I still get the undefined method `variant' for nil:NilClass error, even after all the above. Thanks......
—
Reply to this email directly or view it on GitHub.
from xray-rails.
Brentd,
I pulled a 'windows' and rebooted the whole system, and it worked. Really strange, but somehting must have been sticking around between manually rebooting the server with foreman. Thanks....'
Tommy
On Apr 13, 2014, at 4:24 PM, Brent Dillingham [email protected] wrote:
Hey Tommy,
The only way the middleware would stick around without xray appearing under 'bundle list' is if your app hasn't restarted. Maybe try a fresh git clone from your repo and be super sure you're seeing a fresh 'rails server'?
On Apr 13, 2014, at 4:09 PM, Tommy Mancino [email protected] wrote:
Hi guys,
Trying not to panic here, but I installed xray-rails to check it out. It is broken ( a rails 4.1 app), and I am aware a fix is in the works. In the meantime, I can't get ride of it! I removed it from the gem file, bundle installed it. Deleted cache file sin the browser and the app, reverted to an earlier git repo. Nothing. I have no idea, but somehow the rack middleware is sticking around in a place not covered by the git reversion? I have restarted the app multiple times, nothing. I still get the undefined method `variant' for nil:NilClass error, even after all the above. Thanks......
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub.
from xray-rails.
Glad you got it worked out. I'll get the 4.1 fix out as soon as I'm back at my desk.
On Apr 13, 2014, at 4:38 PM, Tommy Mancino [email protected] wrote:
Closed #43.
—
Reply to this email directly or view it on GitHub.
from xray-rails.
Related Issues (20)
- Allow it to work with strict Content Security Policy; add nonce to javascript_include_tag HOT 1
- Xray-rails is not working with Docker HOT 2
- Travis configuration does not test Sprockets 4 or current Ruby versions
- Test suite fails with Sprockets::Railtie::ManifestNeededError HOT 1
- Xray fails to inject itself when using jQuery in Webpacker HOT 1
- Release xray.js on npm
- Drop support for Ruby <=2.4 (and Rails 4?)
- Remove auto-adding after jquery.js script — Sprockets 4 (nor webpack-based javascript_pack_tag 'application') doesn't add a separate script tag for jquery HOT 2
- Rewrite to remove dependency on jQuery
- Support for view_component HOT 1
- xray-rails 0.3.2 and sprockets 4
- ActionView::Template::Error - undefined method `pathname' HOT 4
- Rewrite to use `annotate_rendered_view_with_filenames`
- How to make xray-rails work with rails 7 and ruby 3+ HOT 1
- Early return from partial causes undefined method `include?' for nil:NilClass HOT 1
- "Screenshot" and "See Xray in action" links in the README are not working HOT 1
- calling non-existent method 'pathname' HOT 3
- Open in rubymine HOT 2
- The shortcut doesnot work on chrome/firefox for me anymore. HOT 1
- Defer loading of Xray JS
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 xray-rails.