support/project.rb
# I had to order these to make it possible to test local installations;
# otherwise if I tried to run `rake build install`, it wouldn't be able
# to find the latest version if it was sooner.
I had to order these to make it possible to test local installations;
otherwise if I tried to run `rake build install`, it wouldn't be able
to find the latest version if it was sooner.
I had to order these to make it possible to test local installations ; otherwise if I tried to run ` rake build install ` it wouldn ' t be able to find the latest version if it was sooner .
def chdir
      gemfile_location = ENV["BUNDLE_GEMFILE"]
      ENV["BUNDLE_GEMFILE"] = File.join(Dir.pwd, "Gemfile")
      Dir.chdir gem_dir do
        puts "Switching to #{Dir.pwd}"
        yield if block_given?
      end
      ENV["BUNDLE_GEMFILE"] = gemfile_location
      puts "Back to #{Dir.pwd}"
    end
def chdir gemfile_location = ENV [ "BUNDLE_GEMFILE" ] ENV [ "BUNDLE_GEMFILE" ] = File . join ( Dir . pwd , "Gemfile" ) Dir . chdir gem_dir do puts "Switching to #{Dir.pwd}" yield if block_given? end ENV [ "BUNDLE_GEMFILE" ] = gemfile_location puts "Back to #{Dir.pwd}" end
I had to order these to make it possible to test local installations;
otherwise if I tried to run `rake build install`, it wouldn't be able
to find the latest version if it was sooner.
I had to order these to make it possible to test local installations ; otherwise if I tried to run ` rake build install ` it wouldn ' t be able to find the latest version if it was sooner .