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

后端 未结 8 1109
猫巷女王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:07

    If you happen to be using rbenv on Ubuntu

    sudo apt-get install libreadline-dev
    CONFIGURE_OPTS="--with-readline-dir=/usr/include/readline" rbenv install 1.9.3-p125
    

    as written up at http://vvv.tobiassjosten.net/ruby/readline-in-ruby-with-rbenv/

提交回复
热议问题