Hi, Thank you for your reply.

    I installed  activerecord-activesalesforce-adapter gem but, it is giving
same error. It is working fine with rails console. But when i am trying to
run, it is giving problem

Thank you

On Fri, Apr 22, 2011 at 8:19 PM, Bryan Crossland <[email protected]>wrote:

> On Fri, Apr 22, 2011 at 8:30 AM, sreehari <[email protected]> wrote:
>
>> Hi
>>
>>   I treid using rails 2.3.8 and ruby 1.9.
>>
>> Rails console is opening correctly but when i trid to run my project
>> it is giving following error.
>>
>> C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/lib/
>> active_record/connection_adapters/abstract/connection_specification.rb:
>> 76:in `rescue in rescue in establish_connection': Please install the
>> activesalesforce adapter: `gem install activerecord-activesalesforce-
>> adapter` (no such file to load -- rforce) (RuntimeError)
>>
>
> You need to install the activerecord-activesalesforce-adapter gem.
>
> B.
>
>
>
>
>
>
>
>
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/
>> lib/active_record/connection_adapters/abstract/
>> connection_specification.rb:73:in `rescue in establish_connection'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/
>> lib/active_record/connection_adapters/abstract/
>> connection_specification.rb:68:in `establish_connection'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/
>> lib/active_record/connection_adapters/abstract/
>> connection_specification.rb:60:in `establish_connection'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/asf-soap-
>> adapter-1.3.1/lib/salesforce/sf_base.rb:61:in `<class:SfBase>'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/asf-soap-
>> adapter-1.3.1/lib/salesforce/sf_base.rb:30:in `<module:Salesforce>'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/asf-soap-
>> adapter-1.3.1/lib/salesforce/sf_base.rb:21:in `<top (required)>'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:156:in `block in require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:521:in `new_constants_in'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:156:in `require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/asf-soap-
>> adapter-1.3.1/lib/asf-soap-adapter.rb:4:in `<top (required)>'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:156:in `block in require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:521:in `new_constants_in'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:156:in `require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/
>> gem_dependency.rb:215:in `load'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/
>> initializer.rb:307:in `block in load_gems'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/
>> initializer.rb:307:in `each'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/
>> initializer.rb:307:in `load_gems'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/
>> initializer.rb:169:in `process'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/
>> initializer.rb:113:in `run'
>>        from C:/Documents and Settings/Parakh Technologies/sparrow
>> console/salesforceone/config/environment.rb:9:in `<top (required)>'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:156:in `block in require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:521:in `new_constants_in'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/
>> lib/active_support/dependencies.rb:156:in `require'
>>        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/
>> commands/server.rb:84:in `<top (required)>'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from <internal:lib/rubygems/custom_require>:29:in `require'
>>        from script/server:3:in `<main>'
>>
>>
>> Please reply me if u know anything about this.
>> Thank you
>>
>> On Apr 20, 5:36 pm, Bryan Crossland <[email protected]> wrote:
>> > On Tue, Apr 19, 2011 at 12:41 AM, sreehari <[email protected]>
>> wrote:
>> > >  Hi,
>> > >      I want to use salesforce with my rails3 project. I tried
>> >
>> > >http://wiki.developerforce.com/index.php/Getting_Started_with_the_For.
>> ..
>> > > documentation. But i am getting so many errors. It is urgent for me
>> >
>> > >  Please reply me if any body knows about this.
>> >
>> > > Thanks in advance...
>> >
>> > Sorry, there is no Rails 3 for SalesForce yet. It even says so in the
>> link
>> > you provided. "This article assumes Rails 2.3 development as it was the
>> most
>> > current during the toolkit’s development. Rails 3 offers new data
>> > functionality and integration into REST APIs and will be covered in a
>> future
>> > article."
>> >
>> > You have two options:
>> >
>> > 1.) Use Rails 2.3.* and wait for an official Rails 3 toolkit to be
>> launched
>> > by SalesForce.
>> > 2.) Fix the errors you are getting yourself to make the Rails 2.3.*
>> > SalesForce toolkit work on Rails 3.
>> >
>> > Good luck.
>> >
>> > B.
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>



-- 
*Thanks & regards,*

        Sreehari
        [email protected]

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to