Following this blog entry -> http://errtheblog.com/posts/50-vendor-everything I am trying to install Haml in vendor/gems on a Windows environment. What I did was my_project\vendor\gems\gem fetch haml Downloaded haml-2.0.1 my_project\vendor\gems\gem unpack haml-2.0.1.gem Unpacked gem: ''my_project/vendor/gems/haml-2.0.1.gem'' The next step in the install instructions (http:// haml.hamptoncatlin.com/download/) is haml --rails path/to/app Where is this haml command supposed to exist? Is it the haml.rb in my_project/vendor/gems/haml-2.0.1/lib? I tried my_project\vendor\gems\haml-2.0.1\lib\ruby haml.rb --rails ../../../.. and my_project\ruby vendor\gems\haml-2.0.1\lib\haml.rb --rails . Both do not generate any output. I understand there should be generated a init.rb in the vendor/plugins directory but it''s empty. What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
haml is an executable you "just" type in the root of your rails app haml --rails . or one directory up haml --rails name_of_folder_app_is_in hope it helps On Jul 3, 7:07 pm, zoopzoop <manuel.meu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Following this blog entry ->http://errtheblog.com/posts/50-vendor-everything > I am trying to install Haml in vendor/gems on a Windows environment. > What I did was > > my_project\vendor\gems\gem fetch haml > Downloaded haml-2.0.1you dont need to do this explicitely, you can just do gem install haml> > my_project\vendor\gems\gem unpack haml-2.0.1.gem > Unpacked gem: ''my_project/vendor/gems/haml-2.0.1.gem'' > > The next step in the install instructions (http:// > haml.hamptoncatlin.com/download/) is > > haml --rails path/to/app > > Where is this haml command supposed to exist?windows/system32 i think> Is it the haml.rb in my_project/vendor/gems/haml-2.0.1/lib? > I tried > > my_project\vendor\gems\haml-2.0.1\lib\ruby haml.rb --rails ../../../.. > > and > > my_project\ruby vendor\gems\haml-2.0.1\lib\haml.rb --rails . > > Both do not generate any output. > I understand there should be generated a init.rb in the vendor/plugins > directory but it''s empty. > What am I doing wrong?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Is there any significant difference in putting Haml in vendor/gems vs keeping it in vendor/plugins [under git submodule]? I know the recommended manner is to use the gem. Just wondering if there''s anything noticeably different. [And too lazy to suss it out for myself.] RSL On Fri, Jul 4, 2008 at 4:50 AM, Wolas! <jcpenche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > haml is an executable you "just" type in the root of your rails app > > haml --rails . > > or one directory up > > haml --rails name_of_folder_app_is_in > > hope it helps > > On Jul 3, 7:07 pm, zoopzoop <manuel.meu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Following this blog entry ->http://errtheblog.com/posts/50-vendor-everything >> I am trying to install Haml in vendor/gems on a Windows environment. >> What I did was >> >> my_project\vendor\gems\gem fetch haml >> Downloaded haml-2.0.1 > > you dont need to do this explicitely, > > you can just do gem install haml > >> >> my_project\vendor\gems\gem unpack haml-2.0.1.gem >> Unpacked gem: ''my_project/vendor/gems/haml-2.0.1.gem'' >> >> The next step in the install instructions (http:// >> haml.hamptoncatlin.com/download/) is >> >> haml --rails path/to/app >> >> Where is this haml command supposed to exist? > > windows/system32 i think > >> Is it the haml.rb in my_project/vendor/gems/haml-2.0.1/lib? >> I tried >> >> my_project\vendor\gems\haml-2.0.1\lib\ruby haml.rb --rails ../../../.. >> >> and >> >> my_project\ruby vendor\gems\haml-2.0.1\lib\haml.rb --rails . >> >> Both do not generate any output. >> I understand there should be generated a init.rb in the vendor/plugins >> directory but it''s empty. >> What am I doing wrong? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
one difference is that when you do gem update the plugins dont get updated you have to go into each and evry one of them in each and every one of the rails projects you have done and type svn up. On Jul 4, 2:57 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there any significant difference in putting Haml in vendor/gems vs > keeping it in vendor/plugins [under git submodule]? I know the > recommended manner is to use the gem. Just wondering if there''s > anything noticeably different. [And too lazy to suss it out for > myself.] > > RSL > > On Fri, Jul 4, 2008 at 4:50 AM, Wolas! <jcpen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > haml is an executable you "just" type in the root of your rails app > > > haml --rails . > > > or one directory up > > > haml --rails name_of_folder_app_is_in > > > hope it helps > > > On Jul 3, 7:07 pm, zoopzoop <manuel.meu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Following this blog entry ->http://errtheblog.com/posts/50-vendor-everything > >> I am trying to install Haml in vendor/gems on a Windows environment. > >> What I did was > > >> my_project\vendor\gems\gem fetch haml > >> Downloaded haml-2.0.1 > > > you dont need to do this explicitely, > > > you can just do gem install haml > > >> my_project\vendor\gems\gem unpack haml-2.0.1.gem > >> Unpacked gem: ''my_project/vendor/gems/haml-2.0.1.gem'' > > >> The next step in the install instructions (http:// > >> haml.hamptoncatlin.com/download/) is > > >> haml --rails path/to/app > > >> Where is this haml command supposed to exist? > > > windows/system32 i think > > >> Is it the haml.rb in my_project/vendor/gems/haml-2.0.1/lib? > >> I tried > > >> my_project\vendor\gems\haml-2.0.1\lib\ruby haml.rb --rails ../../../.. > > >> and > > >> my_project\ruby vendor\gems\haml-2.0.1\lib\haml.rb --rails . > > >> Both do not generate any output. > >> I understand there should be generated a init.rb in the vendor/plugins > >> directory but it''s empty. > >> What am I doing wrong?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
if you''re vendoring rails, you wouldn''t want an automatically updated haml either though. and freezing haml to vendor seems much like using it as a plugin. just my take. RSL On Fri, Jul 4, 2008 at 10:04 AM, Wolas! <jcpenche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > one difference is that when you do gem update the plugins dont get > updated you have to go into each and evry one of them in each and > every one of the rails projects you have done and type svn up. > > On Jul 4, 2:57 pm, RSL <sco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Is there any significant difference in putting Haml in vendor/gems vs >> keeping it in vendor/plugins [under git submodule]? I know the >> recommended manner is to use the gem. Just wondering if there''s >> anything noticeably different. [And too lazy to suss it out for >> myself.] >> >> RSL >> >> On Fri, Jul 4, 2008 at 4:50 AM, Wolas! <jcpen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> > haml is an executable you "just" type in the root of your rails app >> >> > haml --rails . >> >> > or one directory up >> >> > haml --rails name_of_folder_app_is_in >> >> > hope it helps >> >> > On Jul 3, 7:07 pm, zoopzoop <manuel.meu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Following this blog entry ->http://errtheblog.com/posts/50-vendor-everything >> >> I am trying to install Haml in vendor/gems on a Windows environment. >> >> What I did was >> >> >> my_project\vendor\gems\gem fetch haml >> >> Downloaded haml-2.0.1 >> >> > you dont need to do this explicitely, >> >> > you can just do gem install haml >> >> >> my_project\vendor\gems\gem unpack haml-2.0.1.gem >> >> Unpacked gem: ''my_project/vendor/gems/haml-2.0.1.gem'' >> >> >> The next step in the install instructions (http:// >> >> haml.hamptoncatlin.com/download/) is >> >> >> haml --rails path/to/app >> >> >> Where is this haml command supposed to exist? >> >> > windows/system32 i think >> >> >> Is it the haml.rb in my_project/vendor/gems/haml-2.0.1/lib? >> >> I tried >> >> >> my_project\vendor\gems\haml-2.0.1\lib\ruby haml.rb --rails ../../../.. >> >> >> and >> >> >> my_project\ruby vendor\gems\haml-2.0.1\lib\haml.rb --rails . >> >> >> Both do not generate any output. >> >> I understand there should be generated a init.rb in the vendor/plugins >> >> directory but it''s empty. >> >> What am I doing wrong? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---