开发者

Rails Gems Symbolic Links Setup on Mac OS X

开发者 https://www.devze.com 2023-01-13 22:19 出处:网络
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 i

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
0

精彩评论

暂无评论...
验证码 换一张
取 消