Hi There, I''m hoping you guys can help me out. I have recently developed an iphone location based app and unfortunately the developer went off the rails towards the end (yea pun intended lol) and when we were handed over all the files for the app and admin site there was a number of things missing. Basically the app doesn''t work but we are trying to fix that and the admin website built to integrate with the app was built using rails. I had someone install the admin site onto Amazon but after trying for some time he told me that unfortunately the index file was missing and that I needed to get from the developer. That''s not possible as he has refused to help in any way. Now I don''t know anything about rails but I know if this was wordpress, a missing index.html file would be no problem at all. I don''t know if that is the case with rails. I was hoping you may be able to tell me what my options are as far as getting the admin site up and running without the original index file and if it is possible? Any advice would be greatly appreciated and if you require any further detail please let me know. Thank you in advance for your assistance with this as we are lost and out of pocket thousands of dollars and just trying to pick up the pieces of what turned into a nightmare project. Here are some screen shots of the site admin and an error message that may help you to tell us what we can do in this situation. <https://lh3.googleusercontent.com/-QeUihVKYVso/UL9JhaRe14I/AAAAAAAAAQY/ilpA62ZQj60/s1600/Site+admin+screen.jpg> <https://lh5.googleusercontent.com/-x0AFs3ovhsE/UL9Jq02mZ8I/AAAAAAAAAQg/kRuDcsyMzBU/s1600/Error+after+searching+for+product.jpg> Thank you very much, Brian -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Zly04uyyZmoJ. For more options, visit https://groups.google.com/groups/opt_out.
Walter Lee Davis
2012-Dec-05 15:08 UTC
Re: Rails Admin Site missing Index file - Advice Needed Please
On Dec 5, 2012, at 8:19 AM, Brian wrote:> Hi There, > > I''m hoping you guys can help me out. I have recently developed an iphone location based app and unfortunately the developer went off the rails towards the end (yea pun intended lol) and when we were handed over all the files for the app and admin site there was a number of things missing. > > Basically the app doesn''t work but we are trying to fix that and the admin website built to integrate with the app was built using rails. > > I had someone install the admin site onto Amazon but after trying for some time he told me that unfortunately the index file was missing and that I needed to get from the developer. That''s not possible as he has refused to help in any way. > > Now I don''t know anything about rails but I know if this was wordpress, a missing index.html file would be no problem at all. > > I don''t know if that is the case with rails. >A Rails application that has an index.html will show that index page when the site is requested without any path information, just like a normal static site. Most Rails sites do not have an index page, but rather designate one "route" to be the :root path. If there was anything dynamic on the home page of your site, then likely that is the case. If you are hearing from your tech person that the site won''t run without an index page, then perhaps that tech person has never deployed a Rails app before. There are lots of different ways to do that, the easiest one I have found is to install the Passenger (mod_rails) module in Apache, and follow the simple directions to get your Apache virtual host to pass that site over to Rails. Now the error messages you are seeing tell me that that''s not the problem at all -- you are getting Rails to run well enough to show an error message, which is positive. Ask your tech person to shell into the server and issue the command tail -f /path/to/rails/project/log/production.log Then restart the Web server and try to visit the site. The logs will tell you in excruciating detail what exactly is going wrong. Walter> I was hoping you may be able to tell me what my options are as far as getting the admin site up and running without the original index file and if it is possible? > > Any advice would be greatly appreciated and if you require any further detail please let me know. > > Thank you in advance for your assistance with this as we are lost and out of pocket thousands of dollars and just trying to pick up the pieces of what turned into a nightmare project. > > Here are some screen shots of the site admin and an error message that may help you to tell us what we can do in this situation. > > > > > > > > > > > Thank you very much, > > Brian > > > -- > 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. > To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Zly04uyyZmoJ. > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 https://groups.google.com/groups/opt_out.
Frederick Cheung
2012-Dec-05 15:08 UTC
Re: Rails Admin Site missing Index file - Advice Needed Please
On Wednesday, December 5, 2012 1:19:15 PM UTC, Brian wrote:> > Hi There, > > I''m hoping you guys can help me out. I have recently developed an iphone > location based app and unfortunately the developer went off the rails > towards the end (yea pun intended lol) and when we were handed over all the > files for the app and admin site there was a number of things missing. > > Basically the app doesn''t work but we are trying to fix that and the admin > website built to integrate with the app was built using rails. > > I had someone install the admin site onto Amazon but after trying for some > time he told me that unfortunately the index file was missing and that I > needed to get from the developer. That''s not possible as he has refused to > help in any way. > > There''s not necessarily any index.html file at all in a rails app. Is theperson that installed it onto amazon (do they mean EC2?) someone well versed with rails apps and how to deploy them> Now I don''t know anything about rails but I know if this was wordpress, a > missing index.html file would be no problem at all. > > I don''t know if that is the case with rails. > > I was hoping you may be able to tell me what my options are as far as > getting the admin site up and running without the original index file and > if it is possible? > > Any advice would be greatly appreciated and if you require any further > detail please let me know. > > Thank you in advance for your assistance with this as we are lost and out > of pocket thousands of dollars and just trying to pick up the pieces of > what turned into a nightmare project. > > Here are some screen shots of the site admin and an error message that may > help you to tell us what we can do in this situation. >The error message is very generic - it could be anything from a syntax error in a file to an inability to connect to the database or a missing library. The application log files (the folder the app is in should have a folder called log) will normally supply more detailed information. If the app is being served through apache then the apache log files are also worth looking at. Fred> > > <https://lh3.googleusercontent.com/-QeUihVKYVso/UL9JhaRe14I/AAAAAAAAAQY/ilpA62ZQj60/s1600/Site+admin+screen.jpg> > > > <https://lh5.googleusercontent.com/-x0AFs3ovhsE/UL9Jq02mZ8I/AAAAAAAAAQg/kRuDcsyMzBU/s1600/Error+after+searching+for+product.jpg> > > > > > Thank you very much, > > Brian >-- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/BAcDRkvjOeMJ. For more options, visit https://groups.google.com/groups/opt_out.
Hello Brian, The quickest and most likely to be successful way out is to get connected with someone who has actually built and deployed a RoR app. The work is fairly straightforward once you know how but if you''re looking at a time constraint you''ld be best served by someone who''s already familiar - they''ll just need to learn what you want and understand what their predecessor has done. Rick On Wednesday, December 5, 2012 8:19:15 AM UTC-5, Brian wrote:> > Hi There, > > I''m hoping you guys can help me out. I have recently developed an iphone > location based app and unfortunately the developer went off the rails > towards the end (yea pun intended lol) and when we were handed over all the > files for the app and admin site there was a number of things missing. > > Basically the app doesn''t work but we are trying to fix that and the admin > website built to integrate with the app was built using rails. > > I had someone install the admin site onto Amazon but after trying for some > time he told me that unfortunately the index file was missing and that I > needed to get from the developer. That''s not possible as he has refused to > help in any way. > > Now I don''t know anything about rails but I know if this was wordpress, a > missing index.html file would be no problem at all. > > I don''t know if that is the case with rails. > > I was hoping you may be able to tell me what my options are as far as > getting the admin site up and running without the original index file and > if it is possible? > > Any advice would be greatly appreciated and if you require any further > detail please let me know. > > Thank you in advance for your assistance with this as we are lost and out > of pocket thousands of dollars and just trying to pick up the pieces of > what turned into a nightmare project. > > Here are some screen shots of the site admin and an error message that may > help you to tell us what we can do in this situation. > > > > <https://lh3.googleusercontent.com/-QeUihVKYVso/UL9JhaRe14I/AAAAAAAAAQY/ilpA62ZQj60/s1600/Site+admin+screen.jpg> > > > <https://lh5.googleusercontent.com/-x0AFs3ovhsE/UL9Jq02mZ8I/AAAAAAAAAQg/kRuDcsyMzBU/s1600/Error+after+searching+for+product.jpg> > > > > > Thank you very much, > > Brian >-- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/be6KIAUDrpIJ. For more options, visit https://groups.google.com/groups/opt_out.