0
0

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 3 years have passed since last update.

gem 'devise'導入時エラー

Posted at

gemであるdeviseを導入しようとして初歩的なミスで起こりました。

ターミナルのアラートはこんな感じでした

XXXXXXXXXXXXXXXXXXXX % rails g devise:install
Running via Spring preloader in process 18610
Could not find generator 'devise:install'. 
Run `rails generate --help` for more options.

次にエラー文にある「Sprin preloarder」について調べました
するとその人は
引用

https://qiita.com/Hal_mai/items/350c400e8763ce0487a3

Gemfile内の記述を

gem 'devise'

gem 'device'

にしていたと気づいて訂正されたようです.

そこで私もGemfileを覗いてみると

なんと記載なし

記入がないのだからコマンドになっていない。
何をinstallするのやらあわてん坊な夕方でした

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?