compress.php?

2 views
Skip to first unread message

frank peterson

unread,
Jan 2, 2009, 2:18:27 AM1/2/09
to Blueprint CSS
will there be a compress.php made? i dont have access to ruby

Chris Eppstein

unread,
Jan 2, 2009, 3:46:46 AM1/2/09
to bluepr...@googlegroups.com
The compress script is not run on your server, it's ran in your development environment. You can have ruby on your development machine, right?

-chris

frank peterson

unread,
Jan 2, 2009, 12:24:17 PM1/2/09
to Blueprint CSS
I could, but I wouldn't even know how to set it up and configure it
all. I think would help promote Blueprint more by allowing
customization with another language. Yeah I know people hate PHP, but
its got a huge userbase.

Chris Eppstein

unread,
Jan 2, 2009, 12:46:10 PM1/2/09
to bluepr...@googlegroups.com
Did you try? It's not hard. The Ruby folks have made it very simple to install.

There's also many tools and resources you may find helpful that are not part of the official blueprint software: http://github.com/joshuaclayton/blueprint-css/wikis/tools-and-resources

Chris

Christian Montoya

unread,
Jan 4, 2009, 8:53:22 AM1/4/09
to bluepr...@googlegroups.com
On Fri, Jan 2, 2009 at 2:18 AM, frank peterson
<fiction...@gmail.com> wrote:
>
> will there be a compress.php made? i dont have access to ruby
>

If people want to make a compress.php, or compress.c, or compress.py,
or compress.jar, that's fine. The current compress script exists
because someone volunteered to make it. I would love to see more
versions, but I am not in the capacity to write one myself right now.
If anyone wants to, that would be great!

--
--
Christian Montoya
christianmontoya.net

Josh Clayton

unread,
Jan 6, 2009, 8:20:20 AM1/6/09
to Blueprint CSS
Frank,

To be blunt, RTFM re: Ruby. If you're running OS X, Ruby comes
installed on Tiger (1.8.2) and Leopard (1.8.6). If you're on any
flavor of Linux, apt or yum are your friends. For Windows, there are
one-click installers. After one Google search ("installing Ruby"), I
came across this link: http://www.ruby-lang.org/en/downloads/. It has
plenty of information on how to install Ruby on the popular operating
systems, and if all else fails, you could build it yourself.

Once you get Ruby installed, it's as easy as, again, reading the
manual. Under the Blueprint CSS wiki Tutorials page (http://
github.com/joshuaclayton/blueprint-css/wikis/tutorials), there's a
link to "Blueprint’s compress.rb: A Walkthrough", which coincidentally
walks through how the Ruby script works. The walkthrough is located
here: http://jdclayton.com/blueprints_compress_a_walkthrough.html.

I'm sorry for the brash nature of this response, but I'm sick of
developers not doing *any* sort of reading when using a new tool,
determining the feasibility of using and/or porting it, and
investigating to see if any solutions already exist.

Although unsupported (it's running an older version of Blueprint
{v0.7.1, to be exact}), there is a grid generator that does similar
things to the Ruby script available online at http://kematzy.com/blueprint-generator/.
Again, this is completely unsupported by the Blueprint team, so if
something breaks or all your sites look like crap in IE6 because you
used this tool, it's on you.

If you have any problems installing Ruby, there are plenty of
tutorials online or you could head into the #ruby channel in IRC
(freenode) and ask for help.

As for the compress.rb, I suggest you read my walkthrough. It lays
out all the different combinations and options you can set and is
pretty straightforward.

Cheers, and best of luck,

Josh

frank peterson

unread,
Jan 7, 2009, 10:17:50 AM1/7/09
to Blueprint CSS
Fair enough, Josh. I forgot about a program that works like XAMMP but
is for RoR that I tried for a day, long ago, but hosed up my local
apache setup. I'll setup a virtual machine and use it on that (cant
remember the name or I'd post it here for others to see also).

Christian Montoya

unread,
Jan 7, 2009, 10:46:11 AM1/7/09
to bluepr...@googlegroups.com
frank & others,

I just want to clarify something about compress.rb. You do NOT need
RoR (Ruby on Rails) to run compress.rb. You only need Ruby. Ruby is a
programming language that has been around for longer than Rails. It's
like the difference between PHP & CakePHP, Python & Django, etc. It's
very easy to install support for languages like Python & Ruby on any
operating system, because they are just scripting languages. In order
to get compress.rb running on your computer, again, you do NOT need
RoR, or even Apache, MySQL, etc. You just need Ruby.

Reply all
Reply to author
Forward
0 new messages