bundle指令安装不上新的gem

weixin_43949728 weixin_43949728 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我下载了react-rails.gem和responders.gem,在gem list可以看到,但是bundle后用bundle info [gemname]却显示没有安装。本人小白,想问一下如何解决啊







C:\Users\10659\item_cart>gem list

*** LOCAL GEMS ***

actioncable (6.0.2.1, 6.0.1)
actionmailbox (6.0.2.1, 6.0.1)
actionmailer (6.0.2.1, 6.0.1)
actionpack (6.0.2.1, 6.0.1)
actiontext (6.0.2.1, 6.0.1)
actionview (6.0.2.1, 6.0.1)
activejob (6.0.2.1, 6.0.1)
activemodel (6.0.2.1, 6.0.1)
activerecord (6.0.2.1, 6.0.1)
activestorage (6.0.2.1, 6.0.1)
activesupport (6.0.2.1, 6.0.1)
addressable (2.7.0)
babel-source (5.8.35)
babel-transpiler (0.7.0)
bigdecimal (default: 1.4.1)
bindex (0.8.1)
bootsnap (1.4.5)
builder (3.2.4)
bundler (2.1.3, default: 1.17.2)
byebug (11.0.1)
capybara (3.30.0, 3.29.0)
childprocess (3.0.0)
cmath (default: 1.0.0)
concurrent-ruby (1.1.5)
connection_pool (2.2.2)
crass (1.0.5)
csv (default: 3.0.9)
date (default: 2.0.0)
dbm (default: 1.0.0)
did_you_mean (1.3.0)
e2mmap (default: 0.1.0)
erubi (1.9.0)
etc (default: 1.0.1)
execjs (2.7.0)
fcntl (default: 1.0.0)
ffi (1.11.3 x64-mingw32)
fiddle (default: 1.0.0)
fileutils (default: 1.1.0)
foreman (0.86.0)
forwardable (default: 1.2.0)
gdbm (default: 2.0.0)
globalid (0.4.2)
i18n (1.7.0, 0.7.0)
io-console (default: 0.4.7)
ipaddr (default: 1.2.2)
irb (default: 1.0.0)
jbuilder (2.9.1)
json (default: 2.1.0)
lll (1.14.1)
logger (default: 1.3.0)
loofah (2.4.0)
mail (2.7.1)
marcel (0.3.3)
matrix (default: 0.1.0)
method_source (0.9.2)
mimemagic (0.3.3)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.13.0, 5.11.3)
msgpack (1.3.1 x64-mingw32)
mutex_m (default: 0.1.0)
net-telnet (0.2.0)
nio4r (2.5.2)
nokogiri (1.10.7 x64-mingw32)
openssl (default: 2.1.2)
ostruct (default: 0.1.0)
pg (1.2.1 x64-mingw32, 1.2.0 x64-mingw32)
power_assert (1.1.3)
prime (default: 0.1.0)
psych (default: 3.1.0)
public_suffix (4.0.2, 4.0.1)
puma (4.3.1)
rack (2.0.8, 2.0.7)
rack-proxy (0.6.5)
rack-test (1.1.0)
rails (6.0.2.1, 6.0.1)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.3.0)
railties (6.0.2.1, 6.0.1)
rake (13.0.1, 12.3.2, 10.4.2)
rdoc (default: 6.1.2)
react-rails (2.6.1, 2.6.0)
regexp_parser (1.6.0)
responders (3.0.0)
rexml (default: 3.1.9)
rss (default: 0.2.7)
rubyzip (2.0.0)
sass-rails (6.0.0)
sassc (2.2.1 x64-mingw32)
sassc-rails (2.1.2)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
selenium-webdriver (3.142.7, 3.142.6)
shell (default: 0.7)
sprockets (4.0.0)
sprockets-rails (3.2.1)
sqlite3 (1.4.2, 1.4.1)
sqlite3-ruby (1.3.3)
stringio (default: 0.0.2)
strscan (default: 1.0.0)
sync (default: 0.5.0)
test-unit (3.2.9)
thor (1.0.1, 0.20.3)
thread_safe (0.3.6)
thwait (default: 0.1.0)
tilt (2.0.10)
tracer (default: 0.1.0)
turbolinks (5.2.1)
turbolinks-source (5.2.0)
tzinfo (1.2.6, 1.2.5)
tzinfo-data (1.2019.3)
web-console (4.0.1)
webdrivers (4.2.0, 4.1.3)
webpacker (4.2.2)
webrick (default: 1.4.2)
websocket-driver (0.7.1)
websocket-extensions (0.1.4)
xmlrpc (0.3.0)
xpath (3.2.0)
zeitwerk (2.2.2)
zlib (default: 1.0.0)

