Adding files and directories - ParkinT/RubyMotion_Life GitHub Wiki
If you wish to construct a more Rails-esque directory structure in your RubyMotion application, here is a great trick to add other folders and their contents. In your Rakefile, include something like this (this example adds /config and /lib folders and any subfolders):
Motion::Project::App.setup do |app|
["config", "lib", "app"].each do |dirs|
Dir.glob(File.join(app.project_dir, "#{dirs}/**/*.rb")).each do |file|
app.files << file
end
end
# ...
end