Skip to content

Commit

Permalink
+ 4.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Feb 2, 2012
1 parent 05ca726 commit 274fc46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 4 additions & 0 deletions history.textile
@@ -1,5 +1,9 @@
h2. Upcoming Version

h2. Version 4.2.4 "fileutils"

* hanke: (server) Require fileutils regardless of the Ruby version Picky is run in.

h2. Version 4.2.3 "overbird"

* hanke: (server) Require fileutils in case we run Picky on MacRuby (thanks overbryd).
Expand Down
1 change: 1 addition & 0 deletions server/lib/picky.rb
Expand Up @@ -10,6 +10,7 @@ module Picky
require 'yajl'
require 'procrastinate'
require 'rack_fast_escape' if defined? Rack
require 'fileutils'

# Check if platform specific modifiers need to be installed.
#
Expand Down
6 changes: 0 additions & 6 deletions server/lib/picky/platforms/macruby.rb
Expand Up @@ -7,12 +7,6 @@

puts "Installing Picky specific MacRuby extensions."

# Note by @overbryd in https://gist.github.com/1710233:
# require fileutils to use FileUtils. Otherwise an error gets raised.
# uninitialized constant Picky::Backends::Helpers::File::FileUtils (NameError)
#
require 'fileutils'

module Kernel

def require_relative relative_feature
Expand Down
2 changes: 1 addition & 1 deletion version.rb
@@ -1,3 +1,3 @@
module Picky
VERSION = '4.2.3'
VERSION = '4.2.4'
end

0 comments on commit 274fc46

Please sign in to comment.