Bundle install failed due to unf_ext (0.0.5) gem

前端 未结 4 999
面向向阳花
面向向阳花 2021-02-08 08:59

I have installed ruby 1.9.3p327 & rails 3.2.8 using rvm on centos 6.3. But while doing bundle install for a particular project folder, the process fails in between when it t

相关标签:
4条回答
  • 2021-02-08 09:39

    I resolved the issue by installing libstdc++-devel using yum install gcc-c++ libstdc++-devel

    0 讨论(0)
  • 2021-02-08 09:51

    This error comes when you don't have supporting libraries to compile the gem try to install the following packages

    sudo apt-get install build-essential 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 automake libtool bison
    

    then do a bundle install

    0 讨论(0)
  • 2021-02-08 09:52

    Thanks Suman. But I resolved the issue by installing libstdc++-devel using yum install gcc-g++ libstdc++-devel.

    0 讨论(0)
  • 2021-02-08 09:55

    On Ubuntu I only needed to do

    sudo apt-get install build-essential
    

    to fix this.

    (for the record I'm on a freshly-built Ubuntu 12.10 Server X64)

    0 讨论(0)
提交回复
热议问题