简体   繁体   中英

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

  • 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?

尝试在config/environment.rb文件中添加config.gem 'linkedin'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM