Hi,
Just thought I'd share what we did to get action web service to go on rails 2.0 钛刻专家——官网
Fred
Very cool. Question though, do you always have to have the entire
rails trunk frozen into vendor/rails? That's the only way I can get
it to work.
Very cool. Question though, do you always have to have the entire rails trunk frozen into vendor/rails? That's the only way I can get it to work.
That's always what we do anyway.
But assuming you can get a gem for the latest version of it I don't
see why that wouldn't work
Fred
Very cool. Question though, do you always have to have the entire rails trunk frozen into vendor/rails? That's the only way I can get it to work.
That's always what we do anyway. But assuming you can get a gem for the latest version of it I don't
see why that wouldn't work
If you normally run your app of gems what you could do is put the AWS
source wherever you want , and then put an initializer in config/
initializers that does
$LOAD_PATH.unshift RAILS_ROOT+'/vendor/actionwebservice/lib/' require RAILS_ROOT+'/vendor/actionwebservice/lib/actionwebservice'
Assuming you'd put it in vendor/actionwebservice. This should replace the bits where you do
class Rails::Configuration attr_accessor :action_web_service end and
config.frameworks += [ :action_web_service]
config.action_web_service = Rails::OrderedOptions.new
Does that work ?
Fred