Re: [Rails] where exactly are gems?
On Apr 27, 2013, at 12:19 PM, John Merlino wrote:
> when you add a gem to the Gemfile and then run bundle install, where
> does the command look for the gem? If you had "gem 'rails', :git =>
> 'github.com/rails/rails.git", I assume it would update your
> system .rvm gems directory with the latest github commits. But what is
> the default repository that bundler looks for gems?
Type gem env in your Terminal from inside your project folder. You'll see the current lookup path for gems, plus a lot more helpful stuff. If you use rvm or another multiple-ruby enabler, there will be one of these per ruby version.
Walter
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home