Now i am getting following error,
Even i have installed ruby 2.0.0 in my server its showing like require >=
1.9.3
in my server:
  $ ruby -v
  ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]


*** [err :: xxx.xxx.xxx.xx]
/usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:388:in
`ensure_required_ruby_version_met'
*** [err :: xxx.xxx.xxx.xx] :
*** [err :: xxx.xxx.xxx.xx] activesupport requires Ruby version >= 1.9.3.
*** [err :: xxx.xxx.xxx.xx] (
*** [err :: xxx.xxx.xxx.xx] Gem::InstallError
*** [err :: xxx.xxx.xxx.xx] )
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/1.8/rubygems/installer.rb:156:in `install'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/source.rb:101:in `install'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:78:in
`preserve_paths'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/source.rb:91:in `install'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/installer.rb:58:in `run'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:93:in
`with_build_args'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/installer.rb:57:in `run'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:12:in `each'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:12:in `each'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/installer.rb:49:in `run'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/installer.rb:8:in `install'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/cli.rb:222:in `install'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in `send'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in `run'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/vendor/thor/invocation.rb:118:in
`invoke_task'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/vendor/thor.rb:246:in `dispatch'
*** [err :: xxx.xxx.xxx.xx] from
/usr/lib/ruby/vendor_ruby/bundler/vendor/thor/base.rb:389:in `start'
*** [err :: xxx.xxx.xxx.xx] from /usr/bin/bundle:13
    command finished in 213763ms
*** [deploy:update_code] rolling back



On Tue, Jan 21, 2014 at 1:24 PM, Jordon Bedwell <[email protected]> wrote:

> On Tue, Jan 21, 2014 at 12:33 AM, saravanan p
> <[email protected]> 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 [email protected].
> To post to this group, send email to [email protected].
> 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.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAOxyzk3%3DLdF7hF6bgOYt4HrJUBL_%2BtqiF4Fnmaw5U2xZnKXMRw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to