Problems installing Flotilla - no such file -- FileUtils

Hi

I am attempting to install the Flotilla plugin for the flot javascript
charting library.

I have tried to install Flotilla using
ruby script/plugin install git://github.com/joshuamiller/flotilla.git

All seems ok till it attempts to do the install then I get
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require': no such file to load -- FileUtils (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
from
/home/colinl/websites/weather/vendor/plugins/flotilla/install.rb:1
from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:235:in
load' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:235:inrun_install_hook’
from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:196:in
install' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:811:inparse!’
from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:810:in
each' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:810:inparse!’
from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:518:in
parse!' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:534:inparse!’
from
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/plugin.rb:968
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
from script/plugin:3

Google has not been able to help me, or at least I have been unable to
ask it the right questions.

Rails version 2.3.8, though that is obvious from the trace.
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
Ubuntu 10.04

Any help would be much appreciated.

Colin

Just in case you haven’t solved this yet: Install the plugin from
http://github.com/jhaagmans/flotilla.git instead - FileUtils is now
‘fileutils’.

-Matt

On 18 August 2010 22:15, Matthias B. [email protected] wrote:

Just in case you haven’t solved this yet: Install the plugin from
http://github.com/jhaagmans/flotilla.git instead - FileUtils is now
‘fileutils’.

OK, thanks. I got round it by manually copying the files that
install.rb was attempting to copy.

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs