English 中文(简体)
4. 从来文方建起,不在澳门工作
原标题:Building Ruby from source on Mac, not working
  • 时间:2011-01-02 19:37:37
  •  标签:
  • ruby
  • upgrade

Im试图从Snow Leopard的源头建造Ruby 1.9.2,我不断发现这一错误:

readline.c: In function ‘username_completion_proc_call’:
readline.c:1292: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:1292: error: (Each undeclared identifier is reported only once
readline.c:1292: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [mkmain.sh] Error 1

下面是:

我已经安装了1.8.7,但希望升级到最近,并且尚未找到可靠、简单的方式。

问题回答

如果您对登上DVD的XCode版本进行了升级,则从

雪山安装了1.8.7,但用于 Apple果的用途;它们安装了实际上使用鲁比的代码,并安装了与其鲁比的薄膜或安装的代码,可以打破。 你们可能不知道会发生什么事情,直到事情不奏效,这样,你就能够更好地离开自己的设施,让你自己使用。

As said by other answers, RVM is a great way to install Ruby for your own use. You don t need to install into /usr/local/bin and you definitely don t want to overwrite the Ruby in /usr/bin. RVM deals with this by installing into ~/.rvm. You can have multiple Rubies installed, along with the gems associated with a Ruby, create sets of gems, copy them around, remove or recompile a particular Ruby, or blow it all away without affecting the Apple installed Rubyies. RVM is actively developed and updates often, and the author is very responsive to questions.

RRV有一个网页,涉及。 具体针对的是处理区域核查和核查机制,但如果你想放弃使用区域核查和核查机制,去做其他事情,则可能有所帮助。

页: 1 它迄今为止最容易地收集垃圾,并有许多其他好处。





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签