On 6/28/05, Dean Karres <karres-zXcWrMh6Nl/2fBVCVOL8/A@public.gmane.org>
wrote:> Hi all,
>
> I just upgraded ruby, I have not used it before but am working
> myway towards messing with AJAX (like everyone else on the planet).
> I installed RubyGems and...
>
> (In case there are any Gems developers listening, the she-bang line
> in the bin/ scripts all are hard coded to "#!/usr/bin/env
ruby".
> Our installation has ruby in /usr/local/... Obviously the
> configure/setup stage ignored these. FYI)
>
> then used it to install Rails
>
> $ ./gem install rails
> Attempting local installation of ''rails''
> Local gem file not found: rails*.gem
> Attempting remote installation of ''rails''
> Updating Gem source index for: http://gems.rubyforge.org
> Install required dependency rake? [Yn] y
> Install required dependency activesupport? [Yn] y
> Install required dependency activerecord? [Yn] y
> Install required dependency actionpack? [Yn] y
> Install required dependency actionmailer? [Yn] y
> Install required dependency actionwebservice? [Yn] y
> Successfully installed rails-0.12.1
> Successfully installed rake-0.5.4
> Successfully installed activesupport-1.0.4
> Successfully installed activerecord-1.10.1
> Successfully installed actionpack-1.8.1
> Successfully installed actionmailer-0.9.1
> Successfully installed actionwebservice-0.7.1
> Installing RDoc documentation for rake-0.5.4...
> Installing RDoc documentation for activesupport-1.0.4...
> Installing RDoc documentation for activerecord-1.10.1...
> Installing RDoc documentation for actionpack-1.8.1...
> Installing RDoc documentation for actionmailer-0.9.1...
> Installing RDoc documentation for actionwebservice-0.7.1...
>
> The docs then say to run "rails /path/to/application".
''K, I''d be
> happy to but I''m not seeing a rails executable anywhere. Where
should
> that be?
>
It should be in the same path as ''gem'', so probably
/usr/local/bin/rails.
Try ''which rails''. ''rails'' is itself a ruby
script, but should be in
the path under the same prefix as ''gem''.
> Where are the docs kept?
/usr/local/lib/ruby/gems/1.8/doc
>
> All the best,
>
> --
> Dean Karres / karres at itg dot uiuc dot edu / www.itg.uiuc.edu
>
> Imaging Technology Group / Beckman Institute
> University of Illinois
> 405 North Mathews / Urbana, IL 61801 USA
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
Jason