Issue
I'm trying to install the capybara gem on OS X. The issue is I am running MAMP, and do not wish to run rails due to potential conflicts. How can i install a gem? Where would a Gemfile even be without a application folder?
Solution
I don't know what kind of conflicts you expect from running Rails app and MAMP.
But if you have ruby install on your mac then you simply can install gem with:
gem install capybara
Although I can't understand how would you use it out of rails app environment.
RVM will be definitely better.
After you will install RVM run this:
rvm use 2.2.0@my_gemset --create
gem install capybara
Answered By - Misha
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.