Last active
August 29, 2015 14:02
-
-
Save Xjs/6df4ac9f091f9ee52b66 to your computer and use it in GitHub Desktop.
G'n'T stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jannis@fsmath seee $ bundle exec irb | |
1.9.3p194 :001 > require "./web/config/environment.rb" | |
=> true | |
1.9.3p194 :002 > m = Postoffice.ankuendigungsmail(1078) | |
Strahlungstransport in der Erdatmosphäre | |
ActionView::Template::Error: incompatible character encodings: ASCII-8BIT and UTF-8 | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/activesupport-3.2.11/lib/active_support/core_ext/string/output_safety.rb:135:in `concat' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/activesupport-3.2.11/lib/active_support/core_ext/string/output_safety.rb:135:in `concat' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/buffers.rb:11:in `<<' | |
from /home/jannis/seee/web/app/views/postoffice/ankuendigungsmail.de.text.erb:13:in `_app_views_postoffice_ankuendigungsmail_de_text_erb__1759068597082261996_30296460' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/template.rb:145:in `block in render' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/activesupport-3.2.11/lib/active_support/notifications.rb:125:in `instrument' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/template.rb:143:in `render' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/activesupport-3.2.11/lib/active_support/notifications.rb:123:in `block in instrument' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/activesupport-3.2.11/lib/active_support/notifications.rb:123:in `instrument' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/action_view/renderer/template_renderer.rb:45:in `render_template' | |
... 8 levels... | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:724:in `each_template' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:709:in `collect_responses_and_parts_order' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:648:in `mail' | |
from /home/jannis/seee/web/app/mailers/postoffice.rb:109:in `block in do_mail' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/i18n-0.6.1/lib/i18n.rb:246:in `with_locale' | |
from /home/jannis/seee/web/app/mailers/postoffice.rb:103:in `do_mail' | |
from /home/jannis/seee/web/app/mailers/postoffice.rb:26:in `ankuendigungsmail' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/abstract_controller/base.rb:167:in `process_action' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/abstract_controller/base.rb:121:in `process' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionpack-3.2.11/lib/abstract_controller/rendering.rb:45:in `process' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:458:in `process' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:452:in `initialize' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:439:in `new' | |
from /home/jannis/.rvm/gems/ruby-1.9.3-p194@gnt-eval/gems/actionmailer-3.2.11/lib/action_mailer/base.rb:439:in `method_missing' | |
from (irb):2 | |
from /home/jannis/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `<main>' | |
1.9.3p194 :003 > puts "".encoding | |
UTF-8 | |
=> nil | |
1.9.3p194 :004 > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login: &login | |
adapter: mysql | |
username: (Der Benutzername) | |
password: (Das Passwort) | |
socket: /var/run/mysqld/mysqld.sock | |
encoding: utf8 | |
development: | |
<<: *login | |
database: (Name der Datenbank) | |
production: | |
<<: *login | |
database: (Name der Datenbank) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment