brentd / xray-rails

☠️ A development tool that reveals your UI's bones
MIT License
1.22k stars 79 forks source link

How to remove in a rails 4.1 app? #43

Closed tmancino closed 10 years ago

tmancino commented 10 years ago

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......

brentd commented 10 years ago

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 notifications@github.com 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.

tmancino commented 10 years ago

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 notifications@github.com 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 notifications@github.com 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.

brentd commented 10 years ago

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 notifications@github.com wrote:

Closed #43.

— Reply to this email directly or view it on GitHub.