Archive | January 2013
You are browsing the site archives by date.
Here is the steps to deploy the Application using SSH keys without Password $ ssh-copy-id user@remote-host Then you can login to Remote Host using command without password as : $ ssh user@remote-host After this done open the deploy.rb of your Application file and add the following line in your deploy.rb set :user, ‘amit’ set :ssh_options, […]
Once I parsing a CSV file. it will work for ruby1.8 but it give me encoding error while parsing same file using ruby1.9. The following error is soled by just added this line to the string “Errored string”.force_encoding(“ISO-8859-1”).encode(“utf-8”, replace: nil) 🙂