我試圖用RVM在Mac OS X Lion的安裝磁懸浮,但運行如何在Mac OS X Lion上使用rvm安裝Maglev?
rvm install maglev
GitHub的頁面上的說明,只產生一個404錯誤:
curl: (22) The requested URL returned error: 404
ERROR: The requested url does not exist: 'http://glass-downloads.gemstone.com/maglev/MagLev-26852.Darwin-i386.tar.gz'
這似乎並沒有太大的幫助因爲它只是指出相應的文件在寶石服務器上不存在。谷歌似乎不知道這一點,所以我想在這裏問一個問題。然而,在這樣做之前,我嘗試了一些並且進一步跑步
rvm install maglev-head
如在一些博客文章中提到的那樣。這終於找到了一個合適的文件,下載了一堆東西並開始編譯。它開始看起來非常好,它說
Installing maglev to /[user-dir]/.rvm/rubies/maglev-head
在綠色,但不幸的是,它不會得到更多。說安裝後掛起
Creating default 'maglev' repository.
Generating maglev HTML documentation
Generating smalltalk FFI.
或至少它需要永遠(超過30分鐘)沒有說什麼。
在此時停止安裝仍然看起來很有希望給我
$ rvm list
rvm rubies
maglev-head [ x86_64 ]
可惜
rvm use maglev-head
結果
startstone[Info]: Starting Stone repository monitor 'maglev'.
startstone[Error]: Stone process (id=61119) has died.
startstone[Error]: Examine '/[user-dir]/.rvm/rubies/maglev-head/log/maglev/maglev.log' for more information. Excerpt follows:
不顯示的摘錄,甚至沒有停止。事實上日誌文件確實存在,並有一些錯誤信息,最有說服力的似乎是
GemStone is unable to open the file [email protected]#dbf!/[user-dir]/.rvm/rubies/maglev-head/data/maglev/extent/extent0.ruby.dbf
但是目錄確實存在,這將僅僅是因爲缺少文件,我希望服務器創建那一個在一個新的形象。不過,情況看起來並不太壞,因爲我得到
which irb
給我
/[user-dir]/.rvm/rubies/maglev-head/bin/irb
但是當我嘗試啓動IRB我得到
maglev-ruby: [Error] The MagLev server "maglev" is not running.
To fix this run "rake maglev:start" before running maglev-ruby.
但如果我叫耙任務按指示我再次得到
maglev-ruby: [Error] The MagLev server "maglev" is not running.
To fix this run "rake maglev:start" before running maglev-ruby.
把我放在遞歸因果關係循環中。嘗試使用
maglev start
像我一樣使用的shell腳本不起作用或者以前安裝開始用手磁懸浮服務器,再次給我
startstone[Info]: Starting Stone repository monitor 'maglev'.
startstone[Error]: Stone process (id=61400) has died.
startstone[Error]: Examine '/[user-dir]/.rvm/rubies/maglev-head/log/maglev/maglev.log' for more information. Excerpt follows:
不顯示的摘錄和懸掛。
任何幫助將不勝感激,因爲磁懸浮看起來像一個非常有前途的基礎設施。
嗯。它對我來說工作得很好,而且我會說安裝在<10分鐘內發生。 –
我試着重新安裝maglev,先通過'rvm uninstall maglev-head'卸載它,但那也無法正常工作。在安裝再次運行之前,我必須從'.rvm/src'手動刪除'maglev-head'和'GemStone ...'目錄。不幸的是,這次安裝在'生成smalltalk FFI.'上再次掛起了相當長的一段時間,雖然這次完成了,但是我的Stone進程又一次死亡。檢查'〜/ .rvm/rubies/maglev-head/log/maglev/maglev.log'再次告訴我很少,因爲啓動時服務器應創建所需的文件'extent0.ruby.dbf'(並且權限允許)。 – Patru