1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

path_support.rb : undefined method `split` でCircleCIのテストがこける

Last updated at Posted at 2016-03-05

急にこんなエラーが出てテストが通らなくなった。

/home/ubuntu/.rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/path_support.rb:50:in `split_gem_path': undefined method `split' for #<Array:0x00000002045b30> (NoMethodError)

spring のバージョンをあげてみるとよいらしい。(バージョンをあげるまえは 1.3.6 でした)

ためしに記事にあるように Gemfile 内の Spring のバージョンを以下のように変えてみる。

gem 'spring', '1.6.4'

以下を実行。(3/8追記しました。 @yuuigara さん、ご指摘ありがとうございました。)

$ bundle exec spring binstub –-all

動いた。

1
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?