2
我讀了無數次關於ruby中缺失gem的stackoverflow文章,但仍然無法解決問題。這裏的情況是:Rails:無法在任何來源中找到bcrypt-ruby-3.0.1
nicolamac:Proj a$ rails new MyGreatApp
[...]
nicolamac:Proj a$ cd MyGreatApp/
[...]
nicolamac:MyGreatApp a$ bundle install
[...]
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
但是,如果我做的:
nicolamac:MyGreatApp nicolagreco$ rails generate devise:install
我得到
Could not find bcrypt-ruby-3.0.1 in any of the sources
我怎樣才能解決這個問題?
感謝