List Info

Thread: Plugin directory name




Plugin directory name
country flaguser name
United States
2007-09-01 22:06:19
Maybe I'm just making a newbie mistake, but when I install
HAML using
the following command (on Windows):

  ruby scriptplugin install http://
svn.hamptoncatlin.com/haml/tags/stable

It installs and runs fine, but I have the following
directory
structure:

  /vendor
    /plugins
      /stable
        ... HAML directory structure here ...

Shouldn't the directory structure be more like
"/plugins/haml/" or
something similar? Or am I doing something wrong?

The same thing happened when I installed the Tabnav
plugin[0] --- when
installing the 0.2 version I get a directory structure of
"/plugins/
0.2" instead of "/plugins/tabnav/0.2" as I
would expect.

I'm running Rails 1.2 and Ruby 1.8.4 on XP.

Thanks for your help,
-dave

[0]  http://blog.seesaw.it/articles/2007/02/01/tabnav-f
or-rails-1-2


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Plugin directory name
country flaguser name
United States
2007-09-02 00:02:46
This is an issue with the Rails plugin installer. Many
plugins that use 
a Subversion repository (like Haml) organize it in such a
way that the 
stable version is in a directory called "stable"
or "0.2" or the like. 
The plugin installer gives the folder into which it
downloads the plugin 
the same name as the repository folder, and doesn't offer an
automatic 
way of changing the name. This means that if the stable
version isn't in 
a folder named "haml", the naming gets screwed
up.

You can rename the plugin folder, if you want.

- Nathan

Dave wrote:
> Maybe I'm just making a newbie mistake, but when I
install HAML using
> the following command (on Windows):
>
>   ruby scriptplugin install http://
svn.hamptoncatlin.com/haml/tags/stable
>
> It installs and runs fine, but I have the following
directory
> structure:
>
>   /vendor
>     /plugins
>       /stable
>         ... HAML directory structure here ...
>
> Shouldn't the directory structure be more like
"/plugins/haml/" or
> something similar? Or am I doing something wrong?
>
> The same thing happened when I installed the Tabnav
plugin[0] --- when
> installing the 0.2 version I get a directory structure
of "/plugins/
> 0.2" instead of "/plugins/tabnav/0.2" as
I would expect.
>
> I'm running Rails 1.2 and Ruby 1.8.4 on XP.
>
> Thanks for your help,
> -dave
>
> [0]  http://blog.seesaw.it/articles/2007/02/01/tabnav-f
or-rails-1-2
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Plugin directory name
country flaguser name
United States
2007-09-02 15:14:56
> You can rename the plugin folder, if you want.

Aha! I knew it was a newbie error. Worked perfectly.
Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )