Advertisement
Guest User

Untitled

a guest
May 13th, 2012
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.90 KB | None | 0 0
  1. Dougs-MacBook:websites doug$ padrino g project doug --template sampleblog
  2. apply https://github.com/padrino/padrino-recipes/raw/master/templates/sampleblog_template.rb
  3. => Executing: padrino-gen project doug --bundle=true --orm=activerecord --renderer=haml --script=jquery --stylesheet=sass --test=shoulda -r=/Users/doug/Dropbox/websites
  4. create
  5. create .gitignore
  6. create config.ru
  7. create config/apps.rb
  8. create config/boot.rb
  9. create public/favicon.ico
  10. create public/images
  11. create public/javascripts
  12. create public/stylesheets
  13. create tmp
  14. create .components
  15. create app
  16. create app/app.rb
  17. create app/controllers
  18. create app/helpers
  19. create app/views
  20. create app/views/layouts
  21. create Gemfile
  22. applying activerecord (orm)...
  23. apply orms/activerecord
  24. insert Gemfile
  25. insert Gemfile
  26. insert app/app.rb
  27. create config/database.rb
  28. applying shoulda (test)...
  29. apply tests/shoulda
  30. insert Gemfile
  31. insert Gemfile
  32. create test/test_config.rb
  33. insert test/test_config.rb
  34. create test/test.rake
  35. skipping mock component...
  36. applying jquery (script)...
  37. apply scripts/jquery
  38. create public/javascripts/jquery.js
  39. create public/javascripts/jquery-ujs.js
  40. create public/javascripts/application.js
  41. applying haml (renderer)...
  42. apply renderers/haml
  43. insert Gemfile
  44. applying sass (stylesheet)...
  45. apply stylesheets/sass
  46. insert Gemfile
  47. insert app/app.rb
  48. create lib/sass_init.rb
  49. create app/stylesheets
  50. identical .components
  51. Bundling application dependencies using bundler...
  52. run bundle install from "."
  53. Fetching gem metadata from http://rubygems.org/.........
  54. Using rake (0.9.2.2)
  55. Using i18n (0.6.0)
  56. Using multi_json (1.3.5)
  57. Using activesupport (3.2.3)
  58. Using builder (3.0.0)
  59. Using activemodel (3.2.3)
  60. Using arel (3.0.2)
  61. Using tzinfo (0.3.33)
  62. Using activerecord (3.2.3)
  63. Using bundler (1.1.0)
  64. Using haml (3.1.5)
  65. Using rack (1.4.1)
  66. Using url_mount (0.2.1)
  67. Using http_router (0.10.2)
  68. Using mime-types (1.18)
  69. Using polyglot (0.3.3)
  70. Using treetop (1.4.10)
  71. Using mail (2.3.3)
  72. Using rack-protection (1.2.0)
  73. Using tilt (1.3.3)
  74. Using sinatra (1.3.2)
  75. Using thor (0.14.6)
  76. Using padrino-core (0.10.6)
  77. Using padrino-helpers (0.10.6)
  78. Using padrino-admin (0.10.6)
  79. Using padrino-cache (0.10.6)
  80. Using padrino-gen (0.10.6)
  81. Using padrino-mailer (0.10.6)
  82. Using padrino (0.10.6)
  83. Using rack-test (0.6.1)
  84. Using sass (3.1.18)
  85. Using shoulda-context (1.0.0)
  86. Using shoulda-matchers (1.0.0)
  87. Using shoulda (3.0.1)
  88. Using sinatra-flash (0.3.0)
  89. Using sqlite3 (1.3.6)
  90. Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
  91.  
  92. =================================================================
  93. doug is ready for development!
  94. =================================================================
  95. $ cd /Users/doug/Dropbox/websites/doug
  96. =================================================================
  97.  
  98. insert app/app.rb
  99. => Executing: padrino-gen admin -r=/Users/doug/Dropbox/websites/doug
  100. force .components
  101. create admin
  102. exist admin
  103. create admin/controllers/base.rb
  104. create admin/controllers/sessions.rb
  105. create public/admin
  106. create public/admin/stylesheets/base.css
  107. create public/admin/stylesheets/themes/amro/style.css
  108. create public/admin/stylesheets/themes/bec-green/style.css
  109. create public/admin/stylesheets/themes/bec/style.css
  110. create public/admin/stylesheets/themes/blue/style.css
  111. create public/admin/stylesheets/themes/default/style.css
  112. create public/admin/stylesheets/themes/djime-cerulean/style.css
  113. create public/admin/stylesheets/themes/kathleene/style.css
  114. create public/admin/stylesheets/themes/olive/style.css
  115. create public/admin/stylesheets/themes/orange/style.css
  116. create public/admin/stylesheets/themes/reidb-greenish/style.css
  117. create public/admin/stylesheets/themes/ruby/style.css
  118. create public/admin/stylesheets/themes/warehouse/style.css
  119. create admin/app.rb
  120. append config/apps.rb
  121. insert admin/app.rb
  122. apply orms/activerecord
  123. apply tests/shoulda
  124. create models/account.rb
  125. create test/models/account_test.rb
  126. create db/migrate/001_create_accounts.rb
  127. create admin/views/accounts
  128. create admin/controllers/accounts.rb
  129. create admin/views/accounts/_form.haml
  130. create admin/views/accounts/edit.haml
  131. create admin/views/accounts/index.haml
  132. create admin/views/accounts/new.haml
  133. insert admin/app.rb
  134. force models/account.rb
  135. create db/seeds.rb
  136. exist admin/controllers
  137. exist admin/views
  138. create admin/views/base
  139. create admin/views/layouts
  140. create admin/views/sessions
  141. create admin/views/base/_sidebar.haml
  142. create admin/views/base/index.haml
  143. create admin/views/layouts/application.haml
  144. create admin/views/sessions/new.haml
  145. insert admin/app.rb
  146. insert Gemfile
  147. gsub admin/views/accounts/_form.haml
  148. gsub admin/controllers/accounts.rb
  149.  
  150. =================================================================
  151. The admin panel has been mounted! Next, follow these steps:
  152. =================================================================
  153. 1) Run 'bundle install'
  154. 2) Run 'padrino rake ar:migrate'
  155. 3) Run 'padrino rake seed'
  156. 4) Visit the admin panel in the browser at '/admin'
  157. =================================================================
  158.  
  159. => Executing Rake ar:create ar:migrate seed ...
  160. /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>': uninitialized constant Rake::DSL (NameError)
  161. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:6:in `<module:Rake>'
  162. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:3:in `<top (required)>'
  163. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `<top (required)>'
  164. from test/test.rake:1:in `<top (required)>'
  165. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:4:in `block in <top (required)>'
  166. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `each'
  167. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `<top (required)>'
  168. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb:12:in `init'
  169. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/base.rb:55:in `rake'
  170. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
  171. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
  172. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
  173. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
  174. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/bin/padrino:9:in `<main>'
  175. => Executing: padrino-gen model post title:string body:text -r=/Users/doug/Dropbox/websites/doug
  176. apply orms/activerecord
  177. apply tests/shoulda
  178. create models/post.rb
  179. create test/models/post_test.rb
  180. create db/migrate/002_create_posts.rb
  181. insert db/migrate/002_create_posts.rb
  182. => Executing Rake ar:migrate ...
  183. /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>': uninitialized constant Rake::DSL (NameError)
  184. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:6:in `<module:Rake>'
  185. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:3:in `<top (required)>'
  186. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `<top (required)>'
  187. from test/test.rake:1:in `<top (required)>'
  188. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:4:in `block in <top (required)>'
  189. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `each'
  190. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `<top (required)>'
  191. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb:12:in `init'
  192. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/base.rb:55:in `rake'
  193. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
  194. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
  195. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
  196. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
  197. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/bin/padrino:9:in `<main>'
  198. => Executing: padrino-gen controller posts get:index get:show -r=/Users/doug/Dropbox/websites/doug
  199. create app/controllers/posts.rb
  200. create app/helpers/posts_helper.rb
  201. create app/views/posts
  202. apply tests/shoulda
  203. create test/app/controllers/posts_controller_test.rb
  204. gsub app/controllers/posts.rb
  205. insert app/controllers/posts.rb
  206. insert app/controllers/posts.rb
  207. insert app/controllers/posts.rb
  208. => Executing: padrino-gen admin_page post -r=/Users/doug/Dropbox/websites/doug
  209. create admin/views/posts
  210. create admin/controllers/posts.rb
  211. create admin/views/posts/_form.haml
  212. /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/sqlite_adapter.rb:465:in `table_structure': Could not find table 'posts' (ActiveRecord::StatementInvalid)
  213. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns'
  214. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
  215. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:228:in `yield'
  216. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:228:in `default'
  217. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/model_schema.rb:228:in `columns'
  218. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/orm.rb:51:in `columns'
  219. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/orm.rb:83:in `column_fields'
  220. from (erb):1:in `template'
  221. from /Users/doug/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in `eval'
  222. from /Users/doug/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in `result'
  223. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:111:in `block in template'
  224. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:in `call'
  225. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:in `render'
  226. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:63:in `block (2 levels) in invoke!'
  227. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:63:in `open'
  228. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:63:in `block in invoke!'
  229. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb:114:in `call'
  230. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb:114:in `invoke_with_conflict_check'
  231. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:61:in `invoke!'
  232. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions.rb:95:in `action'
  233. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/create_file.rb:26:in `create_file'
  234. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:110:in `template'
  235. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/admin_page.rb:41:in `block in create_controller'
  236. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/admin_page.rb:35:in `each'
  237. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-admin-0.10.6/lib/padrino-admin/generators/admin_page.rb:35:in `create_controller'
  238. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
  239. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
  240. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `block in invoke_all'
  241. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `each'
  242. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
  243. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
  244. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
  245. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
  246. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-gen-0.10.6/lib/padrino-gen/generators/cli.rb:51:in `setup'
  247. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
  248. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
  249. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `block in invoke_all'
  250. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `each'
  251. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
  252. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
  253. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
  254. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
  255. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-gen-0.10.6/bin/padrino-gen:16:in `<main>'
  256. => Executing: padrino-gen migration AddAccountToPost account_id:integer -r=/Users/doug/Dropbox/websites/doug
  257. apply orms/activerecord
  258. create db/migrate/003_add_account_to_post.rb
  259. insert models/post.rb
  260. => Executing Rake ar:migrate ...
  261. /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>': uninitialized constant Rake::DSL (NameError)
  262. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:6:in `<module:Rake>'
  263. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/tasklib.rb:3:in `<top (required)>'
  264. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/testtask.rb:4:in `<top (required)>'
  265. from test/test.rake:1:in `<top (required)>'
  266. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:4:in `block in <top (required)>'
  267. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `each'
  268. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb:2:in `<top (required)>'
  269. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb:12:in `init'
  270. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/lib/padrino-core/cli/base.rb:55:in `rake'
  271. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
  272. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
  273. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
  274. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
  275. from /Users/doug/.rvm/gems/ruby-1.9.2-p290/gems/padrino-core-0.10.6/bin/padrino:9:in `<main>'
  276. insert admin/controllers/posts.rb
  277. insert app/controllers/posts.rb
  278. create app/views/posts/index.haml
  279. create app/views/posts/_post.haml
  280. create app/views/posts/show.haml
  281. create app/views/layouts/application.haml
  282. create public/stylesheets/reset.css
  283. create app/stylesheets/application.sass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement