# Upgraded to rails 3 and now I can't install plugins

**URL:** <https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507>\
**Category:** Rails\
**Created:** [February 21, 2011, 11:35pm UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507 "2011-02-21T23:35:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [February 21, 2011, 11:35pm UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/1 "2011-02-21T23:35:41Z")

</div>

Hello,  
I just upgraded to rails 3 and whenever I try to install a plugin, it  
acts like it’s installing and then when I try to confirm  
that it was installed by going to the vendor/plugins directory, there’s  
never anything there.

Here’s and example of my install code:

rails plugin install

> **[GitHub - Satish/restful-authentication: Generates common user authentication...](https://github.com/Satish/restful-authentication)**
>
> Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in. - GitHub - Satish/restful-authentication: Genera...

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 12:38am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/2 "2011-02-22T00:38:23Z")

</div>

This is not related to your question… but I don’t believe  
restful-authentication will work with Rails 3. You could always patch  
it,  
but you might be better off choosing a different auth gem.

Why the plugin isn’t installing, I’m not certain.

Phil

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 2:53am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/3 "2011-02-22T02:53:18Z")

</div>

At this point, I am only concerned about getting ANY plugin to work and  
I just don’t understand what the problem could be because I’m not  
getting any type of errors or strange behavior.

Another piece of information: I’m running all this on a mac-book pro  
w/ 10.5.8 Leopard.

Thanks for your time!

> This is not related to your question… but I don’t believe  
> restful-authentication will work with Rails 3. You could always patch  
> it,  
> but you might be better off choosing a different auth gem.
> 
> Why the plugin isn’t installing, I’m not certain.
> 
> Phil

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 3:05am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/4 "2011-02-22T03:05:08Z")

</div>

Phil

On Mon, Feb 21, 2011 at 7:53 PM, Clem R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> At this point, I am only concerned about getting ANY plugin to work and  
> I just don’t understand what the problem could be because I’m not  
> getting any type of errors or strange behavior.
> 
> Another piece of information: I’m running all this on a mac-book pro  
> w/ 10.5.8 Leopard.
> 
> Thanks for your time!

For what it’s worth, I rolled up a brand new rails 3 app and tried to  
install the same plugin; the install worked, it was sitting in  
vendor/plugins/restful-authentication. So I’m not sure why it wouldn’t  
be  
working for you. I’m on OS 10.6.6, but I really don’t think that’s the  
issue.

Which version of ruby/rails? I know rails 3, but is it 3.0.4? Earlier?

Have you tried other plugins, just to be sure? Also; is everything  
_else_  
working? It seems odd that just this one thing would go wrong.

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 5:58am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/5 "2011-02-22T05:58:14Z")

</div>

On Mon, Feb 21, 2011 at 10:41 PM, Clem R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> That ruby version looks pretty cracked out to me - could this be the  
> issue?

That version of ruby is probably fine. You could try to upgrade, but I  
have  
a hard time thinking that this is the problem.

Out of curiosity: if you create a brand new rails app, just to test, and  
go  
there and try to install a plugin, does it work?

One other point to consider: do you even need to worry about this? I  
don’t  
think very many plugins are maintained any more; most authors seem to be  
writing gems instead.

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 5:41am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/6 "2011-02-22T05:41:44Z")

</div>

A bit more info that might help:

I’m running this:

rails -v  
Rails 3.0.4

ruby -v  
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0]

That ruby version looks pretty cracked out to me - could this be the  
issue?

Clem R. wrote in post #983018:

> At this point, I am only concerned about getting ANY plugin to work and  
> I just don’t understand what the problem could be because I’m not  
> getting any type of errors or strange behavior.
> 
> Another piece of information: I’m running all this on a mac-book pro  
> w/ 10.5.8 Leopard.
> 
> Thanks for your time!
> 
> > This is not related to your question… but I don’t believe  
> > restful-authentication will work with Rails 3. You could always patch  
> > it,  
> > but you might be better off choosing a different auth gem.
> > 
> > Why the plugin isn’t installing, I’m not certain.
> > 
> > Phil

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 7:07am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/7 "2011-02-22T07:07:07Z")

</div>

I can create a new rails app w/ no problem and the app works. I  
can try to install any plugin in that newly created project but they  
never exist in vendor/plugins. I also notice there are some other  
things wrong and I’m worried that something bigger is going on. For  
instance, when I try to install rvm this way:

bash \< \<( curl [Beginrescueend Forum](http://rvm.beginrescueend.com/releases/rvm-install-head) )

I get this:

bash: line 31: git: command not found

ERROR: Cloning from git://github.com/wayneeseguin/rvm.git failed, trying  
via https now ([GitHub - rvm/rvm: Ruby enVironment Manager (RVM) · GitHub](https://github.com/wayneeseguin/rvm.git)).  
bash: line 35: git: command not found

ERROR: Cloning from [GitHub - rvm/rvm: Ruby enVironment Manager (RVM) · GitHub](https://github.com/wayneeseguin/rvm.git) failed,  
perhaps your git version does not support the https protocol? out of  
ideas… halting.

Finally, I still think it’s important to install plugins.

Clem R. wrote in post #983040:

> A bit more info that might help:
> 
> I’m running this:
> 
> rails -v  
> Rails 3.0.4
> 
> ruby -v  
> ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0]
> 
> That ruby version looks pretty cracked out to me - could this be the  
> issue?
> 
> Clem R. wrote in post #983018:
> 
> > At this point, I am only concerned about getting ANY plugin to work and  
> > I just don’t understand what the problem could be because I’m not  
> > getting any type of errors or strange behavior.
> > 
> > Another piece of information: I’m running all this on a mac-book pro  
> > w/ 10.5.8 Leopard.
> > 
> > Thanks for your time!
> > 
> > > This is not related to your question… but I don’t believe  
> > > restful-authentication will work with Rails 3. You could always patch  
> > > it,  
> > > but you might be better off choosing a different auth gem.
> > > 
> > > Why the plugin isn’t installing, I’m not certain.
> > > 
> > > Phil

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 8:59am UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/8 "2011-02-22T08:59:38Z")

</div>

On 22 Feb 2011, at 06:07, Clem R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> bash: line 31: git: command not found

Sounds like you don’t have git installed (or at least not in your  
$PATH), which you’re going to need for installing plugins from a git  
repository

Fred

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [February 22, 2011, 5:30pm UTC](https://www.ruby-forum.com/t/upgraded-to-rails-3-and-now-i-cant-install-plugins/203507/9 "2011-02-22T17:30:54Z")

</div>

Yup - problem solved!! Now I’m feeling pretty stupid.

Thanks for your help.

Frederick C. wrote in post #983062:

> On 22 Feb 2011, at 06:07, Clem R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > bash: line 31: git: command not found
> 
> Sounds like you don’t have git installed (or at least not in your  
> $PATH), which you’re going to need for installing plugins from a git  
> repository
> 
> Fred
