Sencha Touch 2 is an environment for writing web-based applications or proprietary applications focused on mobile devices. See: http://www.sencha.com/products/touch/
I can quickly create applications that work out of the box under a standard LAMP installation, but everything falls apart quickly when I try to use Sencha with Rails in an active existing project. In addition, I can’t get him to sit in the root directory, as I would like in most tutorials.
I have configured the code enough so that the application can sit on m.example.com/ and open its resources through example.com/sencha/app (app.json), example.com/sencha/js (sencha-touch.js) and example .com / sencha / css (sencha-touch.css).
I can download my application in my browser by enabling js download in the form of Rails, but I am simply greeted with a blue screen and three blinking dots. There are no errors in the Chrome console, and nothing else happens.
The online tutorials are scarce, and I have worked on most of them on a case by case basis, but they are all for Rails 2 that I have seen. I tried
But I also saw the Sencha Touch Rails 3.1 question , so I know that someone has earned somewhere.
Where can I find help creating Sencha Touch 2 in existing Rails 3 applications?
source