试图安装宝石设计 [英] Trying to install gem devise

查看:120
本文介绍了试图安装宝石设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在添加宝石文件时遇到问题: gem'devise'。当我添加它升华,然后去终端,并做捆绑安装,我收到一个错误。这是我得到的:

I am having a problem adding the gem file: gem 'devise'. When I add it to sublime and then go to the terminal and do bundle install, I get an error. This is what I get:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

An error occured while installing bcrypt (3.1.7), and Bundler cannot continue.
Make sure that `gem install bcrypt -v '3.1.7'` succeeds before bundling.  (I have no idea what this means)

我正在录制视频后的一个月Rails课程教程。

I am working on the One Month Rails course following the video tutorials.

推荐答案

您的ruby开发库未安装
安装ruby 1.9-dev软件包或类似的dev软件包,再试一次,你可以使用rvm。

Your ruby development library isn't installed install the ruby 1.9-dev package or similar dev package, and try again else you could use rvm.

这篇关于试图安装宝石设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