我刚买了一台新的MacBookPro(显然是带ML的)。我要做的第一件事是安装开发工具。我用rvm安装了Ruby,还安装了Homebrew。我必须下载XCode命令行工具。$gcc-vUsingbuilt-inspecs.Target:i686-apple-darwin11Configuredwith:/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure--disable-checking--enable-werror--prefix=/Applications/Xcode.app/Contents/Develope
我不想使用来自Ruby的growl通知。我想使用MountainLion的native系统通知。我们有任何gem可以做到这一点吗? 最佳答案 您可以使用terminal-notifier当然它只是包装了terminal-notifiercommand-linetool 关于ruby-MountainLion中Ruby的系统通知绑定(bind),我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/quest
我正在尝试在Lion上安装32位版本的Ruby,以便我可以使用Oracle进行一些工作。但是我无法构建它。对于1.9.3-p0,这是我得到的:linkingminirubyi686-apple-darwin11-gcc-4.2.1:i386:Nosuchfileordirectorymake:***[miniruby]Error1我的构建变量如下:CC=/usr/bin/gcc-4.2LD=ldLDSHARED=/usr/bin/gcc-4.2-dynamic-bundleCFLAGS=-O3-ggdb-Wextra-Wno-unused-parameter-Wno-parenthes
我正在尝试在MACOSXLion上安装Ruby1.9.3和Rails。(我的Xcode是4.3版)(我已经安装了Rails3.2.2)无论我是否使用:rvminstall1.9.3--with-gcc=clang或:rvminstall1.9.3我的终端显示:Errorrunning'make',pleaseread/Users/AlexHo/.rvm/log/ruby-1.9.3-p125/make.logTherehasbeenanerrorwhilerunningmake.Haltingtheinstallation.有没有人遇到过同样的情况?AlexHo@Nien-Yi-Hos
我在使用新的OSXMountainLionInstall编译PhusionPassenger时遇到问题。你有什么建议吗?InstallingPhusionPassengerStandalone...[*******************************]CompilingPhusionPassenger...***ERROR:thefollowingcommandfailed:mkdir-p'ext/ruby/ruby-1.9.3-x86_64-macosx/'cd'ext/ruby/ruby-1.9.3-x86_64-macosx/'&&/Users/boris/.rvm/
我在全新安装的OSXLion上通过RVM安装了Ruby1.9.2。我已经通过Homebrew软件安装了ghostscript和imagemagick,当使用RVM运行geminstallrmagick时,它失败了。在ruby的系统安装上使用geminstallrmagick时,它工作得很好。这是产生的错误:─wedtm@WedHQ~/.rvm/gems/ruby-1.9.2-p290/cache‹ruby-1.8.7›╰─$geminstallrmagick1↵Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorins
我可以在运行MountainLion的Mac上安装任何Ruby版本我已确保BrewDoctor一切正常。当我运行iervmintall1.9.3-head时,我得到以下信息。Fromgit://github.com/ruby/ruby*branchruby_1_9_3->FETCH_HEADAlreadyup-to-date.Copyingfromrepotosrcpath...ruby-1.9.3-head-#autoreconfruby-1.9.3-head-#configuringruby-1.9.3-head-#compilingErrorrunning'make',pleas
我正在尝试安装ImageMagick和RMagic,因为它们在OSXLion升级后不起作用。当我跑的时候brewinstallimagemagick我得到了错误Error:Youmust`brewlinklibpng'beforeimagemagickcanbeinstalled但是当我按照错误消息中提到的那样运行brewlinklibpng时,我会得到:Error:Youmust`brewlinklibpng'beforeimagemagickcanbeinstalledRadek-Macs-MacBook-Pro-3:sharelock-stagingradek$brewlinkl
尝试在我的LionGM开发环境中设置RubyonRails,但遇到了一些问题。安装了rvm,当我尝试安装ruby时,在我的i5iMAc上使用rvminstall1.9.2总是会出错。它到达ruby-1.9.2-p180-#compiling并停止并显示以下错误消息:ERROR:Therehasbeenanerrorwhilerunningmake.Haltingtheinstallation.update_terminal_cwd;inthelogigetthefollowing.ImalsousingXcode4.2forlion.Thanks.[2011-07-0412:26:
我不知道如何解决这个问题。我重新安装了之前缺少的Xcode命令行工具-但问题仍然存在。Compass和CodeKit没有按预期工作。知道要做什么吗?Marcs-Mac-mini:~marc$gemupdate--systemErrorloadingRubyGemsplugin"/Users/marc/.rvm/gems/ruby-2.1.0@global/gems/executable-hooks-1.3.1/lib/rubygems_plugin.rb":ERROR:Failedtobuildgemnativeextension./usr/local/Cellar/ruby/2.1.