Comments on: Get Integrity to play well with Rails 3 and Bundler 1.0 http://eggsonbread.com/2010/08/31/get-integrity-to-play-well-with-rails-3-and-bundler-1-0/?utm_source=rss&utm_medium=rss&utm_campaign=get-integrity-to-play-well-with-rails-3-and-bundler-1-0 Simple and delicious. Sun, 01 Mar 2015 12:30:00 +0000 hourly 1 By: Amit Kulkarni http://eggsonbread.com/2010/08/31/get-integrity-to-play-well-with-rails-3-and-bundler-1-0/comment-page-1/#comment-5992 Tue, 13 Sep 2011 11:50:29 +0000 http://eggsonbread.com/?p=308#comment-5992 Hi,
I tried your solution but getting the same error.
My app’s config/boot file is as follows:
require ‘rubygems’

# Set up gems listed in the Gemfile.
#ENV['BUNDLE_GEMFILE'] ||= File.expand_path(‘../../Gemfile’, __FILE__)

#require ‘bundler/setup’ if File.exists?(ENV['BUNDLE_GEMFILE'])

# Set up gems listed in the Gemfile.
GEMFILE_PATH = File.expand_path(‘../../Gemfile’, __FILE__)
if File.exist?(GEMFILE_PATH)
# Force the rails 3 application to use its Gemfile
ENV['BUNDLE_GEMFILE'] = GEMFILE_PATH
require ‘bundler’
Bundler.setup
end

My app is getting checkout properly.Problem comes when running rake task.

Now when i go into the build and run the task it is getting properly executed.

]]>
By: Mark Wilden http://eggsonbread.com/2010/08/31/get-integrity-to-play-well-with-rails-3-and-bundler-1-0/comment-page-1/#comment-3229 Sun, 10 Apr 2011 15:31:21 +0000 http://eggsonbread.com/?p=308#comment-3229 Thanks for the tip! I think the line needs to be


GEMFILE_PATH = File.expand_path('../../Gemfile', File.dirname(__FILE__))

]]>