How do I completely rid my Rails 4.2 application o

2019-05-12 04:15发布

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.

3条回答
ゆ 、 Hurt°
2楼-- · 2019-05-12 04:17

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'
查看更多
祖国的老花朵
3楼-- · 2019-05-12 04:22

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

cd ~/code/MyAwesomeProject/
spring stop
查看更多
手持菜刀,她持情操
4楼-- · 2019-05-12 04:34

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

查看更多
登录 后发表回答