Install fails on XP with Rails 2.2.2

2 views
Skip to first unread message

caneridge

unread,
Dec 30, 2008, 4:31:17 PM12/30/08
to Streamlined
I'm having difficulty installing streamlined. Can anyone tell me how
to install it?

I'm running on Windows XP Pro SP3
Rails 2.2.2
I don't have git installed

I've tried to install it using this:

rails -d mysql learn_streamlined
ruby script/plugin install git://github.com/relevance/streamlined.git

The install command returns almost immediately and reports no output.
It creates an empty vendor\plugins\streamlined directory. There is no
app/streamlined directory. If I add a model and a controller and add
the streamlined code...

class PersonController < ApplicationController
layout "streamlined"
acts_as_streamlined
end

...Rails complains that the streamlined methods can't be found, which
is consistent with my not seeing any streamlined code installed into
my rails project. I've downloaded the streamlined source tree from the
git hub but it is not apparent to me how install it from a local copy.
The git hub source does not have vendor/plugins/streamlined either
(http://github.com/relevance/streamlined/tree/master/vendor/plugins).

Help!

Brian

caneridge

unread,
Dec 31, 2008, 3:25:52 PM12/31/08
to Streamlined
I mostly figured it out. I ended up dropping a copy of the git
streamlined source under vendor/plugins/streamlined and then running
the rake tasks. From memory, this is what I did...

rails -d mysql learnsl
cd learnsl
rake streamlined:install_files
rake doc:plugins:streamlined
rake db:create
ruby script/generate ... to create model and controller etc.
rake streamlined:model MODEL=Model
...where Model is the model name to create the ui file for. If you use
model rather than Model it generates lots of fun ruby errors. This
really should be added to the desc line of the rake task def

Updated my controller to...

class ThingsController < ActionController::Base
layout "streamlined"
acts_as_streamlined
end

After looking at the documentation I'm leaning towards not using the
plugin. I really don't feel like wading through a bunch of ruby source
on top of everything else I'm doing to figure out how this thing works
right now. The plugin looks promising though. Having even a tad bit
more documentation would have saved me hours of tinkering and I don't
really feel like continuing that experience at this point in trying to
get streamlined to do what really want.

self

Bonefish

unread,
Dec 31, 2008, 8:35:31 PM12/31/08
to Streamlined
You can also use the new script/plugin support from within Rails 2.1+
to install directly from Github:
script/plugin install git://github.com/relevance/streamlined.git

or using git:
git clone git://github.com/relevance/streamlined.git vendor/plugins/
streamlined && rm -rf vendor/plugins/streamlined/.git

And here is the link to the docs. Seems to have disappeared from the
main page (http://streamlinedframework.org/). Sorry about that.
http://www.streamlinedframework.org/wiki/Documentation

Regards,
Kerry

Brian Jones

unread,
Dec 31, 2008, 10:53:53 PM12/31/08
to strea...@googlegroups.com
Kerry,

The 'ruby script/plugin install git://github.com/relevance/streamlined.git' command appears to not work on my box. It just creates the vendor/plugin/streamlined directory and does not copy any files which means the streamlined tasks for rake don't work. I had to resort to a manual installation to get it to work.

Is the documentation you mention (http://www.streamlinedframework.org/wiki/Documentation) in the rdoc anywhere? I was unable to it im my locally generated copy.

brian

bret...@gmail.com

unread,
Jan 8, 2009, 11:46:08 AM1/8/09
to Streamlined
Thanks Brian, I also could not get Streamlined to work using script/
plugin install.

bret

On Dec 31 2008, 10:53 pm, "Brian Jones" <caneri...@gmail.com> wrote:
> Kerry,
>
> The 'ruby script/plugin install git://github.com/relevance/streamlined.git'
> command appears to not work on my box. It just creates the
> vendor/plugin/streamlined directory and does not copy any files which means
> the streamlined tasks for rake don't work. I had to resort to a manual
> installation to get it to work.
>
> Is the documentation you mention (http://www.streamlinedframework.org/wiki/Documentation) in the rdoc
> anywhere? I was unable to it im my locally generated copy.
>
> brian
>
Reply all
Reply to author
Forward
0 new messages