Skip to content

Commit

Permalink
Use 10.6 system ruby for reading marshaled ruby objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
kommen authored and andrewfromcali committed Apr 26, 2010
1 parent b107a99 commit d70de8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_AppDelegate.m
Expand Up @@ -82,7 +82,7 @@ - (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)rowIndex {
[[NSFileManager defaultManager] createFileAtPath:@"/tmp/mc_data" contents:value attributes: nil];

NSTask *myTask = [[NSTask alloc] init];
[myTask setLaunchPath: @"/usr/local/bin/ruby"];
[myTask setLaunchPath: @"/usr/bin/ruby"];
[myTask setArguments: [NSArray arrayWithObjects:@"-e", @"f = File.open(\"/tmp/mc_data\"); puts Marshal.load(f.read).inspect; f.close", nil]];
[myTask setStandardOutput: [NSFileHandle
fileHandleForWritingAtPath: tempFile]];
Expand Down

0 comments on commit d70de8e

Please sign in to comment.