What do you get when you run "bundle show" ?  Also, "bundle show <gemname>"
will show you exactly where a gem is installed.


On Thu, Jun 2, 2011 at 10:06 PM, Hock Yeoh <[email protected]> wrote:

> Hi SDRuby,
>
> Need your help in figuring how to fix this.
>
> I'm using bundler to install this gem with this command line in the Gemfile
>    gem "attr_encrypted", "1.2.0", :git => "
> http://github.com/shuber/attr_encrypted.git";
>
> I need to get the latest as it has fixes that the "released" version does
> not have.
>
> Running "bundle install" will install the gem from the specified github.
>  But when I "gem list" it does not show up.
>
> Apparently, it installs the gem in "ruby-1.8.7-p302/bundler/gems"  not the
> regular directory "ruby-1.8.7-p302/gems"
> - I'm using RVM.
>
>
> Is there a way I can specify to the bundler to install it in the regular
> directory?
>
> This is causing errors when I run "bundle exec script/delayed_job start".
>  The log listed the attr_encrypted gem not found.
>
>
> Thanks a million
> Hock Sin
>
> Of course this problem goes away when I use the release gem (by
> not specifying the :git in the Gemfile) and it installs the gem in the
> regular directory !
>
> --
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to