Asterisk issues when deploying Rails 3.1.rc4

I'm sure I just missed something simple here, but it all drove me crazy all night! When I try to deploy the Rails 3.1.rc4 application on the Cedar stack on Heroku (I did it successfully a month ago with a similar Gemfile), I get this error:

Could not find sprockets-2.0.0.beta.10 in any of the sources 

My gemfile looks like this:

 source 'http://rubygems.org' # Core gem 'rails', '3.1.0.rc4' # Asset template engines gem 'sass-rails', "~> 3.1.0.rc" gem 'coffee-script' gem 'uglifier' # Misc gem 'devise' gem 'jquery-rails' gem 'omniauth' gem 'fb_graph' gem 'compass', git: 'https://github.com/chriseppstein/compass.git', branch: 'rails31' gem 'haml' gem 'cancan' gem 'kaminari' gem 'friendly_id', '~> 3.3.0', git: 'https://github.com/norman/friendly_id.git' gem 'recaptcha', :require => 'recaptcha/rails' gem 'aws-ses', '~> 0.4.3', :require => 'aws/ses' # Local Environment group :test do # Pretty printed test output gem 'turn', :require => false gem 'sqlite3' end # Heroku Environment group :production do gem 'pg' gem 'execjs' gem 'therubyracer' end 

After searching and searching for this article on Google Groups, I decided that this should be fixed by adding this line

 gem 'sprockets', '2.0.0.beta10' 

into my gemfile and then run

 bundle update sprockets 

This failed using

 Could not find gem 'sprockets (= 2.0.0.beta10, runtime)' in any of the gem sources listed in your Gemfile. 

and at the moment I don’t know what to do or how to deal with it. Is it possible that I need to upgrade to Rails 3.1.rc5, and if so, how can I do this without starting from scratch?

Thanks for any help you can provide!

-Robert

+4
source share
1 answer

Just raise version rails to rc5

 gem 'rails', '3.1.0rc5' 

then

 bundle update 
+5
source

All Articles