Skip to content

Instantly share code, notes, and snippets.

View mscottford's full-sized avatar
🔎
hunting for code to clean up

M. Scott Ford mscottford

🔎
hunting for code to clean up
View GitHub Profile
$ bundle -v
Bundler version 1.2.3
$ cat Gemfile
source :rubygems
gem 'chef', '~>0.9.14'
:ruby => '1.9.3-p327'
sunstreaker:i1113 mscottford$ bundle install
$ bundle -v
Bundler version 1.2.3
$ cat Gemfile
source 'http://rubygems.org'
gem "i18n", ">= 0.4.0"
gem 'rails', '3.0.5'
sunstreaker:4037126 mscottford$ cat Gemfile
source :rubygems
gemspec
:ruby => '1.9.3-p327'
sunstreaker:4037126 mscottford$ cat test.gemspec
Gem::Specification.new do |s|
s.name = "testytest"
s.version = "0.0.1"
s.add_dependency "savon", "~> 0.9.8"
$ bundle --version
Bundler version 1.2.3
$ ls
bar foo
$ cat bar/Gemfile
source 'https://rubygems.org'
# Specify your gem's dependencies in bar.gemspec
$ ruby --version
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
$ bundle --version
Bundler version 1.2.3
$ cat Gemfile
source :rubygems
gem "curb", "~> 0.7.8"
$ bundle gem bugtest
create bugtest/Gemfile
create bugtest/Rakefile
create bugtest/LICENSE.txt
create bugtest/README.md
create bugtest/.gitignore
create bugtest/bugtest.gemspec
create bugtest/lib/bugtest.rb
create bugtest/lib/bugtest/version.rb
Initializating git repo in /Users/mscottford/src/bundler/testcases/i1041/bugtest
$ bundle --version
Bundler version 1.2.3
$ bundle help
BUNDLE(1) BUNDLE(1)
NAME
bundle - Ruby Dependency Management
$ bundle --version
Bundler version 1.2.3
$ cat Gemfile
puts 'Before source'
source :rubygems
puts 'After source'
puts 'Before rake'
gem 'rake'
$ bundle install
Gemfile syntax error:
/Users/mscottford/src/bundler/rails-dev-box/rails/Gemfile:5: syntax error, unexpected ':', expecting $end
gem 'arel', github: 'rails/arel', branch: 'master'
^
$ bundle --version
Bundler version 1.2.3
$ cat <<-EOT >Gemfile
> source :rubygems
> gem "paperclip-cloudfiles",:git => "http://github.com/minter/paperclip.git",:
require => 'paperclip'
> EOT
$ bundle install