Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added more output when git fail to commit

  • Loading branch information...
commit adc2f9a90585cbd8c09c12070d58568740968d55 1 parent 10ad365
@robink robink authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/precompile2git.rb
  2. +1 −1  rails-precompile2git.gemspec
View
2  lib/precompile2git.rb
@@ -30,7 +30,7 @@ def commit_and_push
@g.add('.')
@g.commit_all("Assets precompilation")
rescue Git::GitExecuteError => e
- @logger.error("Could not commit. This can occur if there was nothing to commit.")
+ @logger.error("Could not commit. This can occur if there was nothing to commit. Git error: " + e.inspect)
end
begin
View
2  rails-precompile2git.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = "rails-precompile2git"
- s.version = "1.0.4"
+ s.version = "1.0.5"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Robin Komiwes"]
Please sign in to comment.
Something went wrong with that request. Please try again.