Redbox Has Moved

Posted by Craig Ambrose on March 25, 2007 at 11:53 PM

I’ve been having svn troubles over the last few days, and people haven’t been able to download Redbox, or my Associated List plugin. I’ve moved them both to rubyforge, which should be much more reliable. New locations at:

Redbox
svn://rubyforge.org/var/svn/ambroseplugins/redbox

Associated List
svn://rubyforge.org/var/svn/ambroseplugins/associated_list

I’ll try and filter these through to all the appropriate places. In the meantime, you can update your plugin sources for a given project using:

script/plugin source svn://rubyforge.org/var/svn/ambroseplugins/
(from within a rails application base directory)

Tags: (none)
Hierarchy: previous, next

Comments

There are 14 comments on this post. Post yours →

Tom Rossi

Is there a place to ask questions about the RedBox? I don’t want to spam your blog, but I’m trying to figure out why it hides all of my select boxes when it displays the RedBox.

Thanks,
Tom

Joe at CodeGear

Hi Craig,

I’ve used RedBox on another project, it works great. I just added it to something I’m working on, following the same pattern as how I did it in the other app. When I click on a redbox link it just goes to the same page, but with a slightly different layout.

This is using a remote redbox. I have the necessary “includes” in my site layout. The generated HTML page looks to follow the same pattern as the other app (which works fine).

I’m seeing “no route found to match ”/javascripts/redbox.js” in the console from the server (using webrick in this case)

One clue is that when I install the plugin I get what looks too be an error:

C:\workspace\ProductNames>ruby script/plugin install svn://rubyforge.org/var/svn/ambroseplugins/redb
ox—force
svn: ‘C:\workspace\ProductNames\vendor\plugins’ is not a working copy
A C:\workspace\ProductNames\vendor\plugins\redbox
A C:\workspace\ProductNames\vendor\plugins\redbox\test
A C:\workspace\ProductNames\vendor\plugins\redbox\test\redbox_test.rb
A C:\workspace\ProductNames\vendor\plugins\redbox\Rakefile
A C:\workspace\ProductNames\vendor\plugins\redbox\images
A C:\workspace\ProductNames\vendor\plugins\redbox\images\redbox_spinner.gif
A C:\workspace\ProductNames\vendor\plugins\redbox\init.rb
A C:\workspace\ProductNames\vendor\plugins\redbox\tasks
A C:\workspace\ProductNames\vendor\plugins\redbox\tasks\redbox_tasks.rake
A C:\workspace\ProductNames\vendor\plugins\redbox\lib
A C:\workspace\ProductNames\vendor\plugins\redbox\lib\redbox_helper.rb
A C:\workspace\ProductNames\vendor\plugins\redbox\lib\redbox.rb
A C:\workspace\ProductNames\vendor\plugins\redbox\install.rb
A C:\workspace\ProductNames\vendor\plugins\redbox\javascripts
A C:\workspace\ProductNames\vendor\plugins\redbox\javascripts\redbox.js
A C:\workspace\ProductNames\vendor\plugins\redbox\stylesheets
A C:\workspace\ProductNames\vendor\plugins\redbox\stylesheets\redbox.css
A C:\workspace\ProductNames\vendor\plugins\redbox\README
Exported revision 9.
Plugin not found: [“svn://rubyforge.org/var/svn/ambroseplugins/redbox”]

Joe, installing the three files to the application public-folder seems to fail, don’t know why. I have solved this issue by copying them by hand after installing the plugin:

“redbox_spinner.gif” to public/images
“redbox.js” to public/javascripts
“redbox.css” to public/stylesheets

Serge Karalli

The new download site is giving me the following error:

myapp>ruby script/plugin install svn://rubyforge.org/var/svn/ambroseplugins/redbox

ruby: Permission denied—script/plugin (LoadError)

Is there an alternative download

Jay

svn link doesn’t work.

Jon

The SVN repository doesn’t seem to work… won’t let me install RedBox. Is there anywhere else I can get it?

adeh

Georg:
If you have trouble with the install, you can change the file vendors/plugins/redbox/install.rb like this:

plugins_dir = File.expand_path(”.”)

redbox_dir = File.expand_path(File.dirname(FILE))
#redbox_dir = File.join(plugins_dir, ‘redbox’)
root_dir = File.join(redbox_dir, ’..’, ’..’, ’..’)

using the FILE directive solves the prolem of trying to install from a different location that whatever Craig used.

Serge:
try chmod +x script/plugin

Thanks for the plugin!

adeh

let me try that again:

plugins_dir = File.expand_path(”.”)

redbox_dir = File.expand_path(File.dirname(FILE))
#redbox_dir = File.join(plugins_dir, ‘redbox’)
root_dir = File.join(redbox_dir, ’..’, ’..’, ’..’)

Chris Hunter

adeh.

I think you meant:

redbox_dir = File.expand_path(File.dirname(FILE))

instead of:

redbox_dir = File.expand_path(File.dirname(FILE))
Chris Hunter

Or we could be getting bit by the same comment handling issue, that underscores are stripped out for some reason.

In any case, anyone copying and pasting the above code should replace “FILE” with the same word that has two leading underscores and two trailing underscores.

Nicolas

Hello I was trying to install the redbox plugin with the path given above, but it says plugin not found.
Is there an issue with svn?

The install path at the top doesn’t seem to be working. However, http://ambroseplugins.rubyforge.org/svn/redbox/ works. So script/plugin install http://ambroseplugins.rubyforge.org/svn/redbox/

Divya

On windows i do the following and nothing happens. Please can any one tell me what is it i am doing wrong.

ruby script/plugin install svn://rubyforge.org/var/svn/ambroseplugins/redbox

Is there another way to download the three files.

Thanks
Divya

Haris

Hey I was wondering how one would go about using multi-page forms in redbox? I know its possible but can’t find any documentation on it.

Post a comment

Required fields in bold.