I try to develop ruby with netbeans and mysql.I try to generate controller XXX and views YYY and I try access my tested web.But it shows me We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly What''s wrong. I used WEbrick as server Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Try to set config.action_controller.consider_all_requests_local = true for your development environment It will show proper Exeption message instead of "We''re sorry, but something went wrong." On 23 сент. 2010, at 10:44, Tanawat Limungkura wrote:> I try to develop ruby with netbeans and mysql.I try to generate > controller XXX and views YYY and I try access my tested web.But it shows > me > We''re sorry, but something went wrong. > We''ve been notified about this issue and we''ll take a look at it shortly > > What''s wrong. I used WEbrick as server > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 23 September 2010 08:44, Tanawat Limungkura <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I try to develop ruby with netbeans and mysql.I try to generate > controller XXX and views YYY and I try access my tested web.But it shows > me > We''re sorry, but something went wrong. > We''ve been notified about this issue and we''ll take a look at it shortlyHave a look in log/development.log for more information (assuming you are running in development mode). Possibly you have not setup the database connection in config/database.yml. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Try to set config.action_controller.consider_all_requests_local = true for your development environment It will show proper Exeption message instead of "We''re sorry, but something went wrong On Sep 23, 10:44 am, Tanawat Limungkura <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I try to develop ruby with netbeans and mysql.I try to generate > controller XXX and views YYY and I try access my tested web.But it shows > me > We''re sorry, but something went wrong. > We''ve been notified about this issue and we''ll take a look at it shortly > > What''s wrong. I used WEbrick as server > > Thanks > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I stay on the command line for the generators and such, using Netbeans to do the other programming tasks. On Sep 23, 4:00 am, Vitaliy Yanchuk <m...-WqhgwETvZgLzHCZZHnFgRw@public.gmane.org> wrote:> Try to set config.action_controller.consider_all_requests_local = true for your development environment > It will show proper Exeption message instead of "We''re sorry, but something went wrong." > On 23 сент. 2010, at 10:44, Tanawat Limungkura wrote: > > > > > > > > > I try to develop ruby with netbeans and mysql.I try to generate > > controller XXX and views YYY and I try access my tested web.But it shows > > me > > We''re sorry, but something went wrong. > > We''ve been notified about this issue and we''ll take a look at it shortly > > > What''s wrong. I used WEbrick as server > > > Thanks > > -- > > Posted viahttp://www.ruby-forum.com/. > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
This problem should have nothing to do with Netbeans. I have been using Netbeans for a long time and still get that error sometimes. It''s always my fault, not Netbeans''s. ;) It might be that your DB configuration is not setup correctly or that you have a typo in your URL, or... I would check first the ''database.yml'' file contents and go from there. On Sep 23, 3:44 am, Tanawat Limungkura <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I try to develop ruby with netbeans and mysql.I try to generate > controller XXX and views YYY and I try access my tested web.But it shows > me > We''re sorry, but something went wrong. > We''ve been notified about this issue and we''ll take a look at it shortly > > What''s wrong. I used WEbrick as server > > Thanks > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tanawat Limungkura wrote:> I try to develop ruby with netbeans and mysql.I try to generate > controller XXX and views YYY and I try access my tested web.But it shows > me > We''re sorry, but something went wrong. > We''ve been notified about this issue and we''ll take a look at it shortly > > What''s wrong. I used WEbrick as server > > ThanksI had this problem what I found is that the Webrick server port snd the localhost prot were pointing in different places. The Webrick sever should be by default http://localhost:3000 and for Apache http://locahost:8080. however this can change if Netbeans detects the port is being used. Couple options <Window> choose Server. see if Webrick is present. If it is remove an reinstall. Or go into you project properties and make sure the Server you are running on and the port number in your URL match. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I think you have to install mysql2 gem. then this should be work. On Sat, Sep 25, 2010 at 11:27 PM, Wayne Mr. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Tanawat Limungkura wrote: > > I try to develop ruby with netbeans and mysql.I try to generate > > controller XXX and views YYY and I try access my tested web.But it shows > > me > > We''re sorry, but something went wrong. > > We''ve been notified about this issue and we''ll take a look at it shortly > > > > What''s wrong. I used WEbrick as server > > > > Thanks > > I had this problem what I found is that the Webrick server port snd the > localhost prot were pointing in different places. The Webrick sever > should be by default http://localhost:3000 and for Apache > http://locahost:8080. however this can change if Netbeans detects the > port is being used. Couple options <Window> choose Server. see if > Webrick is present. If it is remove an reinstall. Or go into you project > properties and make sure the Server you are running on and the port > number in your URL match. > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.