zendesk / ultragrep

the grep that greps the hardest.
Apache License 2.0
29 stars 4 forks source link

Prepare for installation via Bundler #31

Closed mfischer-zd closed 10 years ago

mfischer-zd commented 10 years ago

This commit does the following things:

osheroff commented 10 years ago

sure ok :+1:

vanchi-zendesk commented 10 years ago

build fail: Could not find rake-10.3.1 in any of the sources The command "bundle install --deployment --path=vendor/bundle" failed. Retrying, 2 of 3.

mfischer-zd commented 10 years ago

"Works for me(tm)":

mfischer@precise:~/ultragrep$ bundle install
The program 'bundle' is currently not installed.  You can install it by typing:
sudo apt-get install ruby-bundler
mfischer@precise:~/ultragrep$ rbenv rehash
mfischer@precise:~/ultragrep$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Installing rake 10.3.1
Installing bump 0.5.0
Installing columnize 0.8.9
Installing debugger-linecache 1.2.0
Installing debugger-ruby_core_source 1.3.2
Installing debugger 1.6.6
Installing diff-lcs 1.2.5
Installing rspec-core 2.14.8
Installing rspec-expectations 2.14.5
Installing rspec-mocks 2.14.6
Installing rspec 2.14.1
Using bundler 1.6.2
Updating files in vendor/cache
  * rake-10.3.1.gem
  * bump-0.5.0.gem
  * columnize-0.8.9.gem
  * debugger-linecache-1.2.0.gem
  * debugger-ruby_core_source-1.3.2.gem
  * debugger-1.6.6.gem
  * diff-lcs-1.2.5.gem
  * rspec-core-2.14.8.gem
  * rspec-expectations-2.14.5.gem
  * rspec-mocks-2.14.6.gem
  * rspec-2.14.1.gem
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
mfischer@precise:~/ultragrep$ bundle install --deployment --path=vendor/bundle
Installing rake 10.3.1
Installing bump 0.5.0
Installing columnize 0.8.9
Installing debugger-linecache 1.2.0
Installing debugger-ruby_core_source 1.3.2
Installing debugger 1.6.6
Installing diff-lcs 1.2.5
Installing rspec-core 2.14.8
Installing rspec-expectations 2.14.5
Installing rspec-mocks 2.14.6
Installing rspec 2.14.1
Using bundler 1.6.2
Your bundle is complete!
It was installed into ./vendor/bundle
mfischer-zd commented 10 years ago

@vanchi-zendesk you probably had an invalid .bundle/config file in your working repo. Remove it and the problem should go away.

vanchi-zendesk commented 10 years ago

@mfischer-zd This is from the build failure. (travis) Any ideas why it happens?

mfischer-zd commented 10 years ago

Should be green now. Can I get another :+1: ?

vanchi-zendesk commented 10 years ago

:+1:

vanchi-zendesk commented 10 years ago

@mfischer-zd (http://apidock.com/ruby/FileUtils/mkdir_p might be what you need to remove those exceptions)

vanchi-zendesk commented 10 years ago

:+1: