2010-01-02 116 views
2

我想看看這個東西叫做SproutCore的,入門SproutCore的Windows 7上

我需要安裝一些東西,我真的不知道該怎麼做,任何人都可以幫忙嗎?

我需要紅寶石,紅寶石的寶石,和一些其他的東西......

我在哪裏可以找到適用於Windows

回答

2

在你的位置上這東西的一些信息,我會用SproutCore Wiki開始,尤其是Install部分。如果它非常非Windows的事實讓你感到恐慌,請喝一杯Install SproutCore for Dummies - Windows

希望有幫助!

+1

我應該認爲SproutCore開發人員不歡迎windows dev嗎? – 2010-07-07 10:47:20

+0

我想是的,我試圖找到一種方法來安裝發芽核心,而不使用他們的構建工具,並且不使用紅寶石,而且似乎很難做到這一點:/ – 2010-11-23 09:58:38

3

Install SproutCore for Dummies文檔已從該鏈接中刪除,似乎不在新的存儲庫中。

要安裝SproutCore,您應該先安裝Ruby。這很簡單:去http://www.rubyinstaller.org,下載安裝程序。

現在你可以試試gem install sproutcore。這會產生一條消息,指出缺少開發工具 - 開發工具也可從http://www.rubyinstaller.org獲得。

現在,當我嘗試gem install sproutcore它說:

Temporarily enhancing PATH to include DevKit... 
Building native extensions. This could take a while... 

GCC運行了一下,然後噴出了:

cmain.cpp: In function 'int evma_send_file_data_to_connection(long unsigned int, const char*)': 
cmain.cpp:752:6: error: cannot convert 'stat*' to '_stati64*' for argument '2' to 'int _fstati64(int, _stati64*)' 
make: *** [cmain.o] Error 1 

這就是據我得到了。

+0

對我來說同樣的錯誤...... :( – 2011-02-16 17:04:06

+1

使用ruby 1.8.7修正而不是1.9.1 – 2011-02-16 17:15:43

+0

我的經驗是,如果您在Windows計算機上運行Ruby,並且您看到「構建原生擴展」文本,那麼它會炸燬你。可能是gem dependency只有某些版本可以在x86環境下運行,我開始在PC上使用Ubuntu的VirtualBox,並且沒有任何問題,但我不想成爲那些說'獲得另一個操作系統'的人之一,但是實際上你可能不得不在某個時候嘗試。 – PhillipKregg 2012-01-19 18:37:31

0

我遲到了,但我想我應該分享這個blog post

它以相當詳細的方式描述了我如何在我的Windows 7 筆記本電腦上安裝ruby和Sproutcore。

0

我剛從頭做起,第一次工作。如果你想阻止紅寶石去here。按照所有說明進行操作,並確保安裝開發套件。然後去here安裝Sproutcore。這是蛋糕。我已經在Windows 7 x64上安裝了它。