Rails2.3 plugin install git:// problem


#1

What am I missing here?

This doesn’t work:

-- mode: compilation; default-directory: “~/journeys/” --
Compilation started at Mon Mar 2 08:13:15

script/plugin install git://github.com/rubyist/aasm.git
Plugin not found: [“git://github.com/rubyist/aasm.git”]

Compilation exited abnormally with code 1 at Mon Mar 2 08:13:17


This does:

-- mode: compilation; default-directory: “~/journeys/vendor/plugins/”
-
-
Compilation started at Mon Mar 2 08:14:48

git clone git://github.com/rubyist/aasm.git
Initialized empty Git repository in /Users/rick/journeys/vendor/
plugins/aasm/.git/
remote: Counting objects: 544, done.
remote: Compressing objects: 0% (1/203)
.
.
remote: Compressing objects: 100% (203/203), done.
Receiving objects: 0% (1/544)
.
.
Receiving objects: 100% (544/544), 67.77 KiB, done.
remote: Total 544 (delta 358), reused 507 (delta 335)
Resolving deltas: 0% (0/358)
.
.
Resolving deltas: 100% (358/358), done.

Compilation finished at Mon Mar 2 08:14:53

thanks in advance


#2

I have had luck replacing the heading git:// with http://


#3

-- mode: compilation; default-directory: “~/journeys/” --
Compilation started at Mon Mar 2 09:31:43

script/plugin install http://github.com/rubyist/aasm.git
Plugin not found: [“http://github.com/rubyist/aasm.git”]

Compilation exited abnormally with code 1 at Mon Mar 2 09:31:45

I can access a site that advertises an http location, though I’m not
sure it’s not the svn in the path that makes it work.

For instance:
-- mode: compilation; default-directory: “~/journeys/” --
Compilation started at Mon Mar 2 09:42:25

script/plugin install
http://mabs29.googlecode.com/svn/trunk/plugins/simple_access_control

  • ./README
  • ./Rakefile
  • ./init.rb
  • ./install.rb
  • ./lib/simple_access_control.rb
  • ./tasks/simple_access_control_tasks.rake
  • ./test/simple_access_control_test.rb

Compilation finished at Mon Mar 2 09:42:31


#4

On Mon, Mar 2, 2009 at 10:44 AM, Rick removed_email_address@domain.invalid wrote:

git clone git://github.com/rubyist/aasm.git
Receiving objects: 100% (544/544), 67.77 KiB, done.
remote: Total 544 (delta 358), reused 507 (delta 335)
Resolving deltas: 0% (0/358)
.
.
Resolving deltas: 100% (358/358), done.

Compilation finished at Mon Mar 2 08:14:53

thanks in advance

Hi, if you’re wanting to install Rails 2.3, you have a couple of
options:

a) As Gem

sudo gem install rails --source=http://gems.rubyonrails.org

b) Edge Rails (within a project)

rake rails:freeze:edge

Good luck,

-Conrad