Could not find rake-10.1.0 in any of the sources

Could not find rake-10.1.0 in any of the sources

If you are getting following error 
/home/username/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.1.0 in any of the sources (Bundler::GemNotFound)

use following url
\curl -sSL https://get.rvm.io | bash
apt-get update
apt-get upgrade
apt-get install build-essential

rvm install ruby-1.9.3-p484
rvm ruby-1.9.3-p484@global --default --create
 
or just change your ruby version 
 

for mysql2 gem error on ubuntu 

sudo apt-get install zlib1g zlib1g-dbg zlib1g-dev sqlite3 libsqlite3-dev build-essential openssl libreadline6 libreadline6-dev curl git-core libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion g++ openjdk-6-jdk git nodejs 
sudo apt-get install libmysql-ruby libmysqlclient-dev


to resolve bundler issue

https://github.com/bundler/bundler/blob/master/ISSUES.md

No comments :

Post a Comment