I am having some problems with my default encodings within RubyMine.
I'm running a sinatra application using thin. I am running it within RubyMine.
I'm using version 3.2.4 build #RM-107.612, and I'm running is on OSX-Lion
When I run my application using thin via RubyMine I get the following error:
invalid byte sequence in US-ASCII
When I run the application by starting the thin server on the command line, I do not get this errorm everything works correctly. As I start the thin server I inserted a puts statement:
When I start up thin in Ruby Mine the output is:
When I start up thin on the Command Line the output is:
The difference is that the Command line is using the system defaults as shown below.
Where is RubyMine getting these encoding values from?, and how do you configure Ruby Mine to use the system defaults? Based on my research, I can change it in Ruby Mine -> Preferences -> File Encodings ... however, that menu doesn't exist, and I can't find anything comprable.