Fetching gem metadata from http://rubygems.org/.Unfortunately, a fatal error has occurred. Please se

61 views
Skip to first unread message

kanna

unread,
Apr 23, 2013, 8:22:15 AM4/23/13
to rubyonra...@googlegroups.com
Hi guys

when i'm doing bundle install i got this type of error

whats this?

please help me.

rajesh@rajesh:~/workspace/Cybermedia_Test$ bundle install
Fetching gem metadata from http://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/fetcher.rb:174:in `load': marshal data too short (ArgumentError)
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/fetcher.rb:174:in `fetch_dependency_remote_specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/fetcher.rb:128:in `fetch_remote_specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/fetcher.rb:76:in `specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/source.rb:234:in `block in remote_specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/source.rb:232:in `each'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/source.rb:232:in `remote_specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/source.rb:165:in `fetch_specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/source.rb:70:in `specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/lazy_specification.rb:53:in `__materialize__'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/spec_set.rb:86:in `block in materialize'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/spec_set.rb:83:in `map!'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/spec_set.rb:83:in `materialize'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/definition.rb:113:in `specs'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/definition.rb:108:in `resolve_remotely!'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/installer.rb:83:in `run'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/installer.rb:14:in `install'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/cli.rb:231:in `install'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/vendor/thor/task.rb:27:in `run'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/vendor/thor.rb:275:in `dispatch'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/vendor/thor/base.rb:408:in `start'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/bin/bundle:14:in `block in <top (required)>'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/lib/bundler/friendly_errors.rb:4:in `with_friendly_errors'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/gems/bundler-1.2.4/bin/bundle:14:in `<top (required)>'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/bin/bundle:19:in `load'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385@global/bin/bundle:19:in `<main>'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/rajesh/.rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `<main>'
rajesh@rajesh:~/workspace/Cybermedia_Test$ vim Gemfile

Colin Law

unread,
Apr 23, 2013, 8:31:24 AM4/23/13
to rubyonra...@googlegroups.com
On 23 April 2013 13:22, kanna <vtrk...@gmail.com> wrote:
> Hi guys
>
> when i'm doing bundle install i got this type of error
>
> whats this?
>
> please help me.
>
> rajesh@rajesh:~/workspace/Cybermedia_Test$ bundle install
> Fetching gem metadata from http://rubygems.org/.Unfortunately, a fatal error
> has occurred. Please see the Bundler
> troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

Can you access rubygems.org from your browser ok?

If you can then try running bundle again in a few hours in case it is
a temporary network or server problem.

Colin

Dheeraj Kumar

unread,
Apr 23, 2013, 9:01:40 AM4/23/13
to rubyonra...@googlegroups.com
The latest bundler is 1.3.5. Try updating it using `gem update bundler` and then running the bundle command.

-- 
Dheeraj Kumar

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

rajesh kanna

unread,
May 14, 2013, 11:29:58 AM5/14/13
to rubyonra...@googlegroups.com
thanks Dheeraj Kumar

kanna(9742665400)...........
Reply all
Reply to author
Forward
0 new messages