【问题标题】:Installing herouku on ubuntu 10.10在 ubuntu 10.10 上安装 heroku
【发布时间】:2011-02-01 21:02:40
【问题描述】:

我在尝试安装 heroku 时遇到以下错误。

arun@laptop:~/apps/pm$ sudo gem install heroku
Building native extensions.  This could take a while...
ERROR:  Error installing heroku:
    ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
    from extconf.rb:1


Gem files will remain installed in /var/lib/gems/1.8/gems/json-1.4.6 for inspection.
Results logged to /var/lib/gems/1.8/gems/json-1.4.6/ext/json/ext/generator/gem_make.out
arun@laptop:~/apps/pm$ 

【问题讨论】:

    标签: ubuntu heroku gem


    【解决方案1】:

    看起来很像this issue

    这个问题解决了

    sudo apt-get install ruby1.8-dev
    

    【讨论】:

    • 我能够安装 heroku.. 但所有 heroku 命令都不起作用。 “heroku:找不到命令”
    • 您需要将它添加到路径才能运行它。就我而言,它位于 /var/lib/gems/1.8/bin
    猜你喜欢
    • 1970-01-01
    • 2011-08-11
    • 2011-07-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-05
    相关资源
    最近更新 更多