cannot load such file — readline (LoadError) when running heroku create --stack cedar

后端 未结 8 1112
猫巷女王i
猫巷女王i 2020-12-13 19:02

I\'m trying to deploy my Rails application to Heroku to test it out by following these instructions:

http://devcenter.heroku.com/articles/rails3#prerequisites

<
8条回答
  •  遥遥无期
    2020-12-13 19:19

    iltempo and buru's answers helped me:

    sudo apt-get install libreadline-dev
    
    rvm remove 1.9.3
    
    rvm install 1.9.3
    
    Then add to your Gemfile:
    
    gem 'rb-readline'
    

提交回复
热议问题