gem versions on prod are different than dev...

0 views
Skip to first unread message

Anthony Ettinger

unread,
Jun 13, 2008, 3:22:46 AM6/13/08
to capis...@googlegroups.com
Do prod gems get ignored when I do a rails --freeze locally before I push?

--
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

John Trupiano

unread,
Jun 13, 2008, 3:38:18 PM6/13/08
to Capistrano
Are you deploying from an SCM? If so, did you remember to commit your
vendor directory before re-deploying?

-John

Anthony Ettinger

unread,
Jun 13, 2008, 8:49:19 PM6/13/08
to capis...@googlegroups.com
Thanks for responding...

./vendor is committed, and it gets pushed.

$ svn st -u
Status against revision: 798

$ rake rails:freeze:gems
(in /x/home/username/projects/rails/my_app)
Freezing to the gems for Rails 2.0.2
Unpacked gem: 'activesupport-2.0.2'
Unpacked gem: 'activerecord-2.0.2'
Unpacked gem: 'actionpack-2.0.2'
Unpacked gem: 'actionmailer-2.0.2'
Unpacked gem: 'activeresource-2.0.2'
Unpacked gem: 'rails-2.0.2'

$ svn st
~ vendor/rails

I think I only did rake rails:freeze before...not sure the impact of
this, but the "~" in svn status seems odd.

'~' versioned item obstructed by some item of a different kind.

Any ideas how to properly push with the gems, rails, etc. that I'm
using on my local box?
I have not actually pushed in this state yet...as it seems to be in disarray.

--

John Trupiano

unread,
Jun 14, 2008, 2:14:25 PM6/14/08
to Capistrano
Anthony,

If the gems are in your source control, then there shouldn't be
anything special whatsoever with regards to deploying with
capistrano. I would verify there's not a problem with your repository
at this point.

--------
$> svn help status
...
'~' versioned item obstructed by some item of a different kind
...
--------

It sounds like you need to sort something out with your repo. I don't
imagine you'll have any problems once you've taken care of this.

-John



On Jun 13, 8:49 pm, "Anthony Ettinger" <ettin...@gmail.com> wrote:
> Thanks for responding...
>
> ./vendor is committed, and it gets pushed.
>
> $ svn st -u
> Status against revision: 798
>
> $ rake rails:freeze:gems
> (in /x/home/username/projects/rails/my_app)
> Freezing to the gems for Rails 2.0.2
> Unpacked gem: 'activesupport-2.0.2'
> Unpacked gem: 'activerecord-2.0.2'
> Unpacked gem: 'actionpack-2.0.2'
> Unpacked gem: 'actionmailer-2.0.2'
> Unpacked gem: 'activeresource-2.0.2'
> Unpacked gem: 'rails-2.0.2'
>
> $ svn st
> ~ vendor/rails
>
> I think I only did rake rails:freeze before...not sure the impact of
> this, but the "~" in svn status seems odd.
>
> '~' versioned item obstructed by some item of a different kind.
>
> Any ideas how to properly push with the gems, rails, etc. that I'm
> using on my local box?
> I have not actually pushed in this state yet...as it seems to be in disarray.
>
Reply all
Reply to author
Forward
0 new messages