Sqlite3 gem for Rails 3.1

前端 未结 3 1817
挽巷
挽巷 2021-01-13 23:45

I wanna create myApp using command

rails new myApp

but it gives an error:

Installing sqlite3 (1.3.4) wit

3条回答
  •  时光说笑
    2021-01-14 00:52

    I've found it pretty helpful to run this command whenever I install rails anew on Ubuntu. This normally takes care of the super common zlib and sqlite3 errors.

    /usr/bin/apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev

提交回复
热议问题