C:\Users\10659\item_cart>bundle
Using rake 13.0.1
Using concurrent-ruby 1.1.5
Using i18n 1.7.0
Using minitest 5.13.0
Using thread_safe 0.3.6
Using tzinfo 1.2.6
Using zeitwerk 2.2.2
Using activesupport 6.0.2.1
Using builder 3.2.4
Using erubi 1.9.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.7 (x64-mingw32)
Using rails-dom-testing 2.0.3
Using crass 1.0.5
Using loofah 2.4.0
Using rails-html-sanitizer 1.3.0
Using actionview 6.0.2.1
Using rack 2.0.8
Using rack-test 1.1.0
Using actionpack 6.0.2.1
Using nio4r 2.5.2
Using websocket-extensions 0.1.4
Using websocket-driver 0.7.1
Using actioncable 6.0.2.1
Using globalid 0.4.2
Using activejob 6.0.2.1
Using activemodel 6.0.2.1
Using activerecord 6.0.2.1
Using mimemagic 0.3.3
Using marcel 0.3.3
Using activestorage 6.0.2.1
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailbox 6.0.2.1
Using actionmailer 6.0.2.1
Using actiontext 6.0.2.1
Using public_suffix 4.0.2
Using addressable 2.7.0
Using bindex 0.8.1
Using msgpack 1.3.1 (x64-mingw32)
Using bootsnap 1.4.5
Using bundler 1.17.2
Using byebug 11.0.1
Using regexp_parser 1.6.0
Using xpath 3.2.0
Using capybara 3.30.0
Using childprocess 3.0.0
Using ffi 1.11.3 (x64-mingw32)
Using jbuilder 2.9.1
Using method_source 0.9.2
Using puma 4.3.1
Using rack-proxy 0.6.5
Using thor 1.0.1
Using railties 6.0.2.1
Using sprockets 4.0.0
Using sprockets-rails 3.2.1
Using rails 6.0.2.1
Using rubyzip 2.0.0
Using sassc 2.2.1 (x64-mingw32)
Using tilt 2.0.10
Using sassc-rails 2.1.2
Using sass-rails 6.0.0
Using selenium-webdriver 3.142.7
Using sqlite3 1.4.2
Using turbolinks-source 5.2.0
Using turbolinks 5.2.1
Using tzinfo-data 1.2019.3
Using web-console 4.0.1
Using webdrivers 4.2.0
Using webpacker 4.2.2
Bundle complete! 14 Gemfile dependencies, 70 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

C:\Users\10659\item_cart>bundle info responders
Could not find gem 'responders'.
...全文

相关推荐

hello::waving_hand:您好,GitHub

你好,GitHub 设置 gem install bundler bundle install 本地开发人员 bundle exec jekyll serve 然后,打开浏览器到 。

罗志鹏铂涛全品牌投发

Rails bundle命令安装mysql gem包出错的解决方法

解决 Rails bundle 安装不上 mysql gem包的问题 环境 ubuntu 12.04 ruby-2.1.1 首先 新建一个的一个项目,在该项目上执行 bundle install 提示 代码如下: … Make sure that gem install mysql2 -v ‘0.3.16’; succeeds before bundling …. 感觉非常奇怪 最后console提示 代码如下: … /home/wh/.rvm/gems/ruby-2.1.1@xxx/extensions/x86_64-linux/2.1.0/mysql2-0.3.16/gem_make.

weixin_38704485

Ruby环境下安装使用bundler来管理多版本的gem

主要介绍了Ruby环境下安装使用bundler来管理多版本的gem的方法,举了Ruby On Rails中的应用实例来进行演示,需要的朋友可以参考下

weixin_38690545

bundle-diff:用于显示捆绑 gem 与最新版本的差异的 Bundler 插件

捆绑差异 Bundler 插件,用于显示捆绑 gem 与最新版本的差异。 安装 $ gem install bundle-diff 用法 $ bundle diff GEMNAME 提示:使用bundle outdated列出已安装的 gems 并提供较新的版本。

楼小雨

Ruby中gem包管理器的用法及用bundler来管理多版本的gem

gem是Ruby环境中的包管理器,好比于Python中的pip与JavaScript本地Node.js的npm,非常有名和强大,下面就来看一下Ruby中gem包管理器的用法及用bundler来管理多版本的gem的方法:

weixin_38747144
评论 1
收藏 已收藏
分享
返回顶部
weixin_43949728
Ruby/Rails 2,763 成员 1,761 内容