Trouble including httparty in ruby on rails

前端 未结 6 1548
迷失自我
迷失自我 2021-02-18 23:16

I\'ve been trying to use HTTParty in my rails code

sudo gem install httparty

From the command line I can now successfully do

ht         


        
6条回答
  •  抹茶落季
    2021-02-18 23:59

    I run into the same error whilst reviewing a project from a student, I change the name of the Gem from uppercase to lowercase then run bundle install. I then went ahead to change the format in which they were being imported from require 'HTTParty' to require 'httparty' and boom it worked

提交回复
热议问题