Can't install plugins on rails 3.0

Just upgraded one of my apps to Rails 3.0 and I cannot install plugins. I either get "Plugin not found", or an empty folder.

When I run

rails plugin --verbose install GitHub - jslag/us-state-select-plugin: FYI, It looks like Jeremy Durham has the most up-to-date version of this plugin, and has gemified it as 'us_states_select'.

I get this response:

Plugins will be installed using http git init git pull --depth 1 GitHub - jslag/us-state-select-plugin: FYI, It looks like Jeremy Durham has the most up-to-date version of this plugin, and has gemified it as 'us_states_select'.

But all I get is an empty "us-state-select-plugin" folder in the vendors directory. Running the command with the git: URL does the same thing. I have tried with several different plugins, with same result.

My environment is Windows Vista with Ruby 1.9.2 and Rails 3.0 installed. I have SVN and Git clients and gems installed.

Running the same command from Instant Rails with Ruby 1.8.6 and Rails 2.2 works fine.

use bundler , spcify the git url in you gemfile

I'm having the exact same issue as the original poster here.

I'm running OS X 10.5.8, Rails 3.0.1, Ruby 1.9.2p0

I try to install plugins, I get no error, but nothing appears to happen.

Example:

$ rails new newsite -d mysql $ cd newsite $ rails plugin -v install git://github.com/ryanstout/blog_kit.git/ -r rails3 Plugins will be installed using http git init git pull --depth 1 git://github.com/ryanstout/blog_kit.git/ rails3

But no new files or folders or anything are created within my project. This is most baffling to me.

I didn't quite understand redhames post. I'm installing a plugin, not a gem. Would I still include the url in my gemfile? Where and how?

Thanks.

Ariel S. wrote in post #958724:

I'm having the exact same issue as the original poster here.

I'm running OS X 10.5.8, Rails 3.0.1, Ruby 1.9.2p0

I try to install plugins, I get no error, but nothing appears to happen.

Example:

$ rails new newsite -d mysql $ cd newsite $ rails plugin -v install git://github.com/ryanstout/blog_kit.git/ -r rails3 Plugins will be installed using http git init git pull --depth 1 git://github.com/ryanstout/blog_kit.git/ rails3

But no new files or folders or anything are created within my project. This is most baffling to me.

Do you have a git client installed and in your path?

Best,

I eventually gave up on Windows and dual booted Ubuntu, then installed the rails development environment from scratch. Wow, what a difference. I was never a Linux guy before but I am now, at least for Rails development.