I am trying to connect to FTPS server with Ruby gem double_bag_ftps using following code.
require 'double_bag_ftps'
ftps = DoubleBagFTPS.new
ftps.ssl_context = DoubleBagFTPS.create_ssl_context(:verify_mode => OpenSSL::SSL::VERIFY_NONE)
ftps.connect('xx.xx.xx.xx')
ftps.login('user', 'password')
files = ftps.nlst
puts files.length
I get the below error when trying to connect.
/home/indika/.rvm/gems/ruby-1.9.3-p0#global/gems/double-bag-ftps-0.1.0/lib/double_bag_ftps.rb:148:in `connect': Broken pipe - SSL_connect (Errno::EPIPE)
from /home/msc22/.rvm/gems/ruby-1.9.3-p0#global/gems/double-bag-ftps-0.1.0/lib/double_bag_ftps.rb:148:in `ssl_socket'
from /home/msc22/.rvm/gems/ruby-1.9.3-p0#global/gems/double-bag-ftps-0.1.0/lib/double_bag_ftps.rb:125:in `transfercmd'
from /home/msc22/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ftp.rb:478:in `block (2 levels) in retrlines'
from /home/msc22/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ftp.rb:178:in `with_binary'
from /home/msc22/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ftp.rb:477:in `block in retrlines'
from /home/msc22/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
from /home/msc22/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ftp.rb:476:in `retrlines'
from /home/msc22/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/ftp.rb:703:in `nlst'
from backup_collector.rb:8:in `<main>'
Any help on this is greatly appreciated.
Related
I was trying to upload a very large file (15GB) to google drive using the ruby's google-api-client, but I get a transmission error. Reading the documentation suggest you should be able to make the upload resumable by allowing for retries. But the upload fails even when using the max number of retries. Below is my attempt. Does anyone have any experience with this? It seems there isn't any helpful info about the ruby version of the google client.
file = Google::Apis::DriveV2::File.new(title: zip_name,parents:[parent_folder])
uploaded_file = service.insert_file(file, upload_source: zip_name, content_type: 'application/zip',supports_all_drives:true,options: { retries: 2**24 })
This also fails with the V3 version of the API.
file = Google::Apis::DriveV3::File.new(title: zip_name,parents:[parent_folder])
uploaded_file = service.create_file(file, upload_source: zip_name, content_type: 'application/zip',supports_all_drives:true,options: { retries: 2**24 })
Both yield this error
C:/Ruby24-x64/lib/ruby/2.4.0/openssl/buffering.rb:324:in `syswrite': execution expired (Google::Apis::TransmissionError)
from C:/Ruby24-x64/lib/ruby/2.4.0/openssl/buffering.rb:324:in `do_write'
from C:/Ruby24-x64/lib/ruby/2.4.0/openssl/buffering.rb:342:in `write'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:80:in `<<'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:582:in `dump_file'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:508:in `dump'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:962:in `dump'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:517:in `block in query'
from C:/Ruby24-x64/lib/ruby/2.4.0/timeout.rb:103:in `timeout'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:515:in `query'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1104:in `follow_redirect'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:854:in `request'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/lib/google/apis/core/upload.rb:232:in `send_upload_command'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/lib/google/apis/core/upload.rb:258:in `execute_once'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/lib/google/apis/core/http_command.rb:113:in `block (2 levels) in execute'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/lib/google/apis/core/http_command.rb:110:in `block in execute'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/lib/google/apis/core/http_command.rb:102:in `execute'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/lib/google/apis/core/base_service.rb:366:in `execute_or_queue_command'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/google-api-client-0.52.0/generated/google/apis/drive_v3/service.rb:918:in `create_file'
So I managed to solve this by changing the client options to have a longer timeout period.
service = Google::Apis::DriveV3::DriveService.new
service.authorization = authorize('drive_token.yaml',Google::Apis::DriveV3::AUTH_DRIVE)
service.client_options.send_timeout_sec=12000
service.client_options.open_timeout_sec=12000
service.client_options.read_timeout_sec=12000
This question already has answers here:
Ruby: SSL_connect SYSCALL returned=5 errno=0 state=unknown state (OpenSSL::SSL::SSLError)
(2 answers)
Closed 6 years ago.
Facing this error on windows working fine on ubuntu tried many soltuions but nothing is working for me .please do not mark this as dublicate .
from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in `block in connect'
from C:/Ruby22-x64/lib/ruby/2.2.0/timeout.rb:73:in `timeout'
from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in `connect'
from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:863:in `do_start'
from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:852:in `start'
from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:1375:in `request'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/faraday-0.10.0/lib/faraday/adapter/net_http.rb:83:in `perform_request'
from C:/Ruby22x64/lib/ruby/gems/2.2.0/gems/faraday0.10.0/lib/faraday/adapter/net_http.rb:41:in `block in call'
from C:/Ruby_22x64/lib/ruby/gems/2.2.0/gems/faraday0.10.0/lib/faraday/adapter/net_http.rb:88:in `with_net_http_connection'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/faraday-0.10.0/lib/faraday/adapter/net_http.rb:33:in `call'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/faraday-0.10.0/lib/faraday/request/url_encoded.rb:15:in `call'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/faraday-0.10.0/lib/faraday/rack_builder.rb:139:in `build_response'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/faraday-0.10.0/lib/faraday/connection.rb:377:in `run_request'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/faraday-0.10.0/lib/faraday/connection.rb:177:in `post'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/signet-0.7.3/lib/signet/oauth_2/client.rb:960:in `fetch_access_token'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/signet-0.7.3/lib/signet/oauth_2/client.rb:998:in `fetch_access_token!'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/googleauth-0.5.1/lib/googleauth/signet.rb:69:in `fetch_access_token!'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/googleauth-0.5.1/lib/googleauth/signet.rb:45:in `apply!'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/http_command.rb:300:in `apply_request_options'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/http_command.rb:282:in `block in execute_once'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/hurley-0.2/lib/hurley/client.rb:46:in `get'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/http_command.rb:272:in `execute_once'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/http_command.rb:107:in `block (2 levels) in execute'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:53:in `block in retriable'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:48:in `each'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:48:in `with_index'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:48:in `retriable'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/http_command.rb:104:in `block in execute'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:53:in `block in retriable'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:48:in `each'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:48:in `with_index'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/retriable-2.0.2/lib/retriable.rb:48:in `retriable'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/http_command.rb:96:in `execute'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/lib/google/apis/core/base_service.rb:351:in `execute_or_queue_command'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google-api-client-0.9.20/generated/google/apis/drive_v3/service.rb:772:in `get_file'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google_drive-2.1.2/lib/google_drive/session.rb:216:in `file_by_id'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google_drive-2.1.2/lib/google_drive/session.rb:228:in `file_by_url'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/google_drive-2.1.2/lib/google_drive/session.rb:275:in `spreadsheet_by_url'from final_gmail_script.rb:19:in `<main>'
code sample
require 'capybara'
require 'google_drive'
require 'headless'
require 'certified'
credentials = Google::Auth::UserRefreshCredentials.new(
client_id: "15##########3-k###################################hu2e.apps.googleusercontent.com",
client_secret: "r#####_TO-#######3_E-##-",
scope: [
"https://www.googleapis.com/auth/drive",
"https://spreadsheets.google.com/feeds/",
],
refresh_token: "1/BYLI########################################4")
google_session = GoogleDrive::Session.from_credentials(credentials)
google_spreadsheet = google_session.spreadsheet_by_url("#########")
getting error while trying get spreadsheet_by_url.
ruby version is - 2.2.5
Seems like you are not sending the certificate to access the spreadsheet. You probably need to generate one through Google Services, export it, give your spreadsheet access to your google services email user and then use the certificate to make the request.
https://console.developers.google.com/apis/dashboard for more info
I was experimenting with the soundcloud gem and suddenly I always get an error with every request I make.
For example this following code:
require 'soundcloud'
client = SoundCloud.new(:client_id => MY_CLIENT_ID)
track_url = 'https://soundcloud.com/sohight/sohight-cheevy-money-is-love-out-now'
track = client.get('/resolve', :url => track_url)
puts track.genre
Anyone knows why I get this error?
/Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/hash_conversions.rb:33:in `normalize_param': uninitialized constant HTTParty::HashConversions::ERB (NameError)
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/hash_conversions.rb:15:in `block in to_params'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/hash_conversions.rb:15:in `each'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/hash_conversions.rb:15:in `map'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/hash_conversions.rb:15:in `to_params'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/request.rb:148:in `normalize_query'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/request.rb:180:in `query_string'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/request.rb:70:in `uri'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/request.rb:157:in `setup_raw_request'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty/request.rb:98:in `perform'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty.rb:521:in `perform_request'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/httparty-0.13.4/lib/httparty.rb:459:in `get'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/soundcloud-0.3.2/lib/soundcloud/client.rb:27:in `block in get'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/soundcloud-0.3.2/lib/soundcloud/client.rb:145:in `call'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/soundcloud-0.3.2/lib/soundcloud/client.rb:145:in `handle_response'
from /Users/angel/.rvm/gems/ruby-2.2.0/gems/soundcloud-0.3.2/lib/soundcloud/client.rb:26:in `get'
from sound.rb:9:in `<main>'
Possibly a bug in HTTParty.
Line 33 of hash_conversions.rb:
param << "#{key}=#{ERB::Util.url_encode(value.to_s)}&"
Put this at the top of your script and try again:
require 'erb'
I am getting following error when I am trying to connect the FTP server
ftp = Net::FTP::new("example.sg","username","password")
Errno::ECONNREFUSED: Connection refused - Connection refused
from org/jruby/ext/socket/RubyTCPSocket.java:121:in `initialize'
from org/jruby/RubyIO.java:876:in `new'
from org/jruby/ext/socket/RubyTCPSocket.java:147:in `open'
from /opt/jruby/lib/ruby/1.8/net/ftp.rb:159:in `open_socket'
from /opt/jruby/lib/ruby/1.8/net/ftp.rb:175:in `connect'
from /opt/jruby/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
from /opt/jruby/lib/ruby/1.8/net/ftp.rb:174:in `connect'
from /opt/jruby/lib/ruby/1.8/net/ftp.rb:136:in `initialize'
from (irb):7:in `evaluate'
from org/jruby/RubyKernel.java:1083:in `eval'
from /opt/jruby/lib/ruby/1.8/irb.rb:158:in `eval_input'
from /opt/jruby/lib/ruby/1.8/irb.rb:271:in `signal_status'
from /opt/jruby/lib/ruby/1.8/irb.rb:155:in `eval_input'
from org/jruby/RubyKernel.java:1410:in `loop'
from org/jruby/RubyKernel.java:1183:in `catch'
from /opt/jruby/lib/ruby/1.8/irb.rb:154:in `eval_input'
from /opt/jruby/lib/ruby/1.8/irb.rb:71:in `start'
from org/jruby/RubyKernel.java:1183:in `catch'
from /opt/jruby/lib/ruby/1.8/irb.rb:70:in `start'
from /opt/jruby/bin/jirb:13:in `(root)
I am able to access the same website from a browser using ftp://example.sg.
Any ideas why net/ftp would have issues accessing the site?
Works using JRuby 1.7.4:
Welcome to the JRuby IRB Console [1.7.4 (1.9.3)]
irb(main):001:0> require 'net/ftp'
true
irb(main):002:0> ftp = Net::FTP.new('ftp.ruby-lang.org', 'anonymous', '')
#<Net::FTP:0x4e2d4656 #mon_count=0, #mon_owner=nil, #logged_in=true, #sock=#<TCPSocket:fd19>, #last_response="200 Switching to Binary mode.\n", #last_response_code="200", #passive=false, #resume=false, #binary=true, #debug_mode=false, #welcome="230 Login successful.\n", #mon_mutex=#<Mutex:0x7e64e032>>
irb(main):003:0> ftp.list
["drwxrwxr-x 5 106 111 4096 Dec 25 23:42 pub"]
Is it working for you if you try ruby-lang.org site?
I see that you used Net::FTP::new instead of Net::FTP.new, but it shouldn't matter :-)
when i try to run the command 'bundle install' or installing particular gem then ot in gzip format (Zlib::GzipFile::Error) occurs.
i have done googling and find some of the answers
like removing cache ,bundle packages but all fail in my case
i am using rails 3.2.11 and ruby 1.8.7
the code of rubygems line arround 500 is
def self.gunzip(data)
require 'stringio'
require 'zlib'
data = StringIO.new data
Zlib::GzipReader.new(data).read
end
##
# Zlib::GzipWriter wrapper that zips +data+.
def self.gzip(data)
require 'stringio'
require 'zlib'
zipped = StringIO.new
Zlib::GzipWriter.wrap zipped do |io| io.write data end
zipped.string
end
while error in console is
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:550:in `initialize': not in gzip format (Zlib::GzipFile::Error)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:550:in `new'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:550:in `gunzip'
from /usr/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:177:in `fetch_path'
from /usr/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:270:in `load_specs'
from /usr/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:243:in `list'
from /usr/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:239:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:239:in `list'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:104:in `fetch_specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:117:in `fetch_all_remote_specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/fetcher.rb:262:in `fetch_all_remote_specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/fetcher.rb:116:in `specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:235:in `remote_specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:235:in `each'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:235:in `remote_specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:163:in `fetch_specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/rubygems.rb:67:in `specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:192:in `index'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:189:in `each'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:189:in `index'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/index.rb:9:in `build'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:185:in `index'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:179:in `resolve'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:109:in `resolve_remotely!'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/installer.rb:83:in `run'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/installer.rb:14:in `install'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/cli.rb:320:in `update'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/vendor/thor/task.rb:27:in `__send__'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/vendor/thor/task.rb:27:in `run'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/vendor/thor.rb:344:in `dispatch'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/vendor/thor/base.rb:434:in `start'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/bin/bundle:20
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/friendly_errors.rb:3:in `with_friendly_errors'
from /usr/lib64/ruby/gems/1.8/gems/bundler-1.3.5/bin/bundle:20
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19
Hope this information will be enough for providing me the right way for solution