Skip to content

Instantly share code, notes, and snippets.

@mathias
Created July 14, 2012 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathias/3112558 to your computer and use it in GitHub Desktop.
Save mathias/3112558 to your computer and use it in GitHub Desktop.
Run rake. Just run rake.
mathiasx@banshee:~/dev$ git clone git@github.com:mathias/geronimo.git
Cloning into 'geronimo'...
remote: Counting objects: 123, done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 123 (delta 32), reused 114 (delta 23)
Receiving objects: 100% (123/123), 34.18 KiB, done.
Resolving deltas: 100% (32/32), done.
mathiasx@banshee:~/dev$ cd geronimo/
/Users/mathiasx/dev/geronimo
====================================================================================
= NOTICE =
====================================================================================
= RVM has encountered a new or modified .rvmrc file in the current directory =
= This is a shell script and therefore may contain any shell commands. =
= =
= Examine the contents of this file carefully to be sure the contents are =
= safe before trusting it! ( Choose v[iew] below to view the contents ) =
====================================================================================
Do you wish to trust this .rvmrc file? (/Users/mathiasx/dev/geronimo/.rvmrc)
y[es], n[o], v[iew], c[ancel]> y
Using /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194 with gemset geronimo
mathiasx@banshee:~/dev/geronimo (master=)$ rake
/Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:90:in `block in materialize': Could not find i18n-0.6.0 in any of the sources (Bundler::GemNotFound)
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83:in `map!'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83:in `materialize'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/definition.rb:127:in `specs'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.4/lib/bundler/environment.rb:27:in `specs'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:41:in `candidate?'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:60:in `setup'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:75:in `<top (required)>'
from /Users/mathiasx/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /Users/mathiasx/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /Users/mathiasx/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /Users/mathiasx/.rvm/gems/ruby-1.9.3-p194@global/bin/ruby_noexec_wrapper:9:in `<main>'
mathiasx@banshee:~/dev/geronimo (master=)$ bundle
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Using rake (0.9.2.2)
Installing i18n (0.6.0)
Installing multi_json (1.3.6)
Installing activesupport (3.2.6)
Installing builder (3.0.0)
Installing activemodel (3.2.6)
Installing erubis (2.7.0)
Installing journey (1.0.4)
Installing rack (1.4.1)
Installing rack-cache (1.2)
Installing rack-test (0.6.1)
Installing hike (1.2.1)
Installing tilt (1.3.3)
Installing sprockets (2.1.3)
Installing actionpack (3.2.6)
Installing mime-types (1.19)
Installing polyglot (0.3.3)
Installing treetop (1.4.10)
Installing mail (2.4.4)
Installing actionmailer (3.2.6)
Installing arel (3.0.2)
Installing tzinfo (0.3.33)
Installing activerecord (3.2.6)
Installing activeresource (3.2.6)
Installing addressable (2.2.8)
Installing nokogiri (1.5.5) with native extensions
Installing ffi (1.0.11) with native extensions
Installing childprocess (0.3.3)
Installing libwebsocket (0.1.3)
Installing rubyzip (0.9.9)
Installing selenium-webdriver (2.24.0)
Installing xpath (0.1.4)
Installing capybara (1.1.2)
Installing coderay (1.0.7)
Installing coffee-script-source (1.3.3)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing rack-ssl (1.3.2)
Installing json (1.7.3) with native extensions
Installing rdoc (3.12)
Installing thor (0.15.4)
Installing railties (3.2.6)
Installing coffee-rails (3.2.2)
Installing daemons (1.1.8)
Installing database_cleaner (0.8.0)
Installing diff-lcs (1.1.3)
Installing eventmachine (0.12.10) with native extensions
Installing factory_girl (3.5.0)
Installing factory_girl_rails (3.5.0)
Installing faye-websocket (0.4.5) with native extensions
Installing gherkin (2.11.1) with native extensions
Installing haml (3.1.6)
Installing haml-rails (0.3.4)
Installing http_parser.rb (0.5.3) with native extensions
Installing jquery-rails (2.0.2)
Installing method_source (0.7.1)
Installing pg (0.14.0) with native extensions
Installing poltergeist (0.6.0)
Installing slop (2.4.4)
Installing pry (0.9.9.6)
Installing pry-rails (0.1.6)
Using bundler (1.1.4)
Installing rails (3.2.6)
Installing rspec-core (2.10.1)
Installing rspec-expectations (2.10.0)
Installing rspec-mocks (2.10.1)
Installing rspec (2.10.0)
Installing rspec-rails (2.10.1)
Installing sass (3.1.20)
Installing sass-rails (3.2.5)
Installing thin (1.4.1) with native extensions
Installing turnip (1.0.0)
Installing uglifier (1.2.6)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
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!
mathiasx@banshee:~/dev/geronimo (master=)$ rake
rake aborted!
No such file or directory - /Users/mathiasx/dev/geronimo/config/database.yml
Tasks: TOP => default => spec => db:test:prepare => db:abort_if_pending_migrations
(See full trace by running task with --trace)
mathiasx@banshee:~/dev/geronimo (master=)$ cp config/database.yml{.template,}
mathiasx@banshee:~/dev/geronimo (master=)$ rake
rake aborted!
FATAL: database "geronimo_development" does not exist
Tasks: TOP => default => spec => db:test:prepare => db:abort_if_pending_migrations
(See full trace by running task with --trace)
mathiasx@banshee:~/dev/geronimo (master=)$ rake db:create:all
$ rake
You have 1 pending migrations:
20120714182653 CreateUsers
Run `rake db:migrate` to update your database then try again.
$ rake db:migrate
== CreateUsers: migrating ====================================================
-- create_table(:users)
-> 0.0093s
== CreateUsers: migrated (0.0094s) ===========================================
$ rake
/Users/mathiasx/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -S rspec ./spec/models/user_spec.rb ./spec/requests/home_spec.rb
*WARNING: there is already a transaction in progress
NOTICE: there is no transaction in progress
.
Pending:
User add some examples to (or delete) /Users/mathiasx/dev/geronimo/spec/models/user_spec.rb
# No reason given
# ./spec/models/user_spec.rb:4
Finished in 0.16447 seconds
2 examples, 0 failures, 1 pending
Done! Tests pass!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment