Monday, January 20, 2014

Re: [Rails] capistrano deploy issue: "rails (= 4.0.0) depends on bundler (< 2.0, >= 1.3.0)"

On Tue, Jan 21, 2014 at 12:33 AM, saravanan p
<psaravanan11.rails@gmail.com> wrote:
> Hi all,
>
> I am trying to push rails 4 app into my server using capistrano.
>
> i am getting following error while 'cap deploy',
>
> * executing "cd -- projects/testproject/releases/20140121061131 &&
> RAILS_ENV=production RAILS_GROUPS=assets rake assets:precompile"
> servers: ["xxxxxxx"]
> [xxxxxxx] executing command
> *** [err :: xxxxxxx] rake aborted!
> *** [err :: xxxxxxx]
> *** [err :: xxxxxxx] Bundler could not find compatible versions for gem
> "bundler":
> *** [err :: xxxxxxx] In Gemfile:
> *** [err :: xxxxxxx] rails (= 4.0.0) depends on
> *** [err :: xxxxxxx] bundler (< 2.0, >= 1.3.0)
> *** [err :: xxxxxxx]
> *** [err :: xxxxxxx] Current Bundler version:
> *** [err :: xxxxxxx] bundler (1.0.15)
> *** [err :: xxxxxxx]
> *** [err :: xxxxxxx] (See full trace by running task with --trace)
> *** [err :: xxxxxxx]
> command finished in 541ms
> *** [deploy:update_code] rolling back
>
>
> but in both local and server i have bundler version 1.5.0
> Can anyone help me?

Some where on the server there is /not/ bundler 1.5.0 because it's
showing that it has access to bundler 1.0.15. I would first try to
login to the server and gem update (since most of the time bundler is
the only gem aside from the set of default gems that is setup in gem)
and then gem clean and try a fresh deploy.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnzSiSi4ZMbWFP%2Bd7i4%2Bup8O6zm67b5X7y8LurcWayKMhA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate