Paul wrote in post #965976:
>> group :production do
>> gem 'mysql'
>> end
>
> I don't really have an answer, but I can confirm that I've also been
> frustrated by the "group" feature in the Gemfile. I found it easier to
> get rid of the need for it. Can you set up your development machine to
> use mysql? I got rid of mongrel in favor of WEBrick on my development
> machine just for this reason, too.

Yeah, that is an option. I did just find this page - wish I found it 
last night when I was googling this problem!

http://blog.josephholsten.com/2010/09/deploying-with-bundler-and-capistrano/

Seems including that require line in the deploy.rb file, will let you do 
things like:

cap bundle:install

and it will ignore, by default, :development and :test groups. And by 
including that, cap:deploy will do a 'bundle install' on your server - 
which I found here:

http://gembundler.com/deploying.html

I may or may not make that change and see what happens... but it's all 
working and I don't want to break it right now ;)

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to