首先:我以前从未与Smalltalk合作过,所以这对我来说有点文化冲击。我正在使用Squeak 5.1(32位)。从GitHub仓库安装Smalltalk项目
现在我的问题:我想从GitHub存储库安装Smalltalk项目。我使用此代码成功安装Metacello,在成绩单执行它:
"Get the Metacello configuration (for Squeak users)"
Installer gemsource
project: 'metacello';
addPackage: 'ConfigurationOfMetacello';
install.
"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project
version: #'previewBootstrap') load.
"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
configuration: 'MetacelloPreview';
version: #stable;
repository: 'github://dalehenrich/metacello-work:configuration';
load.
"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
get.
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
load.
而且我还安装使用此代码的Metacello脚本API:
Installer gemsource
project: 'metacello';
install: 'ConfigurationOfMetacello'.
如果我现在想从GitHub的安装项目库,例如这样的:
Metacello new
baseline: 'Animations';
repository: 'github://hpi-swa/animations/repository';
load.
然后我百达得到这个错误:
gofer repository error: 'GoferRepositoryError: UndefinedObject>>thisOSProcess'...ignoring
我错过了什么吗?
的'OSProcess'包似乎缺少负载OSProcess。你在做什么操作系统? –
我重复了您在Mac上全新安装中描述的相同步骤,并且它工作得很好。 –
@MaxLeske我在Windows上工作,并使用Squeak的一体化版本(应该在Windows,Mac和Linux上运行)。 –