Heroku installation on Ubuntu Lucid Lynx is broken

I'm trying to get a Ruby on Rails application hosted anywhere, and Heroku looks like my last resource. It is assumed that it works on Linux, and the stone is mounted without errors, but whenever I run a Heroku command, it spits out a few errors, everyone connects and speaks of an unsuccessful "necessity". I looked at it in code and it says:

require 'readline'  

That's all.

I tried to install all the libreadline options that I can find and think about, but none of this matters. Any ideas here?

+3
source share
3 answers

, Ruby readline. , configure readline. , , .

Ruby , RVM

  • RVM,
  • libreadline-dev

    $ sudo apt-get install libreadline-dev

  • ruby ​​(, 1.8.7)

    $ rvm install 1.8.7

    $ rvm --default 1.8.7

  • RVM

    $ gem install rails heroku taps ... # sudo!

  • , .

  • , :

    $ cd ~/.rvm/src/ruby-1.8.7-p299/ext/readline

    $ ruby extconf.rb

    $ make

    $ make install

+4

Ubuntu ruby-full libreadline-ruby , . , , - . , ruby-full.

script Rails , Ubuntu. Heroku ( ). , , -, .

ruby-full , Bjg ruby ​​ RVM.

+2

, . readline.so, ( - ), , Ruby readline, . , , , , . !

0
source

Source: https://habr.com/ru/post/1755341/


All Articles