Skip to content
Browse files

Fix a couple of typos in the generic ruby buildpack

- Repeated syck_hack phrase due to vim '.' command (best guess) is removed.
- Does something with GIT_DIR env variable removed.  Comment says it does so without it removed.  Fixed.
  • Loading branch information...
1 parent cbee473 commit 8e22f2ce950042aa8cb688350699e97d2fd09e8b @knewter knewter committed Jan 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/language_pack/ruby.rb
View
4 lib/language_pack/ruby.rb
@@ -308,7 +308,7 @@ def build_bundler
end
end
- # RUBYOPT line that requires syck_hack filerequires syck_hack file
+ # RUBYOPT line that requires syck_hack file
# @return [String] require string if needed or else an empty string
def syck_hack
syck_hack_file = File.expand_path(File.join(File.dirname(__FILE__), "../../vendor/syck_hack"))
@@ -425,7 +425,7 @@ def rake_task_defined?(task)
run("env PATH=$PATH bundle exec rake #{task} --dry-run") && $?.success?
end
- # executes the block without GIT_DIR environment variable removed since it can mess with the current working directory git thinks it's in
+ # executes the block with GIT_DIR environment variable removed since it can mess with the current working directory git thinks it's in
# param [block] block to be executed in the GIT_DIR free context
def allow_git(&blk)
git_dir = ENV.delete("GIT_DIR") # can mess with bundler

0 comments on commit 8e22f2c

Please sign in to comment.
Something went wrong with that request. Please try again.