Re: [Radiant] Re: Radiant 1.1.0 Hurdles (Part 2)

2012-12-31 Thread Jim Gay
Mohit,

Thanks for reporting all this.
I'm planning to push breaking changes into the master branch soon, so
tracking these things will be really helpful.
Please do report any bugs you find on the github issues

-Jim

On Mon, Dec 31, 2012 at 2:46 PM, Mohit Sindhwani  wrote:
> 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.
>



-- 
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338


Re: [Radiant] Re: Radiant 1.1.0 Hurdles (Part 2)

2012-12-31 Thread Mohit Sindhwani
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.



Re: [Radiant] Re: Radiant 1.1.0 Hurdles (Part 2)

2012-12-31 Thread Mohit Sindhwani

First up, Happy New Year all :)

I've been continuing with trying to update to Radiant 1.1.0 in an 
attempt to catch up with the times.  So far, from what I see, some of 
the extensions I needed are already included in 1.1.0 as default.


I think Aggregation and Clipped are already baked in.

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

# From your RAILS_ROOT run:
script/extension install copy_move
# Restart your app

I got the following error.

C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:125:in `chdir': No such file or 
directory - T:/UTEMP/copy_move (Errno::ENOENT)

from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:125:in `cd'
from C:1:in `cd'
from 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/radiant-1.1.0/lib/radiant/extension/script.rb:167:in 
`checkout'
from 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/radiant-1.1.0/lib/radiant/extension/script.rb:115:in 
`install'
from 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/radiant-1.1.0/lib/radiant/extension/script.rb:11:in 
`install'
from 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/radiant-1.1.0/lib/radiant/extension/script.rb:311:in 
`initialize'
from 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/radiant-1.1.0/lib/radiant/extension/script.rb:261:in 
`new'
from 
C:/Ruby193/lib/ruby/gems/1.9.1/gems/radiant-1.1.0/lib/radiant/extension/script.rb:261:in 
`execute'

from script/extension:5:in `'



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`?'.

bundler is installed.  I am not sure what's wrong.  Any thoughts?

Thanks,
Mohit.
1/1/2013 | 2:50 AM.