Ok, So I followed the directions.. I did a ''gem install markaby'' (which sounds like its enough to get me going for rails), but I wasn''t sure, so I tried to install the plugin as well. Plugin installation fails looking for a file: Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk Outputs this error: + ./trunk/svnindex.xsl /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found (OpenURI::HTTPError) When I try to access my .mab file I get a template not found, leading me to think that something isn''t installed right. What am I doing wrong here? -RR
Yeah I had that.... Just grab this file and unzip to vendor/plugin http://jongretar.net/files/markaby.zip On 6/15/06, Brian Corrigan <brian.corrigan@mm-games.com> wrote:> Ok, > > So I followed the directions.. I did a ''gem install markaby'' (which sounds > like its enough to get me going for rails), but I wasn''t sure, so I tried to > install the plugin as well. > > Plugin installation fails looking for a file: > Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk > > Outputs this error: > + ./trunk/svnindex.xsl > /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found > (OpenURI::HTTPError) > > > When I try to access my .mab file I get a template not found, leading me to > think that something isn''t installed right. > > What am I doing wrong here? > > -RR > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
+1 I''m also getting a ''template not found'' error from the ''gem'' installation of markaby. -Larry On 6/15/06, Brian Corrigan <brian.corrigan@mm-games.com> wrote:> > Ok, > > So I followed the directions.. I did a ''gem install markaby'' (which sounds > like its enough to get me going for rails), but I wasn''t sure, so I tried > to > install the plugin as well. > > Plugin installation fails looking for a file: > Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk > > Outputs this error: > + ./trunk/svnindex.xsl > /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found > (OpenURI::HTTPError) > > > When I try to access my .mab file I get a template not found, leading me > to > think that something isn''t installed right. > > What am I doing wrong here? > > -RR > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060615/db2c10ee/attachment-0001.html
the plugin installation doesn''t work. Just get the code and do it manually like Jon says. Just dump it into vendor/plugin. On Jun 15, 2006, at 11:05 AM, Jon Gretar Borgthorsson wrote:> Yeah I had that.... Just grab this file and unzip to vendor/plugin > http://jongretar.net/files/markaby.zip > > On 6/15/06, Brian Corrigan <brian.corrigan@mm-games.com> wrote: >> Ok, >> >> So I followed the directions.. I did a ''gem install >> markaby'' (which sounds >> like its enough to get me going for rails), but I wasn''t sure, so >> I tried to >> install the plugin as well. >> >> Plugin installation fails looking for a file: >> Script/plugin install http://code.whytheluckystiff.net/svn/markaby/ >> trunk >> >> Outputs this error: >> + ./trunk/svnindex.xsl >> /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found >> (OpenURI::HTTPError) >> >> >> When I try to access my .mab file I get a template not found, >> leading me to >> think that something isn''t installed right. >> >> What am I doing wrong here? >> >> -RR >> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > -- > -------------- > Jon Gretar Borgthorsson > http://www.jongretar.net/ > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I have to add that you cannot us session[:stuff] or params[:id] in markaby like in erb. You must use @session and @params. Took me a while to figure that one out. On 6/15/06, Jamie Orchard-Hays <jamie@dang.com> wrote:> the plugin installation doesn''t work. Just get the code and do it > manually like Jon says. Just dump it into vendor/plugin. > > > On Jun 15, 2006, at 11:05 AM, Jon Gretar Borgthorsson wrote: > > > Yeah I had that.... Just grab this file and unzip to vendor/plugin > > http://jongretar.net/files/markaby.zip > > > > On 6/15/06, Brian Corrigan <brian.corrigan@mm-games.com> wrote: > >> Ok, > >> > >> So I followed the directions.. I did a ''gem install > >> markaby'' (which sounds > >> like its enough to get me going for rails), but I wasn''t sure, so > >> I tried to > >> install the plugin as well. > >> > >> Plugin installation fails looking for a file: > >> Script/plugin install http://code.whytheluckystiff.net/svn/markaby/ > >> trunk > >> > >> Outputs this error: > >> + ./trunk/svnindex.xsl > >> /usr/local/lib/ruby/1.8/open-uri.rb:290:in `open_http'': 404 Not Found > >> (OpenURI::HTTPError) > >> > >> > >> When I try to access my .mab file I get a template not found, > >> leading me to > >> think that something isn''t installed right. > >> > >> What am I doing wrong here? > >> > >> -RR > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails@lists.rubyonrails.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > > > > -- > > -------------- > > Jon Gretar Borgthorsson > > http://www.jongretar.net/ > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
do they work with the @helpers. prefix? On Jun 15, 2006, at 12:24 PM, Jon Gretar Borgthorsson wrote:> I have to add that you cannot us session[:stuff] or params[:id] in > markaby like in erb. > You must use @session and @params. > Took me a while to figure that one out.
Not sure what you mean. Give me an example and I''ll be happy to try. On 6/15/06, Jamie Orchard-Hays <jamie@dang.com> wrote:> do they work with the @helpers. prefix? > > > On Jun 15, 2006, at 12:24 PM, Jon Gretar Borgthorsson wrote: > > > I have to add that you cannot us session[:stuff] or params[:id] in > > markaby like in erb. > > You must use @session and @params. > > Took me a while to figure that one out. > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
td { @helpers.link_to ''Edit'', :action => ''edit'', :id => @laptop } See "a note about helpers" here: http://markaby.rubyforge.org/ On Jun 15, 2006, at 2:16 PM, Jon Gretar Borgthorsson wrote:> Not sure what you mean. > Give me an example and I''ll be happy to try. > > On 6/15/06, Jamie Orchard-Hays <jamie@dang.com> wrote: >> do they work with the @helpers. prefix? >>
I see... text @helpers.session[:user][:name] worked like a charm.... I just never realised that session[] was a helper. Other helpers don''t need the @helpers though. "link_to ''Edit'', :action => ''edit'', :id => @laptop" works fine. On 6/15/06, Jamie Orchard-Hays <jamie@dang.com> wrote:> td { @helpers.link_to ''Edit'', :action => ''edit'', :id => @laptop } > > See "a note about helpers" here: > http://markaby.rubyforge.org/ > > > On Jun 15, 2006, at 2:16 PM, Jon Gretar Borgthorsson wrote: > > > Not sure what you mean. > > Give me an example and I''ll be happy to try. > > > > On 6/15/06, Jamie Orchard-Hays <jamie@dang.com> wrote: > >> do they work with the @helpers. prefix? > >> > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/