Merge pull request #834 from arcresu/ruby-version

Unify approach to ruby environment normalisation
This commit is contained in:
Adam Roben 2013-11-11 08:07:32 -08:00
commit 768534c42f
2 changed files with 33 additions and 15 deletions

View File

@ -3,9 +3,6 @@
.sass-cache .sass-cache
capybara-*.html capybara-*.html
.rspec .rspec
.rvmrc
/.bundle
/vendor/bundle
/log /log
/tmp /tmp
/db/*.sqlite3 /db/*.sqlite3
@ -16,3 +13,13 @@ capybara-*.html
rerun.txt rerun.txt
pickle-email-*.html pickle-email-*.html
config/initializers/secret_token.rb config/initializers/secret_token.rb
## Environment normalisation:
/.bundle
/vendor/bundle
# these should all be checked in to normalise the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

View File

@ -1,18 +1,29 @@
*.gem *.gem
*.rbc *.rbc
.bundle
.config .config
coverage coverage
InstalledFiles InstalledFiles
lib/bundler/man /pkg/
pkg /spec/reports
rdoc /test/tmp
spec/reports /test/version_tmp
test/tmp /tmp/
test/version_tmp
tmp
# YARD artifacts ## Documentation cache and generated files:
.yardoc /.yardoc
_yardoc /_yardoc
doc/ /doc/
/rdoc
## Environment normalisation:
/.bundle
/lib/bundler/man
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc