[英]rvm rails can't find gem
I am using RVM 1.1.6, ruby 1.8.7-P302 and have installed l the linkedin gem with: gem install linkedin 我正在使用RVM 1.1.6,ruby 1.8.7-P302并已使用以下命令安装了linkedin gem:gem installlinkedin
gem list --local
listing gem list --local
列表中 require 'linkedin'
returns true require 'linkedin'
返回true But when I run script/server
, I get Missing these required gems: linkedin
and I am running out of hair to tear out. 但是,当我运行
script/server
,我会Missing these required gems: linkedin
而且我的头发Missing these required gems: linkedin
了。 Where have I gone wrong? 我哪里出问题了?
尝试在config/environment.rb
文件中添加config.gem 'linkedin'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.