2011-11-12 52 views
0

我已经通过brew install sbt安装了sbt 0.11.x。问题是,我也需要使用0.7.x,但我找不到安装它的方法。如何在安装0.11.x之后通过自制软件安装sbt 0.7.x?

我试过brew versions sbt,但我得到的只是一堆警告

$ brew versions sbt 
0.11.0 git checkout e2cdafd /usr/local/Library/Formula/sbt.rb 
0.10.1 git checkout ed6327a /usr/local/Library/Formula/sbt.rb 
0.10.0 git checkout acf6b3c /usr/local/Library/Formula/sbt.rb 
Warning: Version of sbt could not be determined for 36d0c62. 
Warning: Version of sbt could not be determined for d320664. 
Warning: Version of sbt could not be determined for 0476235. 
Warning: Version of sbt could not be determined for 5e51224. 
Warning: Version of sbt could not be determined for ca753a3. 
Warning: Version of sbt could not be determined for 1c9b260. 
Warning: Version of sbt could not be determined for d0efd9e. 
Warning: Version of sbt could not be determined for 9d78f97. 
Warning: Version of sbt could not be determined for b9c7891. 
Warning: Version of sbt could not be determined for f78bb10. 
Warning: Version of sbt could not be determined for 5aeb38e. 
Warning: Version of sbt could not be determined for 07cd287. 
Warning: Version of sbt could not be determined for b84b3e0. 
Warning: Version of sbt could not be determined for a82e823. 
Warning: Version of sbt could not be determined for 7702e83. 
Warning: Version of sbt could not be determined for 9909fd4. 
0.5.3 git checkout e28616b /usr/local/Library/Formula/sbt.rb 

我目前在OS X Lion中运行自制软件0.8。

回答

1

我不知道为什么自制软件找不到合适的版本,但是您可以运行git show $SHA,其中$SHA是brew中找不到的每个缩写sha1。找到提交消息告诉你它将sbt更新为0.7.x的地方,然后使用那个。

相关问题