As always, wisdom comes while waiting for someone to respond, so I'll update my findings.

On 1/1/2013 2:50 AM, Mohit Sindhwani wrote:
I was trying to set up copy_move and was unable to. I tried 2 of the recommended methods.
1, From the Radiant Extension Registry
I couldn't find what to do about this method but did solve the second approach below.

2. From Github

# From your RAILS_ROOT run:
cd vendor/extensions
git clone git://github.com/jomz/radiant-copy-move.git ./copy_move
cd ../../
rake radiant:extensions:copy_move:update
# Restart your app

Tried this also.. when I come to the rake step, I get the following
E:\projects\radiant\test_v10\vendor>rake radiant:extensions:copy_move:update
(in E:/projects/radiant/test_v10)
WARNING: It seems you do not have Bundler installed.
WARNING: You can install it by doing `gem install bundler`
Radiant could not be initialized. Have you run `bundle install`?'.

I forgot that the correct rake commands need to be something like this:
bundle exec rake db:migrate:extensions RAILS_ENV=production
bundle exec rake radiant:extensions:copy_move:update RAILS_ENV=production

That solves it and it's working now.

Moving on... Part 2 of the Radiant hurdles is closed now!

Best Regards,
Mohit.

Reply via email to