开发者

rvm rails can't find gem

开发者 https://www.devze.com 2023-01-31 01:42 出处:网络
I am using RVM 1.1.6, ruby 1.8.7-P302 and have installed l the linkedin gem with: gem install linkedin

I am using RVM 1.1.6, ruby 1.8.7-P302 and have installed l the linkedin gem with: gem install linkedin

  • the gem appears in the gem list --local开发者_运维百科 listing
  • and in the GEM_PATH directory
  • in irb require 'linkedin' returns true

But when I run script/server, I get Missing these required gems: linkedin and I am running out of hair to tear out. Where have I gone wrong?


Try adding config.gem 'linkedin' in the config/environment.rb file

0

精彩评论

暂无评论...
验证码 换一张
取 消