Created
March 13, 2011 01:07
-
-
Save dgoldie/867761 to your computer and use it in GitHub Desktop.
greendog template issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doug@zeus ~/code/templates/spikes | |
$ rails new newbie -m ../greendog99/template.rb | |
create | |
create README | |
create Rakefile | |
create config.ru | |
create .gitignore | |
create Gemfile | |
create app | |
create app/controllers/application_controller.rb | |
create app/helpers/application_helper.rb | |
create app/mailers | |
create app/models | |
create app/views/layouts/application.html.erb | |
create config | |
create config/routes.rb | |
create config/application.rb | |
create config/environment.rb | |
create config/environments | |
create config/environments/development.rb | |
create config/environments/production.rb | |
create config/environments/test.rb | |
create config/initializers | |
create config/initializers/backtrace_silencers.rb | |
create config/initializers/inflections.rb | |
create config/initializers/mime_types.rb | |
create config/initializers/secret_token.rb | |
create config/initializers/session_store.rb | |
create config/locales | |
create config/locales/en.yml | |
create config/boot.rb | |
create config/database.yml | |
create db | |
create db/seeds.rb | |
create doc | |
create doc/README_FOR_APP | |
create lib | |
create lib/tasks | |
create lib/tasks/.gitkeep | |
create log | |
create log/server.log | |
create log/production.log | |
create log/development.log | |
create log/test.log | |
create public | |
create public/404.html | |
create public/422.html | |
create public/500.html | |
create public/favicon.ico | |
create public/index.html | |
create public/robots.txt | |
create public/images | |
create public/images/rails.png | |
create public/stylesheets | |
create public/stylesheets/.gitkeep | |
create public/javascripts | |
create public/javascripts/application.js | |
create public/javascripts/controls.js | |
create public/javascripts/dragdrop.js | |
create public/javascripts/effects.js | |
create public/javascripts/prototype.js | |
create public/javascripts/rails.js | |
create script | |
create script/rails | |
create test | |
create test/fixtures | |
create test/functional | |
create test/integration | |
create test/performance/browsing_test.rb | |
create test/test_helper.rb | |
create test/unit | |
create tmp | |
create tmp/sessions | |
create tmp/sockets | |
create tmp/cache | |
create tmp/pids | |
create vendor/plugins | |
create vendor/plugins/.gitkeep | |
apply /Users/doug/code/templates/greendog99/template.rb | |
========================================================= | |
RAILS 3 TEMPLATE | |
========================================================= | |
apply /Users/doug/code/templates/greendog99/_git.rb | |
Initializing new Git repo ... | |
remove .gitignore | |
create .gitignore | |
run git init from "." | |
Initialized empty Git repository in /Users/doug/code/templates/spikes/newbie/.git/ | |
run git add . from "." | |
run git commit -aqm 'Initial commit.' from "." | |
apply /Users/doug/code/templates/greendog99/_cleanup.rb | |
Removing unnecessary files ... | |
remove README | |
remove app/views/layouts/application.html.erb | |
remove public/index.html | |
remove public/favicon.ico | |
remove public/robots.txt | |
remove public/index.html | |
remove public/images/rails.png | |
remove public/javascripts/controls.js | |
remove public/javascripts/dragdrop.js | |
remove public/javascripts/effects.js | |
remove public/javascripts/prototype.js | |
remove public/javascripts/rails.js | |
run git commit -aqm 'Removed unnecessary files left over from initial app generation.' from "." | |
Installing Gemfile... | |
remove Gemfile | |
create Gemfile | |
apply /Users/doug/code/templates/greendog99/_rvm.rb | |
Setting up RVM gemset and installing bundled gems (may take a while) ... | |
Which RVM Ruby would you like to use? [ruby-1.9.2-head] | |
What name should the custom gemset have? [newbie] | |
run rvm ruby-1.9.2-head gemset create newbie from "." | |
'newbie' gemset created (/Users/doug/.rvm/gems/ruby-1.9.2-head@newbie). | |
create .rvmrc | |
rvm ruby-1.9.2-head@newbie | |
run rvm rvmrc trust newbie from "." | |
Marked /Users/doug/code/templates/spikes/newbie/.rvmrc as trusted | |
run rvm ruby-1.9.2-head@newbie gem install bundler from "." | |
Successfully installed bundler-1.0.10 | |
1 gem installed | |
run rvm ruby-1.9.2-head@newbie exec bundle install from "." | |
Fetching source index for http://rubygems.org/ | |
Installing rake (0.8.7) | |
Installing abstract (1.0.0) | |
Installing activesupport (3.0.5) | |
Installing builder (2.1.2) | |
Installing i18n (0.5.0) | |
Installing activemodel (3.0.5) | |
Installing erubis (2.6.6) | |
Installing rack (1.2.1) | |
Installing rack-mount (0.6.13) | |
Installing rack-test (0.5.7) | |
Installing tzinfo (0.3.24) | |
Installing actionpack (3.0.5) | |
Installing mime-types (1.16) | |
Installing polyglot (0.3.1) | |
Installing treetop (1.4.9) | |
Installing mail (2.2.15) | |
Installing actionmailer (3.0.5) | |
Installing arel (2.0.9) | |
Installing activerecord (3.0.5) | |
Installing activeresource (3.0.5) | |
Installing babosa (0.2.2) | |
Using bundler (1.0.10) | |
Installing highline (1.6.1) | |
Installing net-ssh (2.1.3) | |
Installing net-scp (1.0.4) | |
Installing net-sftp (2.0.5) | |
Installing net-ssh-gateway (1.0.1) | |
Installing capistrano (2.5.19) | |
Installing haml (3.0.25) | |
Installing compass (0.10.6) | |
Installing diff-lcs (1.1.2) | |
Installing factory_girl (1.3.3) | |
Installing factory_girl_generator (0.0.1) | |
Installing thor (0.14.6) | |
Installing railties (3.0.5) | |
Installing factory_girl_rails (1.0.1) | |
Installing nokogiri (1.4.4) with native extensions | |
Installing forgery (0.3.7) | |
Installing friendly_id (3.2.1) | |
Installing haml-rails (0.3.4) | |
Installing hirb (0.4.0) | |
Installing html5-boilerplate (0.3.2) | |
Installing mysql2 (0.2.6) with native extensions | |
Installing rails (3.0.5) | |
Installing rcov (0.9.9) with native extensions | |
Installing rspec-core (2.5.1) | |
Installing rspec-expectations (2.5.0) | |
Installing rspec-mocks (2.5.0) | |
Installing rspec (2.5.0) | |
Installing rspec-rails (2.5.0) | |
Installing validates_existence (0.6.0) | |
Your bundle is complete! It was installed into /Users/doug/.rvm/gems/ruby-1.9.2-head@newbie | |
apply /Users/doug/code/templates/greendog99/_boilerplate.rb | |
Setting up HTML5 Boilerplate with HAML, SASS, and Compass ... | |
Installing config/compass.rb... | |
remove config/compass.rb | |
create config/compass.rb | |
run compass init rails --require html5-boilerplate -u html5-boilerplate --syntax sass -c config/compass.rb --force from "." | |
directory app/stylesheets/ | |
directory app/stylesheets/partials/ | |
exists app/views/layouts | |
exists config | |
exists public | |
exists public/javascripts | |
exists public/stylesheets | |
exists config/initializers | |
create config/initializers/compass.rb | |
convert style.scss | |
create app/stylesheets/style.sass | |
convert handheld.scss | |
create app/stylesheets/handheld.sass | |
convert _base.scss | |
create app/stylesheets/partials/_base.sass | |
convert _overrides.scss | |
create app/stylesheets/partials/_overrides.sass | |
convert _fonts.scss | |
create app/stylesheets/partials/_fonts.sass | |
convert _media.scss | |
create app/stylesheets/partials/_media.sass | |
convert _page.scss | |
create app/stylesheets/partials/_page.sass | |
create app/views/layouts/application.html.haml | |
create app/views/layouts/_flashes.html.haml | |
create app/views/layouts/_footer.html.haml | |
create app/views/layouts/_head.html.haml | |
create app/views/layouts/_header.html.haml | |
create app/views/layouts/_javascripts.html.haml | |
create app/views/layouts/_stylesheets.html.haml | |
create config/google.yml | |
create public/javascripts/dd_belatedpng.js | |
create public/javascripts/jquery.js | |
create public/javascripts/jquery.min.js | |
create public/javascripts/modernizr.min.js | |
create public/javascripts/plugins.js | |
create public/javascripts/rails.js | |
overwrite public/404.html | |
create public/.htaccess | |
create public/crossdomain.xml | |
create public/robots.txt | |
create public/humans.txt | |
create public/apple-touch-icon.png | |
create public/favicon.ico | |
Congratulations! Your rails project has been configured to use Compass. | |
Just one more thing left to do: Register the compass gem. | |
In Rails 2.2 & 2.3, add the following to your environment.rb: | |
config.gem "compass", :version => ">= 0.10.6" | |
In Rails 3, add the following to your Gemfile: | |
gem "compass", ">= 0.10.6" | |
Then, make sure you restart your server. | |
Sass will automatically compile your stylesheets during the next | |
page request and keep them up to date when they change. | |
Next add these lines to the head of your layouts: | |
%head | |
= stylesheet_link_tag 'style.css', :media => 'all' | |
= stylesheet_link_tag 'handheld.css', :media => 'handheld' | |
(You are using haml, aren't you?) | |
run git add . from "." | |
run git commit -aqm 'Initialized Compass.' from "." | |
apply /Users/doug/code/templates/greendog99/_stylesheets.rb | |
Creating default stylesheets ... | |
remove app/stylesheets/partials/_example.sass | |
Installing app/stylesheets/partials/_grid.sass... | |
remove app/stylesheets/partials/_grid.sass | |
create app/stylesheets/partials/_grid.sass | |
Installing app/stylesheets/partials/_page.sass... | |
remove app/stylesheets/partials/_page.sass | |
create app/stylesheets/partials/_page.sass | |
Installing app/stylesheets/partials/_buttons.sass... | |
remove app/stylesheets/partials/_buttons.sass | |
create app/stylesheets/partials/_buttons.sass | |
Installing app/stylesheets/partials/_flashes.sass... | |
remove app/stylesheets/partials/_flashes.sass | |
create app/stylesheets/partials/_flashes.sass | |
Installing app/stylesheets/partials/_forms.sass... | |
remove app/stylesheets/partials/_forms.sass | |
create app/stylesheets/partials/_forms.sass | |
Installing app/stylesheets/partials/_tables.sass... | |
remove app/stylesheets/partials/_tables.sass | |
create app/stylesheets/partials/_tables.sass | |
Installing app/stylesheets/style.sass... | |
remove app/stylesheets/style.sass | |
create app/stylesheets/style.sass | |
run git add . from "." | |
run git commit -aqm 'Added stylesheets.' from "." | |
apply /Users/doug/code/templates/greendog99/_layouts.rb | |
Creating default layout ... | |
remove app/views/layouts/_footer.html.haml | |
create app/views/layouts/_footer.html.haml | |
remove app/views/layouts/_header.html.haml | |
create app/views/layouts/_header.html.haml | |
create app/views/layouts/_nav.html.haml | |
Installing app/views/layouts/application.html.haml... | |
remove app/views/layouts/application.html.haml | |
create app/views/layouts/application.html.haml | |
run git add . from "." | |
run git commit -aqm 'Added layouts.' from "." | |
apply /Users/doug/code/templates/greendog99/_helpers.rb | |
Adding helpers, shared views, and other miscellany ... | |
Installing app/helpers/application_helper.rb... | |
remove app/helpers/application_helper.rb | |
create app/helpers/application_helper.rb | |
Installing app/views/shared/_error_messages.html.haml... | |
remove app/views/shared/_error_messages.html.haml | |
create app/views/shared/_error_messages.html.haml | |
Installing app/controllers/application_controller.rb... | |
remove app/controllers/application_controller.rb | |
create app/controllers/application_controller.rb | |
run git add . from "." | |
run git commit -aqm 'Added helpers, shared views, and other miscellany.' from "." | |
apply /Users/doug/code/templates/greendog99/_appconfig.rb | |
Creating custom app configuration hash ... | |
insert config/application.rb | |
create config/app_config.yml | |
run git add . from "." | |
run git commit -aqm 'Added app_config components.' from "." | |
apply /Users/doug/code/templates/greendog99/_rspec.rb | |
Setting up RSpec ... | |
remove test | |
run rvm ruby-1.9.2-head@newbie exec rails generate rspec:install from "." | |
create .rspec | |
create spec | |
create spec/spec_helper.rb | |
apply /Users/doug/code/templates/greendog99/_capistrano.rb | |
Setting up Capistrano ... | |
capify | |
/Library/Ruby/Site/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem capistrano (>= 0) (Gem::LoadError) | |
from /Library/Ruby/Site/1.8/rubygems.rb:214:in `activate' | |
from /Library/Ruby/Site/1.8/rubygems.rb:1082:in `gem' | |
from /usr/bin/capify:18 | |
apply /Users/doug/code/templates/greendog99/_application.rb | |
Adding password_confirmation to filter_parameters ... | |
gsub config/application.rb | |
Adding app/extras/ to autoload_paths ... | |
gsub config/application.rb | |
Turning off timestamped_migrations ... | |
insert config/application.rb | |
Setting up log file rotation ... | |
insert config/application.rb | |
apply /Users/doug/code/templates/greendog99/_friendly_id.rb | |
Setting up friendly_id ... | |
run rvm ruby-1.9.2-head@newbie exec rails generate friendly_id from "." | |
create db/migrate/001_create_slugs.rb | |
run git add . from "." | |
run git commit -aqm 'Generated friendly_id migration.' from "." | |
apply /Users/doug/code/templates/greendog99/_demo.rb | |
Creating demo pages ... | |
insert config/routes.rb | |
create app/controllers/demos_controller.rb | |
create app/views/demos/grid.html.haml | |
create app/views/demos/text.html.haml | |
========================================================= | |
INSTALLATION COMPLETE! | |
========================================================= | |
doug@zeus ~/code/templates/spikes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment