Skip to content

Instantly share code, notes, and snippets.

@brookr
Created August 19, 2011 23:16
Show Gist options
  • Save brookr/1158275 to your computer and use it in GitHub Desktop.
Save brookr/1158275 to your computer and use it in GitHub Desktop.
Console log of attempting to create a Rails app with Suspenders
Last login: Fri Aug 19 15:43:53 on ttys006
You have new mail.
Fri Aug 19 15:44:57 brookr@pridwen.local:~ > ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
Fri Aug 19 15:44:59 brookr@pridwen.local:~ > rvm list
rvm rubies
Fri Aug 19 15:45:03 brookr@pridwen.local:~ > rvm install 1.9.2
Installing Ruby from source to: /Users/brookr/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)...
ruby-1.9.2-p290 - #fetching
ruby-1.9.2-p290 - #downloading ruby-1.9.2-p290, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8604k 100 8604k 0 0 2171k 0 0:00:03 0:00:03 --:--:-- 2184k
ruby-1.9.2-p290 - #extracting ruby-1.9.2-p290 to /Users/brookr/.rvm/src/ruby-1.9.2-p290
ruby-1.9.2-p290 - #extracted to /Users/brookr/.rvm/src/ruby-1.9.2-p290
Fetching yaml-0.1.4.tar.gz to /Users/brookr/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 460k 100 460k 0 0 1048k 0 --:--:-- --:--:-- --:--:-- 1107k
Extracting yaml-0.1.4.tar.gz to /Users/brookr/.rvm/src
Configuring yaml in /Users/brookr/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/brookr/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/brookr/.rvm/usr
ruby-1.9.2-p290 - #configuring
ruby-1.9.2-p290 - #compiling
ruby-1.9.2-p290 - #installing
Retrieving rubygems-1.8.6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 244k 100 244k 0 0 325k 0 --:--:-- --:--:-- --:--:-- 1010k
Extracting rubygems-1.8.6 ...
Removing old Rubygems files...
Installing rubygems-1.8.6 for ruby-1.9.2-p290 ...
Installation of rubygems completed successfully.
ruby-1.9.2-p290 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.2-p290 - #importing default gemsets (/Users/brookr/.rvm/gemsets/)
Install of ruby-1.9.2-p290 - #complete
Fri Aug 19 15:51:19 brookr@pridwen.local:~ > gs
fatal: Not a git repository (or any of the parent directories): .git
Fri Aug 19 15:51:57 brookr@pridwen.local:~ > rvm list
rvm rubies
ruby-1.9.2-p290 [ x86_64 ]
Fri Aug 19 15:52:02 brookr@pridwen.local:~ > ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
Fri Aug 19 15:52:07 brookr@pridwen.local:~ > rvm --default use 1.9.2
Using /Users/brookr/.rvm/gems/ruby-1.9.2-p290
Fri Aug 19 15:52:17 brookr@pridwen.local:~ > ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
Fri Aug 19 15:52:19 brookr@pridwen.local:~ > env ARCHFLAGS="-arch x86_64" gem install pg
Fetching: pg-0.11.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed pg-0.11.0
1 gem installed
Fri Aug 19 15:56:09 brookr@pridwen.local:~ > gem list
*** LOCAL GEMS ***
pg (0.11.0)
rake (0.9.2 ruby)
Fri Aug 19 15:58:31 brookr@pridwen.local:~ > gem install suspenders
Fetching: activesupport-3.0.9.gem (100%)
Fetching: builder-2.1.2.gem (100%)
WARNING: builder-2.1.2 has an invalid nil value for @cert_chain
Fetching: i18n-0.5.0.gem (100%)
Fetching: activemodel-3.0.9.gem (100%)
Fetching: rack-1.2.3.gem (100%)
Fetching: rack-test-0.5.7.gem (100%)
Fetching: rack-mount-0.6.14.gem (100%)
Fetching: tzinfo-0.3.29.gem (100%)
Fetching: abstract-1.0.0.gem (100%)
WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain
Fetching: erubis-2.6.6.gem (100%)
Fetching: actionpack-3.0.9.gem (100%)
Fetching: arel-2.0.10.gem (100%)
Fetching: activerecord-3.0.9.gem (100%)
Fetching: activeresource-3.0.9.gem (100%)
Fetching: mime-types-1.16.gem (100%)
Fetching: polyglot-0.3.2.gem (100%)
Fetching: treetop-1.4.10.gem (100%)
Fetching: mail-2.2.19.gem (100%)
Fetching: actionmailer-3.0.9.gem (100%)
Fetching: thor-0.14.6.gem (100%)
Fetching: rdoc-3.9.2.gem (100%)
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Fetching: railties-3.0.9.gem (100%)
Fetching: bundler-1.0.18.gem (100%)
Fetching: rails-3.0.9.gem (100%)
Fetching: trout-0.3.gem (100%)
Fetching: suspenders-0.2.6.gem (100%)
Successfully installed activesupport-3.0.9
Successfully installed builder-2.1.2
Successfully installed i18n-0.5.0
Successfully installed activemodel-3.0.9
Successfully installed rack-1.2.3
Successfully installed rack-test-0.5.7
Successfully installed rack-mount-0.6.14
Successfully installed tzinfo-0.3.29
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed actionpack-3.0.9
Successfully installed arel-2.0.10
Successfully installed activerecord-3.0.9
Successfully installed activeresource-3.0.9
Successfully installed mime-types-1.16
Successfully installed polyglot-0.3.2
Successfully installed treetop-1.4.10
Successfully installed mail-2.2.19
Successfully installed actionmailer-3.0.9
Successfully installed thor-0.14.6
Successfully installed rdoc-3.9.2
Successfully installed railties-3.0.9
Successfully installed bundler-1.0.18
Successfully installed rails-3.0.9
Successfully installed trout-0.3
Successfully installed suspenders-0.2.6
26 gems installed
Fri Aug 19 16:00:50 brookr@pridwen.local:~ > suspenders create my-new-rails-project
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/.gitkeep
create public/javascripts/application.js
create script
create script/rails
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
apply /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/suspenders-0.2.6/template/suspenders.rb
Getting rid of files we don't use
remove README
remove public/index.html
remove public/images/rails.png
Setting up the staging environment
run cp config/environments/production.rb config/environments/staging.rb from "."
Creating suspenders views
create app/views/shared
create app/views/shared/_flashes.html.erb
create app/views/shared/_javascript.html.erb
force app/views/layouts/application.html.erb
run trout checkout --source-root=template/trout Gemfile git://github.com/thoughtbot/suspenders.git from "."
Checked out Gemfile from git://github.com/thoughtbot/suspenders.git.
run bundle install from "."
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Installing RedCloth (4.2.8) with native extensions
Using abstract (1.0.0)
Using activesupport (3.0.9)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.9)
Using erubis (2.6.6)
Using rack (1.2.3)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.29)
Using actionpack (3.0.9)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.9)
Using arel (2.0.10)
Using activerecord (3.0.9)
Using activeresource (3.0.9)
Installing addressable (2.2.6)
Installing mocha (0.9.8)
Installing bourne (1.0)
Using bundler (1.0.18)
Installing nokogiri (1.5.0) with native extensions /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/brookr/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... no
-----
libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/brookr/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
--with-iconvlib
--without-iconvlib
--with-xml2lib
--without-xml2lib
--with-xsltlib
--without-xsltlib
Gem files will remain installed in /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0 for inspection.
Results logged to /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `block in build_extensions'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `each'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `build_extensions'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `block in install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `block in run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/cli.rb:220:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/bin/bundle:13:in `<top (required)>'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `<main>'
Let's use jQuery
generate jquery:install
Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Pulling in some common javascripts
run trout checkout --source-root=template/trout public/javascripts/prefilled_input.js git://github.com/thoughtbot/suspenders.git from "."
Checked out public/javascripts/prefilled_input.js from git://github.com/thoughtbot/suspenders.git.
Documentation
create doc/README_FOR_SUSPENDERS
Get ready for bundler... (this will take a while)
Let's use PostgreSQL
force config/database.yml
rake db:create
Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Setting up plugins
insert config/application.rb
insert config/environments/development.rb
insert config/environments/test.rb
insert config/environments/staging.rb
insert config/environments/production.rb
generate rspec:install
Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
generate cucumber:install
Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
generate clearance:install
Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
generate clearance:features
Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
create public/stylesheets/sass/screen.scss
create public/stylesheets/screen.css
create features/step_definitions/factory_girl_steps.rb
The template [/Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/suspenders-0.2.6/template/suspenders.rb] could not be loaded. Error: No such file or directory - /Users/brookr/my-new-rails-project/spec/spec_helper.rb
Fri Aug 19 16:02:59 brookr@pridwen.local:~ > gem install bundler
Successfully installed bundler-1.0.18
1 gem installed
Fri Aug 19 16:03:10 brookr@pridwen.local:~ > cd my-new-rails-project/
Fri Aug 19 16:03:18 brookr@pridwen.local:~/my-new-rails-project > l
drwxrwxr-x 7 brookr staff 238B Aug 19 16:01:00 2011 app/
drwxrwxr-x 10 brookr staff 340B Aug 19 16:01:00 2011 config/
drwxrwxr-x 3 brookr staff 102B Aug 19 16:01:00 2011 db/
drwxrwxr-x 4 brookr staff 136B Aug 19 16:01:27 2011 doc/
drwxrwxr-x 3 brookr staff 102B Aug 19 16:01:29 2011 features/
drwxrwxr-x 3 brookr staff 102B Aug 19 16:01:00 2011 lib/
drwxrwxr-x 6 brookr staff 204B Aug 19 16:01:00 2011 log/
drwxrwxr-x 10 brookr staff 340B Aug 19 16:01:00 2011 public/
drwxr-xr-x 3 brookr staff 102B Aug 19 16:01:00 2011 script/
drwxrwxr-x 6 brookr staff 204B Aug 19 16:01:00 2011 tmp/
drwxrwxr-x 3 brookr staff 102B Aug 19 16:01:00 2011 vendor/
-rw-rw-r-- 1 brookr staff 829B Aug 19 16:01:02 2011 Gemfile
-rw-rw-r-- 1 brookr staff 272B Aug 19 16:01:00 2011 Rakefile
-rw-rw-r-- 1 brookr staff 162B Aug 19 16:01:00 2011 config.ru
Fri Aug 19 16:03:18 brookr@pridwen.local:~/my-new-rails-project > gem install thin
Fetching: eventmachine-0.12.10.gem (100%)
Building native extensions. This could take a while...
Fetching: daemons-1.1.4.gem (100%)
Fetching: thin-1.2.11.gem (100%)
Building native extensions. This could take a while...
Successfully installed eventmachine-0.12.10
Successfully installed daemons-1.1.4
Successfully installed thin-1.2.11
3 gems installed
Fri Aug 19 16:03:59 brookr@pridwen.local:~/my-new-rails-project > cd ..
Fri Aug 19 16:04:23 brookr@pridwen.local:~ > rm -rf my-new-rails-project/
Fri Aug 19 16:04:28 brookr@pridwen.local:~ > suspenders create my-new-rails-project
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/.gitkeep
create public/javascripts/application.js
create script
create script/rails
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
apply /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/suspenders-0.2.6/template/suspenders.rb
Getting rid of files we don't use
remove README
remove public/index.html
remove public/images/rails.png
Setting up the staging environment
run cp config/environments/production.rb config/environments/staging.rb from "."
Creating suspenders views
create app/views/shared
create app/views/shared/_flashes.html.erb
create app/views/shared/_javascript.html.erb
force app/views/layouts/application.html.erb
run trout checkout --source-root=template/trout Gemfile git://github.com/thoughtbot/suspenders.git from "."
Checked out Gemfile from git://github.com/thoughtbot/suspenders.git.
run bundle install from "."
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using RedCloth (4.2.8)
Using abstract (1.0.0)
Using activesupport (3.0.9)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.9)
Using erubis (2.6.6)
Using rack (1.2.3)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.29)
Using actionpack (3.0.9)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.9)
Using arel (2.0.10)
Using activerecord (3.0.9)
Using activeresource (3.0.9)
Using addressable (2.2.6)
Using mocha (0.9.8)
Using bourne (1.0)
Using bundler (1.0.18)
Installing nokogiri (1.5.0) with native extensions /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/brookr/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... no
-----
libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/brookr/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
--with-iconvlib
--without-iconvlib
--with-xml2lib
--without-xml2lib
--with-xsltlib
--without-xsltlib
Gem files will remain installed in /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0 for inspection.
Results logged to /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `block in build_extensions'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `each'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:504:in `build_extensions'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `block in install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `block in run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/cli.rb:220:in `install'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/bin/bundle:13:in `<top (required)>'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `<main>'
Let's use jQuery
generate jquery:install
Could not find gem 'clearance (~> 0.11.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Pulling in some common javascripts
run trout checkout --source-root=template/trout public/javascripts/prefilled_input.js git://github.com/thoughtbot/suspenders.git from "."
Checked out public/javascripts/prefilled_input.js from git://github.com/thoughtbot/suspenders.git.
Documentation
create doc/README_FOR_SUSPENDERS
Get ready for bundler... (this will take a while)
Let's use PostgreSQL
force config/database.yml
rake db:create
Could not find gem 'clearance (~> 0.11.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Setting up plugins
insert config/application.rb
insert config/environments/development.rb
insert config/environments/test.rb
insert config/environments/staging.rb
insert config/environments/production.rb
generate rspec:install
Could not find gem 'clearance (~> 0.11.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
generate cucumber:install
Could not find gem 'clearance (~> 0.11.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
generate clearance:install
Could not find gem 'clearance (~> 0.11.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
generate clearance:features
Could not find gem 'clearance (~> 0.11.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
create public/stylesheets/sass/screen.scss
create public/stylesheets/screen.css
create features/step_definitions/factory_girl_steps.rb
The template [/Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/suspenders-0.2.6/template/suspenders.rb] could not be loaded. Error: No such file or directory - /Users/brookr/my-new-rails-project/spec/spec_helper.rb
Fri Aug 19 16:04:54 brookr@pridwen.local:~ > rm -rf my-new-rails-project/
Fri Aug 19 16:05:15 brookr@pridwen.local:~ > gem install nokogiri -- --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26
Building native extensions. This could take a while...
Successfully installed nokogiri-1.5.0
1 gem installed
Fri Aug 19 16:05:49 brookr@pridwen.local:~ > bundle install
Could not locate Gemfile
Fri Aug 19 16:05:54 brookr@pridwen.local:~ > gem install clearance
Fetching: activesupport-3.0.10.gem (100%)
Fetching: activemodel-3.0.10.gem (100%)
Fetching: actionpack-3.0.10.gem (100%)
Fetching: railties-3.0.10.gem (100%)
Fetching: diesel-0.1.5.gem (100%)
Fetching: clearance-0.12.0.gem (100%)
Fetching: activerecord-3.0.10.gem (100%)
Fetching: activeresource-3.0.10.gem (100%)
Fetching: actionmailer-3.0.10.gem (100%)
Successfully installed activesupport-3.0.10
Successfully installed activemodel-3.0.10
Successfully installed actionpack-3.0.10
Successfully installed railties-3.0.10
Successfully installed diesel-0.1.5
Successfully installed clearance-0.12.0
Successfully installed activerecord-3.0.10
Successfully installed activeresource-3.0.10
Successfully installed actionmailer-3.0.10
9 gems installed
Fri Aug 19 16:06:30 brookr@pridwen.local:~ > rm -rf my-new-rails-project/
Fri Aug 19 16:06:44 brookr@pridwen.local:~ > suspenders create my-new-rails-project
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/.gitkeep
create public/javascripts/application.js
create script
create script/rails
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
apply /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/suspenders-0.2.6/template/suspenders.rb
Getting rid of files we don't use
remove README
remove public/index.html
remove public/images/rails.png
Setting up the staging environment
run cp config/environments/production.rb config/environments/staging.rb from "."
Creating suspenders views
create app/views/shared
create app/views/shared/_flashes.html.erb
create app/views/shared/_javascript.html.erb
force app/views/layouts/application.html.erb
run trout checkout --source-root=template/trout Gemfile git://github.com/thoughtbot/suspenders.git from "."
Checked out Gemfile from git://github.com/thoughtbot/suspenders.git.
run bundle install from "."
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using RedCloth (4.2.8)
Using abstract (1.0.0)
Using activesupport (3.0.9)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.9)
Using erubis (2.6.6)
Using rack (1.2.3)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.29)
Using actionpack (3.0.9)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.9)
Using arel (2.0.10)
Using activerecord (3.0.9)
Using activeresource (3.0.9)
Using addressable (2.2.6)
Using mocha (0.9.8)
Using bourne (1.0)
Using bundler (1.0.18)
Using nokogiri (1.5.0)
Installing ffi (1.0.9) with native extensions
Installing childprocess (0.2.1)
Installing json_pure (1.5.3)
Installing rubyzip (0.9.4)
Installing selenium-webdriver (2.4.0)
Installing xpath (0.1.4)
Installing capybara (1.0.1)
Installing capybara-webkit (0.6.0) with native extensions
Using rdoc (3.9.2)
Using thor (0.14.6)
Using railties (3.0.9)
Using diesel (0.1.5)
Using rails (3.0.9)
Installing clearance (0.11.2)
Installing cocaine (0.2.0)
Installing diff-lcs (1.1.2)
Installing json (1.5.3) with native extensions
Installing gherkin (2.4.11) with native extensions
Installing term-ansicolor (1.0.6)
Installing cucumber (1.0.2)
Installing cucumber-rails (0.4.1)
Using daemons (1.1.4)
Installing database_cleaner (0.6.7)
Installing dynamic_form (1.1.4)
Using eventmachine (0.12.10)
Installing factory_girl (2.0.4)
Installing factory_girl_rails (1.1.0)
Installing fakeweb (1.3.0)
Installing flutie (1.1.8)
Installing formtastic (1.2.4)
Installing high_voltage (1.0.0)
Installing hoptoad_notifier (2.4.11)
Installing jquery-rails (1.0.13)
Installing launchy (2.0.5)
Installing paperclip (2.3.16)
Using pg (0.11.0)
Installing rspec-core (2.6.4)
Installing rspec-expectations (2.6.0)
Installing rspec-mocks (2.6.0)
Installing rspec (2.6.0)
Installing rspec-rails (2.6.1)
Installing sass (3.1.7)
Installing sham_rack (1.3.3)
Installing shoulda-matchers (1.0.0.beta3)
Using thin (1.2.11)
Installing timecop (0.3.5)
Installing validation_reflection (1.0.0)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Let's use jQuery
generate jquery:install
remove public/javascripts/prototype.js
remove public/javascripts/effects.js
remove public/javascripts/dragdrop.js
remove public/javascripts/controls.js
copying jQuery (1.6.2)
create public/javascripts/jquery.js
create public/javascripts/jquery.min.js
copying jQuery UI (1.8.14)
create public/javascripts/jquery-ui.js
create public/javascripts/jquery-ui.min.js
copying jQuery UJS adapter (cd619d)
remove public/javascripts/rails.js
create public/javascripts/jquery_ujs.js
Pulling in some common javascripts
run trout checkout --source-root=template/trout public/javascripts/prefilled_input.js git://github.com/thoughtbot/suspenders.git from "."
Checked out public/javascripts/prefilled_input.js from git://github.com/thoughtbot/suspenders.git.
Documentation
create doc/README_FOR_SUSPENDERS
Get ready for bundler... (this will take a while)
Let's use PostgreSQL
force config/database.yml
rake db:create
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:4: warning: already initialized constant MAJOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:5: warning: already initialized constant MINOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:6: warning: already initialized constant BUILD
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:3: warning: already initialized constant NUMBERS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:9: warning: already initialized constant VERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:26: warning: already initialized constant RAKEVERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/early_time.rb:17: warning: already initialized constant EARLY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:28: warning: already initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/task_arguments.rb:73: warning: already initialized constant EMPTY_TASK_ARGS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/invocation_chain.rb:49: warning: already initialized constant EMPTY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/dsl_definition.rb:143: warning: already initialized constant Commands
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:44: warning: already initialized constant ARRAY_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:47: warning: already initialized constant MUST_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:51: warning: already initialized constant MUST_NOT_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:55: warning: already initialized constant SPECIAL_RETURN
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:61: warning: already initialized constant DELEGATING_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:364: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:370: warning: already initialized constant DEFAULT_IGNORE_PROCS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:64: warning: already initialized constant FileList
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:65: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep
(See full trace by running task with --trace)
Setting up plugins
insert config/application.rb
insert config/environments/development.rb
insert config/environments/test.rb
insert config/environments/staging.rb
insert config/environments/production.rb
generate rspec:install
create .rspec
create spec
create spec/spec_helper.rb
generate cucumber:install
create config/cucumber.yml
create script/cucumber
chmod script/cucumber
create features/step_definitions
create features/step_definitions/web_steps.rb
create features/support
create features/support/paths.rb
create features/support/selectors.rb
create features/support/env.rb
exist lib/tasks
create lib/tasks/cucumber.rake
gsub config/database.yml
gsub config/database.yml
force config/database.yml
generate clearance:install
/Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `initialize': could not connect to server: No such file or directory (PGError)
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `new'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:950:in `connect'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:246:in `initialize'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:25:in `new'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:25:in `postgresql_connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:229:in `new_connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:237:in `checkout_new_connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:191:in `block (2 levels) in checkout'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:187:in `loop'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:187:in `block in checkout'
from /Users/brookr/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `checkout'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:94:in `connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:317:in `retrieve_connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in `retrieve_connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in `connection'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/clearance-0.11.2/lib/generators/clearance/install/install_generator.rb:42:in `users_table_exists?'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/clearance-0.11.2/lib/generators/clearance/install/install_generator.rb:34:in `migrations'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/diesel-0.1.5/lib/diesel/generators/install_base.rb:12:in `generate_migrations'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `block in invoke_all'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `each'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.9/lib/rails/generators.rb:163:in `invoke'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.9/lib/rails/commands/generate.rb:10:in `<top (required)>'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require'
from /Users/brookr/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.9/lib/rails/commands.rb:17:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
generate clearance:features
create features/clearance/visitor_resets_password.feature
create features/clearance/visitor_signs_in.feature
create features/clearance/visitor_signs_out.feature
create features/clearance/visitor_signs_up.feature
create features/step_definitions/clearance/clearance_steps.rb
insert features/support/paths.rb
create public/stylesheets/sass/screen.scss
create public/stylesheets/screen.css
create features/step_definitions/factory_girl_steps.rb
insert features/support/env.rb
rake flutie:install
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:4: warning: already initialized constant MAJOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:5: warning: already initialized constant MINOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:6: warning: already initialized constant BUILD
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:3: warning: already initialized constant NUMBERS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:9: warning: already initialized constant VERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:26: warning: already initialized constant RAKEVERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/early_time.rb:17: warning: already initialized constant EARLY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:28: warning: already initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/task_arguments.rb:73: warning: already initialized constant EMPTY_TASK_ARGS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/invocation_chain.rb:49: warning: already initialized constant EMPTY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/dsl_definition.rb:143: warning: already initialized constant Commands
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:44: warning: already initialized constant ARRAY_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:47: warning: already initialized constant MUST_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:51: warning: already initialized constant MUST_NOT_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:55: warning: already initialized constant SPECIAL_RETURN
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:61: warning: already initialized constant DELEGATING_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:364: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:370: warning: already initialized constant DEFAULT_IGNORE_PROCS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:64: warning: already initialized constant FileList
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:65: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep
(See full trace by running task with --trace)
Ignore the right files
append .gitignore
append features/support/env.rb
exist app/models
create app/models/.gitkeep
create app/views/pages
create app/views/pages/.gitkeep
create db/migrate
create db/migrate/.gitkeep
exist log
create log/.gitkeep
exist public/images
create public/images/.gitkeep
create spec/support
create spec/support/.gitkeep
create spec/lib
create spec/lib/.gitkeep
create spec/models
create spec/models/.gitkeep
create spec/views
create spec/views/.gitkeep
create spec/controllers
create spec/controllers/.gitkeep
create spec/helpers
create spec/helpers/.gitkeep
create spec/support/matchers
create spec/support/matchers/.gitkeep
create spec/support/mixins
create spec/support/mixins/.gitkeep
create spec/support/shared_examples
create spec/support/shared_examples/.gitkeep
Copying miscellaneous support files
create config/initializers/errors.rb
create config/initializers/time_formats.rb
create app/helpers/body_class_helper.rb
Setting up a root route
route root :to => 'Clearance::Sessions#new'
Congratulations! You just pulled our suspenders.
Remember to run 'rails generate hoptoad' with your API key.
Fri Aug 19 16:09:46 brookr@pridwen.local:~ > cd my-new-rails-project/
Fri Aug 19 16:11:07 brookr@pridwen.local:~/my-new-rails-project > rake flutie:install
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:4: warning: already initialized constant MAJOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:5: warning: already initialized constant MINOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:6: warning: already initialized constant BUILD
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:3: warning: already initialized constant NUMBERS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:9: warning: already initialized constant VERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:26: warning: already initialized constant RAKEVERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/early_time.rb:17: warning: already initialized constant EARLY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:28: warning: already initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/task_arguments.rb:73: warning: already initialized constant EMPTY_TASK_ARGS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/invocation_chain.rb:49: warning: already initialized constant EMPTY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/dsl_definition.rb:143: warning: already initialized constant Commands
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:44: warning: already initialized constant ARRAY_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:47: warning: already initialized constant MUST_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:51: warning: already initialized constant MUST_NOT_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:55: warning: already initialized constant SPECIAL_RETURN
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:61: warning: already initialized constant DELEGATING_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:364: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:370: warning: already initialized constant DEFAULT_IGNORE_PROCS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:64: warning: already initialized constant FileList
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:65: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep
(See full trace by running task with --trace)
Fri Aug 19 16:11:17 brookr@pridwen.local:~/my-new-rails-project > rake -T
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:4: warning: already initialized constant MAJOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:5: warning: already initialized constant MINOR
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:6: warning: already initialized constant BUILD
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:3: warning: already initialized constant NUMBERS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:9: warning: already initialized constant VERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:26: warning: already initialized constant RAKEVERSION
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/early_time.rb:17: warning: already initialized constant EARLY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:28: warning: already initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/task_arguments.rb:73: warning: already initialized constant EMPTY_TASK_ARGS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/invocation_chain.rb:49: warning: already initialized constant EMPTY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/dsl_definition.rb:143: warning: already initialized constant Commands
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:44: warning: already initialized constant ARRAY_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:47: warning: already initialized constant MUST_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:51: warning: already initialized constant MUST_NOT_DEFINE
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:55: warning: already initialized constant SPECIAL_RETURN
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:61: warning: already initialized constant DELEGATING_METHODS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:364: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/file_list.rb:370: warning: already initialized constant DEFAULT_IGNORE_PROCS
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:64: warning: already initialized constant FileList
/Users/brookr/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake.rb:65: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep
(See full trace by running task with --trace)
Fri Aug 19 16:25:43 brookr@pridwen.local:~/my-new-rails-project > rake --version
rake, version 0.9.2
Fri Aug 19 16:25:46 brookr@pridwen.local:~/my-new-rails-project > bundle exec rake -T
rake about # List versions of all Rails frameworks and the environment
rake cucumber # Alias for cucumber:ok
rake cucumber:all # Run all features
rake cucumber:ok # Run features that should pass
rake cucumber:rerun # Record failing features and run only them if any exist
rake cucumber:wip # Run features that are being worked on
rake db:create # Create the database from config/database.yml for the current Rails.env (us...
rake db:drop # Drops the database for the current Rails.env (use db:drop:all to drop all ...
rake db:fixtures:load # Load fixtures into the current environment's database.
rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=false).
rake db:migrate:status # Display status of migrations
rake db:rollback # Rolls the schema back to the previous version (specify steps w/ STEP=n).
rake db:schema:dump # Create a db/schema.rb file that can be portably used against any DB suppor...
rake db:schema:load # Load a schema.rb file into the database
rake db:seed # Load the seed data from db/seeds.rb
rake db:setup # Create the database, load the schema, and initialize with the seed data (u...
rake db:structure:dump # Dump the database structure to an SQL file
rake db:version # Retrieves the current schema version number
rake doc:app # Generate docs for the app -- also availble doc:rails, doc:guides, doc:plug...
rake flutie:install # install flutie stylesheets into public/ directory
rake hoptoad:deploy # Notify Hoptoad of a new deploy.
rake hoptoad:heroku:add_deploy_notification # Install Heroku deploy notifications addon
rake hoptoad:test # Verify your gem installation by sending a test exception to the hoptoad se...
rake log:clear # Truncates all *.log files in log/ to zero bytes
rake middleware # Prints out your Rack middleware stack
rake notes # Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)
rake notes:custom # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM
rake paperclip:clean # Cleans out invalid attachments.
rake paperclip:refresh # Refreshes both metadata and thumbnails.
rake paperclip:refresh:metadata # Regenerates content_type/size metadata for a given CLASS (and optional ATT...
rake paperclip:refresh:thumbnails # Regenerates thumbnails for a given CLASS (and optional ATTACHMENT and STYL...
rake rails:template # Applies the template supplied by LOCATION=/path/to/template
rake rails:update # Update both configs and public/javascripts from Rails (or use just update:...
rake routes # Print out all defined routes in match order, with names.
rake secret # Generate a cryptographically secure secret key (this is typically used to ...
rake spec # Run all specs in spec directory (excluding plugin specs)
rake spec:controllers # Run the code examples in spec/controllers
rake spec:helpers # Run the code examples in spec/helpers
rake spec:lib # Run the code examples in spec/lib
rake spec:mailers # Run the code examples in spec/mailers
rake spec:models # Run the code examples in spec/models
rake spec:rcov # Run all specs with rcov
rake spec:requests # Run the code examples in spec/requests
rake spec:routing # Run the code examples in spec/routing
rake spec:views # Run the code examples in spec/views
rake stats # Report code statistics (KLOCs, etc) from the application
rake test # Runs test:units, test:functionals, test:integration together (also availab...
rake test:recent # Run tests for {:recent=>"test:prepare"} / Test recent changes
rake test:uncommitted # Run tests for {:uncommitted=>"test:prepare"} / Test changes since last che...
rake time:zones:all # Displays all time zones, also available: time:zones:us, time:zones:local -...
rake tmp:clear # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:c...
rake tmp:create # Creates tmp directories for sessions, cache, sockets, and pids
@acuppy
Copy link

acuppy commented Oct 4, 2011

I am having the issue of...

Building native extensions. This could take a while...
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.

    /usr/local/bin/ruby extconf.rb --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 --with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-iconv-dir=/usr

checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes

checking for xsltParseStylesheetDoc() in -lxslt... no

libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.

How did you get past the issue? I am trying to follow your notes, but can't figure out what turned it around.

Thanks for the help!

@brookr
Copy link
Author

brookr commented Oct 4, 2011

@acuppy
Howdy! This is just a console dump that I had pasted as a bug report for someone else. If you'd like to see what I did to get Rails running on Lion, check out the detailed blog post:

http://decielo.com/blog/articles/11/rails-3-on-lion-hey-ho-lets-go

In your case, it looks like you need to compile "libxslt". I show how I installed that in the post. Let me know in the comments there how it goes for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment