Solved Rails 4: installed but not found

I must be missing something really basic. I installed the www/rubygem-rails4 port, and it looks okay by pkg-info, but the rails command itself isn't there.
Code:
$ pkg info rubygem-rails4
rubygem-rails4-4.1.6_1
Name           : rubygem-rails4
Version        : 4.1.6_1
Installed on   : Sat Jan  3 13:31:02 PST 2015

...

can use a single language from top to bottom. Everything from templates
to control flow to business logic is written in Ruby - The language of
love for industry heavy-weights.

WWW: http://www.rubyonrails.org

$ rails
rails: not found
$
What am I not understanding about installing Rails 4? This is FreeBSD 9.1.
 
Nope, that doesn't do it. I suppose I should have a /usr/local/bin/rails or a /usr/bin/rails, correct? I don't see either.

Thank you.
 
Oddly enough, pkg which /usr/local/bin/rails shows:
Code:
/usr/local/bin/rails was installed by package rubygem-railties4-4.1.6

It would appear that some dependencies didn't get installed. Does pkg check -d resolve the issue and install www/rubygem-railties4?
 
pkg check -d said it was all good, but I deinstalled and reinstalled railties4 to get the rails command! Then I had to add a few more dependencies until that command stopped giving errors.

It works now, I think. Not sure why all those dependencies got broken. Thank you though!
 
Back
Top