Note that there are some explanatory texts on larger screens.

plurals
  1. PORails Server Error: "Could not find RubyGem rails (>=0) (Gem:: LoadError)"
    primarykey
    data
    text
    <p>Hardest bug that I've encountered -- would love y'alls help! (Still learning and a beginner). </p> <p>I tried deploying on Heroku earlier and now my app doesn't work on both Heroku and locally. </p> <p>Trying to now fix only the local situation. </p> <p>Other things that I changed were the database.yml file. It now uses postgresql for all, but in my GemFile I specified sqlite3 for testing.</p> <pre><code>rails s /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem rails (&gt;= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem' from /usr/bin/rails:18 </code></pre> <p>My Gemfile: </p> <pre><code>source 'https://rubygems.org' #ruby '2.0.0' gem 'rails', '3.2.3' # Bundle edge Rails instead: # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git' group :development, :test do gem 'sqlite3' end group :production do gem 'pg' end # Gems used only for assets and not required # in production environments by default. group :assets do gem 'sass-rails', '~&gt; 3.2.3' gem 'coffee-rails', '~&gt; 3.2.1' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', :platform =&gt; :ruby gem 'uglifier', '&gt;= 1.0.3' end gem 'jquery-rails' gem 'paperclip' </code></pre> <p>Ran <code>bundle install</code> and got the following message (Do I have to do anything from this message?):</p> <p>Depending on your version of ruby, you may need to install ruby rdoc/ri data:</p> <pre><code>Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. Post-install message from rdoc: &lt;= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install &gt;= 1.9.2 : nothing to do! Yay! Post-install message from paperclip: ################################################## # NOTE FOR UPGRADING FROM PRE-3.0 VERSION # ################################################## Paperclip 3.0 introduces a non-backward compatible change in your attachment path. This will help to prevent attachment name clashes when you have multiple attachments with the same name. If you didn't alter your attachment's path and are using Paperclip's default, you'll have to add `:path` and `:url` to your `has_attached_file` definition. For example: has_attached_file :avatar, :path =&gt; ":rails_root/public/system/:attachment/:id/:style/:filename", :url =&gt; "/system/:attachment/:id/:style/:filename" </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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