Permalink
Browse files

Fixed a bug in the fedex:generate_definitions generator that caused t…

…he initializer to try an load the definitions from an absolute path rather than one relative to Rails.root
  • Loading branch information...
1 parent 7c95095 commit 749986f0dbb10e1ce57f87c2923b5b30cea126a5 @brewski committed Jun 29, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/fedex/version.rb
  2. +1 −1 lib/generators/fedex/generate_definitions_generator.rb
View
2 lib/fedex/version.rb
@@ -1,3 +1,3 @@
module Fedex
- VERSION = "1.1.48"
+ VERSION = "1.1.49"
end
View
2 lib/generators/fedex/generate_definitions_generator.rb
@@ -29,7 +29,7 @@ def install
unless (options[:skip_initializer])
create_file(FEDEX_INITIALIZER_FILE,
- "Fedex::WebServices::Definitions.load_definitions('#{target_lib_dir}')")
+ "Fedex::WebServices::Definitions.load_definitions('lib')")
end
end
end

0 comments on commit 749986f

Please sign in to comment.