Problems when starting server with Streamlined installed.

6 views
Skip to first unread message

KHelal

unread,
Jan 27, 2009, 10:02:45 AM1/27/09
to Streamlined
Hi,

I just installed streamlined to see how it could fit as an admin panel
for our existing web app... and while the demo looks nice, i couldn't
get it to start when i installed it as a plugin in our app.

We are using Rails 2.0.1, so i had to install the plugin using the
following commands:

$ script/plugin install http://github.com/relevance/streamlined.git --
force
$ cp vendor/plugins/streamlined.git/tasks lib/tasks/
$ rake streamlined:install_files

All seems well, but when I launch the server, I get this error:

=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/Users/khelal/Sites/trunk/vendor/rails/activesupport/lib/
active_support/dependencies.rb:266:in `load_missing_constant':
uninitialized constant ActiveSupport::Dependencies (NameError)
from /Users/khelal/Sites/trunk/vendor/rails/activesupport/lib/
active_support/dependencies.rb:453:in `const_missing'
from /Users/khelal/Sites/trunk/vendor/plugins/streamlined.git/init.rb:
2:in `evaluate_init_rb'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
79:in `evaluate_init_rb'
from /Users/khelal/Sites/trunk/vendor/rails/activesupport/lib/
active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
75:in `evaluate_init_rb'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
39:in `load'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin/
loader.rb:33:in `load_plugins'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin/
loader.rb:32:in `each'
... 31 levels...
from /Users/khelal/Sites/trunk/vendor/rails/activesupport/lib/
active_support/dependencies.rb:496:in `require'
from /Users/khelal/Sites/trunk/vendor/rails/railties/lib/commands/
server.rb:39
from ./script/server:3:in `require'
from ./script/server:3

Any ideas?

KHelal

unread,
Feb 4, 2009, 4:45:50 AM2/4/09
to Streamlined
Hmmmm is streamlined still being developed or should i look somewhere
else for something similar?

On Jan 27, 7:02 pm, KHelal <karim.he...@gmail.com> wrote:
> Hi,
>
> I just installed streamlined to see how it could fit as an admin panel
> for our existing web app... and while the demo looks nice, i couldn't
> get it to start when i installed it as a plugin in our app.
>
> We are using Rails 2.0.1, so i had to install the plugin using the
> following commands:
>
> $ script/plugin installhttp://github.com/relevance/streamlined.git--
> force
> $ cp vendor/plugins/streamlined.git/tasks lib/tasks/
> $ rake streamlined:install_files
>
> All seems well, but when I launch the server, I get this error:
>
> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> => Rails application starting onhttp://0.0.0.0:3000

sasperilla

unread,
Feb 8, 2009, 3:37:06 PM2/8/09
to Streamlined
I'm having the same problem, but I'm using Rails 2.1.0

Streamlined supposedly works with Rails 2.1.0

Any help here? This is the second framework to crap out of me (Active
Scaffolding was the first).

sasperilla

unread,
Feb 9, 2009, 11:39:09 AM2/9/09
to Streamlined
Figured this one out. Rails 2.2.x has changed the namespace of
Dependecies from Dependecies to ActiveSupport::Dependencies. There
are other namespace changes as well that will affect streamlined. So
the bottom line is you have to run in 2.2.x rails.

Charlie

KHelal

unread,
Feb 17, 2009, 4:57:32 AM2/17/09
to Streamlined
well i did and it still doesn't work :(
I'm now on rails 2.2.2 and i used the instructions found there:
http://stackoverflow.com/questions/107674/backend-administration-in-rails
unfortunately, now i get this error :

ActionController::RoutingError in Guru/articles#index

Showing vendor/plugins/streamlined/templates/generic_views/list.rhtml
where line #3 raised:

No route matches {:action=>"list"}
Extracted source (around line #3):

1: <%= render_streamlined_file '/shared/_notice.rhtml' %>
2: <%= render_streamlined_file 'shared/_header_partials.rhtml' %>
3: <% form_for :page_options, @page_options,
4: :url => { :action => "list"}, :html=> {:id
=> :page_options, :style => 'display: none;'} do |form| %>
5: <%# TODO: hide this form when JavaScript is available, then use
it behind scenes%>
6: Filter <%= form.text_field 'filter', {:autocomplete=>"off"} %>

KHelal

unread,
Feb 22, 2009, 7:45:16 AM2/22/09
to Streamlined
Too bad nobody's answering :( :(
I'd really love to use this framework, but can't get this thing to
work :(

On Feb 17, 1:57 pm, KHelal <karim.he...@gmail.com> wrote:
> well i did and it still doesn't work :(
> I'm now on rails 2.2.2 and i used the instructions found there:http://stackoverflow.com/questions/107674/backend-administration-in-r...

Kerry

unread,
Feb 22, 2009, 11:58:45 AM2/22/09
to Streamlined
KHelal - are you using resources/RESTful routes? Per previous posts
here - this is not yet fully supported.

http://groups.google.com/group/streamlined/browse_thread/thread/891c796bc1df44b1/24ffb284c84ac1be?lnk=gst&q=REST#24ffb284c84ac1be
http://groups.google.com/group/streamlined/browse_thread/thread/d8b8ad2faeac7bb6/7e05d63052dc4ded?lnk=gst&q=REST#7e05d63052dc4ded
http://groups.google.com/group/streamlined/browse_thread/thread/4cf7df9609b5faf6/bfd5c8025405da86?lnk=gst&q=REST#bfd5c8025405da86

Without using resources that code you referenced should be working.
Try without resources and then post your controller code if you are
still having a problem. Or let us know if that solves it.

Kerry
Reply all
Reply to author
Forward
0 new messages