Note that there are some explanatory texts on larger screens.

plurals
  1. POI installed rails two days ago and it worked great, why the sudden disappearance?
    text
    copied!<p>I am following the Ruby on Rails tutorial by Michael Hartl <a href="http://ruby.railstutorial.org/" rel="nofollow">http://ruby.railstutorial.org/</a></p> <p>I installed rails, ruby, all the gems necessary and configured heroku and github two days ago. I came back today and nothing is working. I'm using Mac OS X 10.7.2 (Lion). Could it have something to do with the fact I switched to using terminal instead of Iterm today (so I could easily change the colors). Now when I try in Iterm nothing works either.</p> <p>Specifically the problem right now is it appears rails can't be found because it is giving me the error message "Rails is not currently installed on this system" despite the fact it is. Now I've started installing rails again but I'm afraid it is just going to happen again and installing rails takes awhile. Thanks for the help.</p> <p>The first problem I noticed was when I tried to rename my first_app again with heroku rename I got the error</p> <pre><code>! Invalid path. ! Syntax is: git@heroku.com:&lt;app&gt;.git where &lt;app&gt; is your app's name. </code></pre> <p>despite the fact it worked two days ago. I assume the missing rails and inability to use heroku (I reinstalled that to but still received the error) is something to do with paths not getting set right. I read about symilinks but don't know how to form them or what to form them between as in the finder I can't find rails. Thanks again.</p> <p>Just got the error</p> <pre><code>ERROR: Error installing rails: actionpack requires rack (~&gt; 1.3.5, runtime) </code></pre> <p>used sudo gem install rack, now rails seems to be installing okay, still wondering what happened though...</p> <p>Rails still doesn't work:</p> <pre><code>$ rails /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:230:in `activate': can't activate rack (~&gt; 1.3.5, runtime) for ["actionpack-3.1.3", "rails-3.1.3"], already activated rack-1.4.0 for ["rack-cache-1.1", "actionpack-3.1.3", "rails-3.1.3"] (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `activate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:246:in `activate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245:in `each' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:245: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>
 

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