Skip to content
Browse files

Use 10.6 system ruby for reading marshaled ruby objects.

  • Loading branch information...
1 parent b107a99 commit d70de8e12a152673b79448520b1eec070e3d6547 @kommen kommen committed with andrewfromcali
Showing with 1 addition and 1 deletion.
  1. +1 −1 data_AppDelegate.m
2 data_AppDelegate.m
@@ -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 =\"/tmp/mc_data\"); puts Marshal.load(; f.close", nil]];
[myTask setStandardOutput: [NSFileHandle
fileHandleForWritingAtPath: tempFile]];

0 comments on commit d70de8e

Please sign in to comment.
Something went wrong with that request. Please try again.