Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 3x deployment error Could not find sprockets
    text
    copied!<p>Whenever I try to start a new rails project, I keep receiving an error msg. I am brand new to Ruby and have never used Rails before. I've seen similar questions but, I could not deduct what I would need to change in order to get the framework running properly.</p> <p>Here's where I'm at and what I'm getting...</p> <pre><code>Mac-Pro:rails beracus$ rails new my_first_app /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find sprockets (~&gt; 2.1.2) amongst [RedCloth-4.2.9, actionmailer-3.2.3, actionpack-3.2.3, activemodel-3.2.3, activerecord-3.2.3, activeresource-3.2.3, activesupport-3.2.3, arel-3.0.2, builder-3.0.0, bundler-1.1.3, erubis-2.7.0, hike-1.2.1, i18n-0.6.0, journey-1.0.3, json-1.6.6, mail-2.4.4, mime-types-1.18, multi_json-1.3.2, polyglot-0.3.3, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.3, railties-3.2.3, rake-0.9.2.2, rdoc-3.12, rubygems-bundler-0.9.0, rubygems-update-1.8.23, rvm-1.11.3.3, sprockets-2.4.0, sqlite3-1.3.6, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.33, yard-0.7.5] (Gem::LoadError) from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:777:in `block in activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in `each' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in `activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:750:in `activate' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:780:in `block in activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in `each' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in `activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:750:in `activate' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems.rb:1232:in `gem' from /Users/beracus/.rvm/gems/ruby-1.9.3-p125/bin/rails:18:in `&lt;main&gt;' Mac-Pro:rails beracus$ </code></pre> <h1>In response to paniwani</h1> <p>Mac-Pro:~ beracus$ ruby -v ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin10.8.0] Mac-Pro:~ beracus$ rails -v /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in <code>to_specs': Could not find sprockets (~&gt; 2.1.2) amongst [RedCloth-4.2.9, actionmailer-3.2.3, actionpack-3.2.3, activemodel-3.2.3, activerecord-3.2.3, activeresource-3.2.3, activesupport-3.2.3, arel-3.0.2, builder-3.0.0, bundler-1.1.3, erubis-2.7.0, hike-1.2.1, i18n-0.6.0, journey-1.0.3, json-1.6.6, mail-2.4.4, mime-types-1.18, multi_json-1.3.2, polyglot-0.3.3, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.3, railties-3.2.3, rake-0.9.2.2, rdoc-3.12, rubygems-bundler-0.9.0, rubygems-update-1.8.23, rvm-1.11.3.3, sprockets-2.4.0, sqlite3-1.3.6, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.33, yard-0.7.5] (Gem::LoadError) from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:777:in</code>block in activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in <code>each' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in</code>activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:750:in <code>activate' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:780:in</code>block in activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in <code>each' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:766:in</code>activate_dependencies' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:750:in <code>activate' from /Users/beracus/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems.rb:1232:in</code>gem' from /Users/beracus/.rvm/gems/ruby-1.9.3-p125/bin/rails:18:in `' Mac-Pro:~ beracus$ rvm -v</p> <p>rvm 1.13.0 (latest) by Wayne E. Seguin , Michal Papis [https://rvm.io/]</p> <p>Mac-Pro:~ beracus$ </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload