where exactly are gems?

9 views
Skip to first unread message

John Merlino

unread,
Apr 27, 2013, 12:19:16 PM4/27/13
to Ruby on Rails: Talk
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?

Damjan Rems

unread,
Apr 27, 2013, 12:26:33 PM4/27/13
to rubyonra...@googlegroups.com
.bundle

I usualy change it to vendor:

bundle install --path vendor

by
TheR

--
Posted via http://www.ruby-forum.com/.

Walter Lee Davis

unread,
Apr 27, 2013, 12:29:30 PM4/27/13
to rubyonra...@googlegroups.com
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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Leoncio Caminha

unread,
Apr 27, 2013, 12:30:53 PM4/27/13
to rubyonra...@googlegroups.com
Rubygems .org is a default gem source with u dont specify i guess

Sent from my iPad
Reply all
Reply to author
Forward
0 new messages