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

railsを5.2.3から6.0,rubyを2.5.1から2.6.4にあげてみた

Posted at

bundle installをしたら、下記のエラー

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    railties (>= 6.0.0)

    rails (~> 6.0.0) was resolved to 6.0.0, which depends on
      railties (= 6.0.0)

railtiesのバージョンアップが必要だったので、Gemfileに下記を追加。

gem 'railties', '>= 6.0.0
$ rails s

起動してみると、ワーニングがでた。

/Users/ユーザー名/.rbenv/versions/2.6.4/lib/ruby/2.6.0/fileutils/version.rb:4: warning: already initialized constant FileUtils::VERSION
$ gem uninstall fileutils
$ gem update --default

上記コマンドで解消。

0
1
0

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
0
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?