search for: thumb_and_comp

Displaying 1 result from an estimated 1 matches for "thumb_and_comp".

2007 Jul 25
3
Using system() to execute a script outside of Rails but in a directory in the Rails app...
I''m trying to hack around a previously mentioned RMagick problem, confirmed to exist inside of Rails but not outside. Thus, I''d like to call a Ruby script from with in a Rails controller. Like so: system("#{RAILS_ROOT}/public/images/thumb_and_comp.rb", "#{@asset.file_name}") But it never seems to get executed. Permissions are set to 755 on the script. Any suggestion? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...