Skip to content

Instantly share code, notes, and snippets.

@danp
Created August 22, 2011 11:27
Show Gist options
  • Save danp/1162178 to your computer and use it in GitHub Desktop.
Save danp/1162178 to your computer and use it in GitHub Desktop.
% rails --version
Rails 3.0.10
% rails new app
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
...
% cd app
# edit Gemfile
% cat Gemfile
source 'http://rubygems.org'
gem 'rails', '3.0.10'
gem 'sqlite3'
group :development, :test do
gem 'ruby-debug19', :require => 'ruby-debug'
end
% bundle install
Fetching dependency information from the API at http://rubygems.org/........
Fetching dependency information from the API at http://rubygems.org/.
Using rake (0.9.2)
Using abstract (1.0.0)
Using activesupport (3.0.10)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.10)
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.10)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.10)
Using arel (2.0.10)
Using activerecord (3.0.10)
Using activeresource (3.0.10)
Using archive-tar-minitar (0.5.2)
Using bundler (1.1.pre.7)
Using columnize (0.3.4)
Using ruby_core_source (0.1.5)
Using linecache19 (0.5.12)
Using rdoc (3.9.2)
Using thor (0.14.6)
Using railties (3.0.10)
Using rails (3.0.10)
Using ruby-debug-base19 (0.11.25)
Using ruby-debug19 (0.11.6)
Using sqlite3 (1.3.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
% script/rails c
Loading development environment (Rails 3.0.10)
ruby-1.9.2-p180-patched :001 > # works
% bundle install --without development test
Using rake (0.9.2)
Using abstract (1.0.0)
Using activesupport (3.0.10)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.10)
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.10)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.10)
Using arel (2.0.10)
Using activerecord (3.0.10)
Using activeresource (3.0.10)
Using bundler (1.1.pre.7)
Using rdoc (3.9.2)
Using thor (0.14.6)
Using railties (3.0.10)
Using rails (3.0.10)
Using sqlite3 (1.3.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
% script/rails c
/Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler/runtime.rb:68:in `require': no such file to load -- ruby-debug (LoadError)
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler/runtime.rb:66:in `each'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler/runtime.rb:66:in `block in require'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler/runtime.rb:55:in `each'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler/runtime.rb:55:in `require'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/bundler-1.1.pre.7/lib/bundler.rb:123:in `require'
from /Users/dpeterson/t/app/config/application.rb:7:in `<top (required)>'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.0.10/lib/rails/commands.rb:21:in `require'
from /Users/dpeterson/.rvm/gems/ruby-1.9.2-p180-patched/gems/railties-3.0.10/lib/rails/commands.rb:21:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment