How do I completely rid my Rails 4.2 application of teamcity?

ε祈祈猫儿з 提交于 2020-01-13 18:38:09

问题


I usually use Vim for Rails development and I decided to try out RubyMine to see what it was like. It wasn't half bad, but I decided it was too much bloat.

Now however when I run rake test it is running tests "through" team city (I don't fully understand what it is doing). At no point do I recall installing teamcity. How can I completely get rid of it? Before my tests were running cleanly with guard and minitest/pride.

Thank you.


回答1:


I didn't try to understand what's happening but this worked for me:

cd /your/project/root

rm -rf .bundle vendor && bundle

My ~/.bundle/config:

---
BUNDLE_PATH: vendor/bundle
BUNDLE_JOBS: '2'



回答2:


You need to run spring stop when you switch from RubyMine back to the command line and vice versa:

cd ~/code/MyAwesomeProject/
spring stop



回答3:


Just as Saqib Razaq said, the issue is related to spring. As for me, I found useful gem guard-spring so, you could try the following:

Add this line to your application's Gemfile:

gem 'guard-spring'

And then execute:

bundle

Add rules to Guardfile:

bundle exec guard init spring

and that will do the trick



来源:https://stackoverflow.com/questions/27680803/how-do-i-completely-rid-my-rails-4-2-application-of-teamcity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!