出现错误,找不到bcrypt-3.1.11

Pooja Mokariya

我使用设备gem创建了一个应用,而不是运行bundle instal。

比我尝试运行此命令后

rails generate devise:install

但我遇到错误

Could not find bcrypt-3.1.11 in any of the sources
Run `bundle install` to install missing gem...

我做了 bundle install

我试过这个gem install bcrypt来安装这个宝石

我试着去bundle update跑步

bundle exec rails generate devise:install

但是我仍然遇到同样的错误。

宝石文件

source 'https://rubygems.org'


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.5'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug'
end

group :development do
  # Access an IRB console on exception pages or by using <%= console %> in views
  gem 'web-console', '~> 2.0'

  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'
end

gem 'devise'
斯派克曼

取消注释此行Gemfile

# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'

bundle install再次运行

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

出现错误,找不到bcrypt-3.1.11

来自分类Dev

找不到-ljson11的库,但是找到-lsqlite 3

来自分类Dev

我找不到细分错误:11错误

来自分类Dev

出现未知错误。从<有效的本地路径>(-1)找不到存储库

来自分类Dev

As3错误找不到错误

来自分类Dev

“ python3 configure.py”期间出现PyQt5错误:致命错误:找不到“ qgeolocation.h”文件

来自分类Dev

在代码中找不到错误(Project Euler #11 (Haskell))

来自分类Dev

为什么会出现错误:(45,1)TS2304:找不到名称“角度”。在WebStorm中

来自分类Dev

我无法运行TestNG测试,在控制台中出现“在类路径中找不到类:TestNG1”错误

来自分类Dev

出现错误在Visual Studio 2013 Update 3中构建多设备混合应用程序时找不到模块'q'

来自分类Dev

在Python3上存在问题:安装失败,出现一系列“找不到文件”错误

来自分类Dev

可以排序以1 2 3 4..9代替1 10 11 12 .. 2 20

来自分类Dev

使用Android NDK C ++时出现致命信号11(SIGSEGV),代码1错误

来自分类Dev

尝试加载PNG纹理(Direct3D 11)时出现“未找到组件”错误

来自分类Dev

在Sublime Text 3中运行pygame时出现分段错误11

来自分类Dev

由于出现信号而导致命令失败:分段错误11-Xcode 8 Swift 3

来自分类Dev

Android从线程错误中调用jni方法(A / libc:致命信号11(SIGSEGV),代码1,在tid 13620(AsyncTask#3)中的故障加法器0xdeadbaad)

来自分类Dev

11:1 错误解析错误:意外令牌}

来自分类Dev

使用Pyinstaller创建.exe错误:程序集amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none找不到

来自分类Dev

错误:模块版本不匹配。预期为11,得到1

来自分类Dev

分段错误 11:尝试使用 cin 输入 B[1] 时

来自分类Dev

Pybind11:尝试在Python解释器中导入* .pyd时出现“ ImportError:找不到DLL”

来自分类Dev

Direct3D 11 / HLSL Texture3D <float3>错误错误?

来自分类Dev

Direct3D 11 / HLSL Texture3D <float3>错误错误?

来自分类Dev

AngularJS说1 + 1是11

来自分类Dev

安装了sqlite3,但仍然出现错误,找不到数据库客户端:sqlite3。检查您的$ PATH,然后重试。

来自分类Dev

Microsoft访问SQL错误-“找不到存储过程'test; 1”

来自分类Dev

收到此错误找不到'id'= 1的帖子

来自分类Dev

tftp-错误代码1:找不到文件

Related 相关文章

  1. 1

    出现错误,找不到bcrypt-3.1.11

  2. 2

    找不到-ljson11的库,但是找到-lsqlite 3

  3. 3

    我找不到细分错误:11错误

  4. 4

    出现未知错误。从<有效的本地路径>(-1)找不到存储库

  5. 5

    As3错误找不到错误

  6. 6

    “ python3 configure.py”期间出现PyQt5错误:致命错误:找不到“ qgeolocation.h”文件

  7. 7

    在代码中找不到错误(Project Euler #11 (Haskell))

  8. 8

    为什么会出现错误:(45,1)TS2304:找不到名称“角度”。在WebStorm中

  9. 9

    我无法运行TestNG测试,在控制台中出现“在类路径中找不到类:TestNG1”错误

  10. 10

    出现错误在Visual Studio 2013 Update 3中构建多设备混合应用程序时找不到模块'q'

  11. 11

    在Python3上存在问题:安装失败,出现一系列“找不到文件”错误

  12. 12

    可以排序以1 2 3 4..9代替1 10 11 12 .. 2 20

  13. 13

    使用Android NDK C ++时出现致命信号11(SIGSEGV),代码1错误

  14. 14

    尝试加载PNG纹理(Direct3D 11)时出现“未找到组件”错误

  15. 15

    在Sublime Text 3中运行pygame时出现分段错误11

  16. 16

    由于出现信号而导致命令失败:分段错误11-Xcode 8 Swift 3

  17. 17

    Android从线程错误中调用jni方法(A / libc:致命信号11(SIGSEGV),代码1,在tid 13620(AsyncTask#3)中的故障加法器0xdeadbaad)

  18. 18

    11:1 错误解析错误:意外令牌}

  19. 19

    使用Pyinstaller创建.exe错误:程序集amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none找不到

  20. 20

    错误:模块版本不匹配。预期为11,得到1

  21. 21

    分段错误 11:尝试使用 cin 输入 B[1] 时

  22. 22

    Pybind11:尝试在Python解释器中导入* .pyd时出现“ ImportError:找不到DLL”

  23. 23

    Direct3D 11 / HLSL Texture3D <float3>错误错误?

  24. 24

    Direct3D 11 / HLSL Texture3D <float3>错误错误?

  25. 25

    AngularJS说1 + 1是11

  26. 26

    安装了sqlite3,但仍然出现错误,找不到数据库客户端:sqlite3。检查您的$ PATH,然后重试。

  27. 27

    Microsoft访问SQL错误-“找不到存储过程'test; 1”

  28. 28

    收到此错误找不到'id'= 1的帖子

  29. 29

    tftp-错误代码1:找不到文件

热门标签

归档