Skip to content

Instantly share code, notes, and snippets.

@DriesS
Created June 5, 2012 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DriesS/2874564 to your computer and use it in GitHub Desktop.
Save DriesS/2874564 to your computer and use it in GitHub Desktop.
Command Line export
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % echo $LC_CTYPE
nl_BE.UTF-8
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % ruby -e 'p __ENCODING__'
#<Encoding:UTF-8>
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % rails s
zsh: correct 'rails' to 'tail' [nyae]? n
=> Booting WEBrick
=> Rails 3.2.2 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/dries/.rvm/gems/ruby-1.9.2-p180@bentoengine/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:469:in `load': /Users/dries/Sites/bentostore/app/models/order.rb:171: invalid multibyte char (US-ASCII) (SyntaxError)
/Users/dries/Sites/bentostore/app/models/order.rb:171: invalid multibyte char (US-ASCII)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment