Permalink
Browse files

Use 10.6 system ruby for reading marshaled ruby objects.

  • Loading branch information...
kommen authored and andrewfromcali committed Apr 23, 2010
1 parent b107a99 commit d70de8e12a152673b79448520b1eec070e3d6547
Showing with 1 addition and 1 deletion.
  1. +1 −1 data_AppDelegate.m
View
@@ -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]];

0 comments on commit d70de8e

Please sign in to comment.