Trouble including httparty in ruby on rails

前端 未结 6 1545
迷失自我
迷失自我 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:54

    1)include the httpary in your gemfile

    open your gem file then add

     gem 'httparty','YOUR VERSION NUMBER'
    

    2) run bundle install in your command prompt of the app file

    3) restart the server

提交回复
热议问题