Failed to add the host to the list of known hosts (/app/.ssh/known_hosts). heroku

It was due to private git repository. In gem file there was:git param, I had provided , was causing bundler to try to pull it over ssh.

gem “jquery-treeview-rails”, :git => ‘’


gem “jquery-treeview-rails”

fatal: ‘heroku’ does not appear to be a git repository

I was facing same issues, When i cloned a client project and he had already created heroku server. Even he collaborated me to his account.

Below googled solution worked for me.

git remote add heroku

Where appname is the name of your app.

After that

git push heroku master

(assuming you want to push the master branch)


Install linecache via bundler on heroku

I have also faced with the same sorts of problem..I have only modified the below syntax in the gem file and it worked it out. Thanks a lot all of you.

group :development, :test do        if RUBY_VERSION =~ /1.9/          gem 'ruby-debug19'        else          gem 'ruby-debug'        end    end


#gem 'ruby-debug-ide19'
#gem 'ruby-debug19'

[DEPRECATION WARNING] Nested I18n namespace lookup under “activerecord.attributes.order” is no longer supported

This is issues with Spree( is a fully-featured e-commerce solution that can be easily integrated into a Rails
application. If you need to turn a Rails app into a store that sells products then Spree is one of the
quickest ways to do this.) compatibility with rails 3.1.1.

It is ok with rails 3.2.2

If your app running with rails 3.1.1 then run below rake.

bundle exec rake spree_sample:load