environment.rb:7: uninitialized constant Rails::Initializer(NameError)
from /usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/application.rb:78:in`require_environment!'
from /usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/commands.rb:39
from script/rails:6:in `require'
from script/rails:6
I have mad the instructions required however it is required to edit the environment.rb Here is my current version:
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Newsletter::Application.initialize!
Rails::Initializer.run do|config|
config.gem "asf-soap-adapter",:lib =>"activerecord-activesalesforce-adapter"
config.gem "asf-soap-adapter",:lib =>'asf-soap-adapter'
config.database_configuration_file =File.join(RAILS_ROOT,'config','salesforce.yml')
config.time_zone ='UTC'
end
humanoyd, the Salesforce + Ruby community has a new gem for connecting to the Salesforce API that should be much more reliable than the old ActiveSalesforce gem, and should be much more stable on Rails 3.x than ActiveSalesforce is:
https://github.com/heroku/databasedotcom
For more support and feedback, please join our Google Group:
http://groups.google.com/group/activesalesforce/
All Answers
humanoyd, the Salesforce + Ruby community has a new gem for connecting to the Salesforce API that should be much more reliable than the old ActiveSalesforce gem, and should be much more stable on Rails 3.x than ActiveSalesforce is:
https://github.com/heroku/databasedotcom
For more support and feedback, please join our Google Group:
http://groups.google.com/group/activesalesforce/
Thank you for the update, however Admins shall highlight this in the integration documentation, I've been spinning around myself for so long trying to get asf to work
I will try to get it to work