Thanks, Jimmy. That worked fine.

BTW, just curious, there is another plugin, called sucker -
http://rubygems.org/gems/sucker - that is currently installed as a vendor
plugin, but that seems to be working fine as a plugin on heroku - any idea
how that is working?

Thanks
Anand

On Tue, Dec 21, 2010 at 12:29 PM, Jimmy Thrasher <[email protected]>wrote:

> Ah, you're on Rails 3?  Then you should just be able to add delayed_job to
> your Gemfile and all should be well. Everything I said had to do with Rails
> 2.  By the way, you should add every gem you depend on to the Gemfile.
> Otherwise 1) Heroku won't install it, 2) Rails won't have it available when
> it runs.  Just as a review:
> - Add to Gemfile
> - Run 'bundle install'
> - Check in Gemfile*
>
> Jimmy
>
> On Tue, Dec 21, 2010 at 3:25 PM, Anand Ramanathan <[email protected]>wrote:
>
>> Thanks, Jimmy. Are you on rails 3? I have never unpacked gems before: I
>> have added gems to gemfile, or plugins to vendor/plugins.
>>
>> I read the article on unpacking gems:
>> http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-
>>
>> I am new to all this, so reiterating the steps:
>>
>> 1. uninstall delayed_job from vendor/plugins
>> 2. Add dj to environment.rb (In rails 3, I see
>> just MyAppName::Application.initialize! - I don't see Rails::Initializer.run
>> do |config| - should I just add that with config.gem 'delayed_job'?)
>> 3. Do I need to add it to the gemfile as well?
>>
>> Thanks,
>> Anand
>>
>>
>> On Tue, Dec 21, 2010 at 12:13 PM, Jimmy Thrasher <[email protected]
>> > wrote:
>>
>>> On Tue, Dec 21, 2010 at 3:10 PM, Anand Ramanathan <[email protected]>wrote:
>>>
>>>> I have delayed_job in vendor/plugins - is that sufficient?
>>>
>>>
>>> I don't know the ins and outs of Rails plugins, but I have delayed_job
>>> unpacked in vendor/gems and defined in config/environment.rb, and it all
>>> works fine for me.
>>>
>>> Jimmy
>>>
>>> --
>>> +1-919-627-7546
>>>
>>> --
>>> 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]<heroku%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/heroku?hl=en.
>>>
>>
>>  --
>> 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]<heroku%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en.
>>
>
>
>
> --
> +1-919-627-7546
>
> --
> 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]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>

-- 
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