On 10/14/10 8:07 PM, Wes Gamble wrote:
 On 10/14/10 7:43 PM, Wes Gamble wrote:
 I have the following entry in my Gemfile:

  gem 'devise',           :path => 'vendor/gems'

This is a customized version of the Devise gem (v. 1.0.8) that is stored in my RAILS_ROOT/vendor/gems directory.

When I try to deploy with this entry in the Gemfile, I get:

-----> Heroku receiving push
-----> Rails app detected
-----> Gemfile detected, running Bundler version 1.0.0
       Unresolved dependencies detected; Installing...
       Fetching source index for http://rubygems.org/
       Could not find devise-1.0.8 in any of the sources
       FAILED: http://docs.heroku.com/bundler
 !     Heroku push rejected, failed to install gems via Bundler

and so, I cannot deploy my app?

Is this a bundler issue, or a Heroku issue?

Thanks,
Wes
I added a version to the gem 'devise' entry since it appeared that the Gemfile.lock version was driving things, like so:

gem 'devise',           '= 1.0.8', :path => 'vendor/gems'

and this seemed to help - when Bundler on Heroku went to process the Gemfile, I saw this:

Using devise (1.0.8) from source at /disk1/tmp/build_5065_23966874519180/vendor/gems

However, when I go to run "heroku rake" tasks, I get the following:

rake aborted!
uninitialized constant Devise

Hmmm.

When I run rake locally, I can see that it makes a successful call to RAILS_ROOT/vendor/gems/devise-1.0.8/init.rb which does a 'require devise'

The only thing I can think of is that Heroku has a different initialization process for rake that doesn't load up what's in vendor/gems?

Any ideas as to why I can't run rake tasks are welcome.
Lastly, I had a .git subdirectory inside of my local devise gem, removing it allows it to be seen.

Sorry for the noise.

Wes

--
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to