tanizawa
2013-Jul-09 00:53 UTC
Details of erb error in the development environment does not appear
hi,all Details of the error of the controller are displayed correctly on the screen. details of the error of erb (view) is not displayed, it is displayed for only a ''We''re sorry, but something went wrong.'' and. It looked like this, and see the log file. Processing by MenusController # index as HTML ? [1m? [36mMenu Load (0.1ms)? [0m? [1mSELECT "menus". * FROM "menus"? [0m Rendered menus / index.html.erb within layouts / application (31.6ms) Completed 500 Internal Server Error in 62ms I think because it is display of error of erb fine with mac another, is only a matter of environment of rails or ruby, please tell us who it is understood solution. My environment is the following. ruby: ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.2.0] Gems included by the bundle: * Actionmailer (3.2.13) * Actionpack (3.2.13) * Activemodel (3.2.13) * Activerecord (3.2.13) * Activeresource (3.2.13) * Activesupport (3.2.13) * Arel (3.0.2) * Builder (3.0.4) * Bundler (1.3.0.pre.7) * Coffee-rails (3.2.2) * Coffee-script (2.2.0) * Coffee-script-source (1.6.3) * Erubis (2.7.0) * Execjs (1.4.0) * Hike (1.2.3) * I18n (0.6.1) * Journey (1.0.4) * Jquery-rails (3.0.2) * Json (1.8.0) * Mail (2.5.4) * Mime-types (1.23) * Multi_json (1.7.7) * Polyglot (0.3.3) * Rack (1.4.5) * Rack-cache (1.2) * Rack-ssl (1.3.3) * Rack-test (0.6.2) * Rails (3.2.13) * Railties (3.2.13) * Rake (10.1.0) * Rdoc (3.12.2) * Sass (3.2.9) * Sass-rails (3.2.6) * Sprockets (2.2.2) * Sqlite3 (1.3.7) * Thor (0.18.1) * Tilt (1.4.1) * Treetop (1.4.14) * Tzinfo (0.3.37) * Uglifier (2.1.1) IDE: rubymine5.4 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/465620f8-9ddc-42e2-a07c-e541a2976606%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
tanizawa
2013-Jul-09 04:29 UTC
Re: Details of erb error in the development environment does not appear
Has been resolved. It was due to directory name is the Japanese had entered the middle of the project 2013年7月9日火曜日 9時53分28秒 UTC+9 tanizawa:> > hi,all > Details of the error of the controller are displayed correctly on the > screen. > details of the error of erb (view) is not displayed, it is displayed for > only a ''We''re sorry, but something went wrong.'' and. > It looked like this, and see the log file. > Processing by MenusController # index as HTML > ? [1m? [36mMenu Load (0.1ms)? [0m? [1mSELECT "menus". * FROM "menus"? > [0m > Rendered menus / index.html.erb within layouts / application (31.6ms) > Completed 500 Internal Server Error in 62ms > > I think because it is display of error of erb fine with mac another, is > only a matter of environment of rails or ruby, > please tell us who it is understood solution. > > > My environment is the following. > ruby: ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.2.0] > Gems included by the bundle: > * Actionmailer (3.2.13) > * Actionpack (3.2.13) > * Activemodel (3.2.13) > * Activerecord (3.2.13) > * Activeresource (3.2.13) > * Activesupport (3.2.13) > * Arel (3.0.2) > * Builder (3.0.4) > * Bundler (1.3.0.pre.7) > * Coffee-rails (3.2.2) > * Coffee-script (2.2.0) > * Coffee-script-source (1.6.3) > * Erubis (2.7.0) > * Execjs (1.4.0) > * Hike (1.2.3) > * I18n (0.6.1) > * Journey (1.0.4) > * Jquery-rails (3.0.2) > * Json (1.8.0) > * Mail (2.5.4) > * Mime-types (1.23) > * Multi_json (1.7.7) > * Polyglot (0.3.3) > * Rack (1.4.5) > * Rack-cache (1.2) > * Rack-ssl (1.3.3) > * Rack-test (0.6.2) > * Rails (3.2.13) > * Railties (3.2.13) > * Rake (10.1.0) > * Rdoc (3.12.2) > * Sass (3.2.9) > * Sass-rails (3.2.6) > * Sprockets (2.2.2) > * Sqlite3 (1.3.7) > * Thor (0.18.1) > * Tilt (1.4.1) > * Treetop (1.4.14) > * Tzinfo (0.3.37) > * Uglifier (2.1.1) > IDE: rubymine5.4 > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/90c43a6f-a555-4bfe-80af-4fa9a711ee76%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.