Rails Gems Symbolic Links Setup on Mac OS X
I have Rails 3, and have been using a Gemfile to install several gems like annotate and rspec-rails
Problem is in all the tutorials, it says to type things like "annotate" in the command line but it doesn't work "command not found" this make me believe that Symbolic Links are not in place to a开发者_StackOverflowllow me to run/use the gems in terminal.
How do I enable this for all current and future Gems?
Thanks
>> sudo gem install annotate
Do you have it installed by sudo
?
Rails 3 and gems works no different than Rails 2. The commands should be available so long as you use sudo gem install
.
My wild guess. Try this :
bundle exec annotate
精彩评论