Errors in Gemfile

前端 未结 2 1120
天命终不由人
天命终不由人 2021-01-25 22:57

I\'ve cloned my app from Github but I\'ve got errors on Gemfile. So I think, this app. is still running on heroku and it said that all up to date when I\'ve used following comma

2条回答
  •  误落风尘
    2021-01-25 23:33

    1- In reCAPTCHA project on Github there is not a branch rails3, so, remove that piece of your Gemfile.

    gem 'recaptcha', :require => 'recaptcha/rails'

    2- Since you are using ruby 2.2.x, and in Gemfile is 1.9.3 I suggest that you should install 1.9.3 (via rvm or via rvm or whatever you use to manage your ruby versions) in your machine and work with that in order to avoid other conflicts you may find, because you are using a legacy code.

    rvm install 1.9.3

    rvm use 1.9.3

    now install gem bundler and after that blundle install your Gemfile

提交回复
热议问题