config/initializers/refinery/core.rb). But if I do that, how can I show other (probably static, in my case) contents in the domain root? I use apache/passenger to serve, but I may use nginx/passenger later. Maybe heroku or some other cloud service, too. The solution should be transportable to other server environments.
rails refinery::override view=layouts/*. See https://gist.github.com/jcavena/3450535 .
$( document ).ready()command of jquery does not work. To overcome that, you need the
onmountlibrary, and then you use onmount instead of $(document).ready().
config/initializers/refineryis created relatively late in the app creation process, so probably your app creation has crashed at some point. I used the following steps: