Site Archives osx
Bundler, OSX and the MysqlCompat::MysqlRes error
If you get the uninitialized constant MysqlCompat::MysqlRes error when trying to run your Rails app all the evidence points to it being a 32 v 64 bit issue. However, I had built mysql for the x86_64 architecture and the mysql gem installed was also for 64 bits. So why was I still getting this error. […]
Cross platform fun
While debugging some test problems with the T2 code I discovered some issues between OSX and Windows regards file paths and line breaks. Seems that instead of just
inputs.put(”fileUrl”, LocalworkerTranslator.class.getResource( “/AAC4_HUMAN.sp”).getFile());
you have to ensure that the absolute path is correct by doing
URI uri = LocalworkerTranslator.class.getResource(”/AAC4_HUMAN.sp”) .toURI();
File newFile = new File(uri);
inputs.put(”fileUrl”, newFile.getAbsolutePath());
Also, you can’t expect checks for […]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


