Guys, I'm trying to run Raymond and Josh's "Getting Started with the
Force.com Toolkit for Ruby" article but am running into some
installation issues.
Running script/console throws the error:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/
connection_adapters/abstract/connection_specification.rb:76:in
`establish_connection':RuntimeError: Please install the
activesalesforce adapter: `gem install activerecord-activesalesforce-
adapter` (no such file to load -- facets/openhash)
However, when I try and install the activerecord-activesalesforce-
adapter gem, I get:
I'm wondering if it has something to do with Facets? According to the
article, "..toolkit requires the Facets to use 2.8.4..". However, I
got the following message when installing facets 2.8.4:
root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4
Successfully installed facets-2.9.1
ERROR: Could not find a valid gem '–v' (>= 0) in any repository
ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository
1 gem installed
Installing ri documentation for facets-2.9.1...
Installing RDoc documentation for facets-2.9.1...
if (you are not able to install hpricot directly) { try it with platform parameter. Eg. 'gem install hpricot --platform=mswin32' (I don't know the value that platform takes in case of mac)
if (it doesn't work with platform parameter) { the best way to install it is by installing devkit from here<https://github.com/oneclick/rubyinstaller/wiki/Development-Kit> it gets installed if the devkit is installed and configured as explained in the above link. }
On Tue, Feb 22, 2011 at 5:21 PM, jeffdonthemic <j...@appirio.com> wrote: > Guys, I'm trying to run Raymond and Josh's "Getting Started with the > Force.com Toolkit for Ruby" article but am running into some > installation issues.
> Running script/console throws the error:
> /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:76:in > `establish_connection':RuntimeError: Please install the > activesalesforce adapter: `gem install activerecord-activesalesforce- > adapter` (no such file to load -- facets/openhash)
> However, when I try and install the activerecord-activesalesforce- > adapter gem, I get:
> I'm wondering if it has something to do with Facets? According to the > article, "..toolkit requires the Facets to use 2.8.4..". However, I > got the following message when installing facets 2.8.4:
> root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 > Successfully installed facets-2.9.1 > ERROR: Could not find a valid gem '–v' (>= 0) in any repository > ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository > 1 gem installed > Installing ri documentation for facets-2.9.1... > Installing RDoc documentation for facets-2.9.1...
> Any ideas?
> Thanks > Jeff
> -- > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.
> if (you are not able to install hpricot directly) { > try it with platform parameter. > Eg. 'gem install hpricot --platform=mswin32' (I don't know the value that > platform takes in case of mac)
> if (it doesn't work with platform parameter) { > the best way to install it is by installing devkit from here<https://github.com/oneclick/rubyinstaller/wiki/Development-Kit> > it gets installed if the devkit is installed and configured as explained in > the above link. > } > }
> Not sent from my iPhone or my Blackberry or anyone else's
> On Tue, Feb 22, 2011 at 5:21 PM, jeffdonthemic <j...@appirio.com> wrote:
>> Guys, I'm trying to run Raymond and Josh's "Getting Started with the >> Force.com Toolkit for Ruby" article but am running into some >> installation issues.
>> Running script/console throws the error:
>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ >> connection_adapters/abstract/connection_specification.rb:76:in >> `establish_connection':RuntimeError: Please install the >> activesalesforce adapter: `gem install activerecord-activesalesforce- >> adapter` (no such file to load -- facets/openhash)
>> However, when I try and install the activerecord-activesalesforce- >> adapter gem, I get:
>> I'm wondering if it has something to do with Facets? According to the >> article, "..toolkit requires the Facets to use 2.8.4..". However, I >> got the following message when installing facets 2.8.4:
>> root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 >> Successfully installed facets-2.9.1 >> ERROR: Could not find a valid gem '–v' (>= 0) in any repository >> ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository >> 1 gem installed >> Installing ri documentation for facets-2.9.1... >> Installing RDoc documentation for facets-2.9.1...
>> Any ideas?
>> Thanks >> Jeff
>> -- >> You received this message because you are subscribed to the Google Groups >> "ActiveSalesforce" group. >> To post to this group, send email to activesalesforce@googlegroups.com. >> To unsubscribe from this group, send email to >> activesalesforce+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/activesalesforce?hl=en.
One more thing is that I don't have activerecord-activesalesforce-adapter in my gem list. If the solution, I mentioned above, didn't work for you, then try uninstalling that gem as well.
Not sent from my iPhone or my Blackberry or anyone else's
On Tue, Feb 22, 2011 at 6:38 PM, Siva Shanmukh Vetcha <
>> if (you are not able to install hpricot directly) { >> try it with platform parameter. >> Eg. 'gem install hpricot --platform=mswin32' (I don't know the value that >> platform takes in case of mac)
>> if (it doesn't work with platform parameter) { >> the best way to install it is by installing devkit from here<https://github.com/oneclick/rubyinstaller/wiki/Development-Kit> >> it gets installed if the devkit is installed and configured as explained >> in the above link. >> } >> }
>> Not sent from my iPhone or my Blackberry or anyone else's
>> On Tue, Feb 22, 2011 at 5:21 PM, jeffdonthemic <j...@appirio.com> wrote:
>>> Guys, I'm trying to run Raymond and Josh's "Getting Started with the >>> Force.com Toolkit for Ruby" article but am running into some >>> installation issues.
>>> Running script/console throws the error:
>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ >>> connection_adapters/abstract/connection_specification.rb:76:in >>> `establish_connection':RuntimeError: Please install the >>> activesalesforce adapter: `gem install activerecord-activesalesforce- >>> adapter` (no such file to load -- facets/openhash)
>>> However, when I try and install the activerecord-activesalesforce- >>> adapter gem, I get:
>>> I'm wondering if it has something to do with Facets? According to the >>> article, "..toolkit requires the Facets to use 2.8.4..". However, I >>> got the following message when installing facets 2.8.4:
>>> root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 >>> Successfully installed facets-2.9.1 >>> ERROR: Could not find a valid gem '–v' (>= 0) in any repository >>> ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository >>> 1 gem installed >>> Installing ri documentation for facets-2.9.1... >>> Installing RDoc documentation for facets-2.9.1...
>>> Any ideas?
>>> Thanks >>> Jeff
>>> -- >>> You received this message because you are subscribed to the Google Groups >>> "ActiveSalesforce" group. >>> To post to this group, send email to activesalesforce@googlegroups.com. >>> To unsubscribe from this group, send email to >>> activesalesforce+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/activesalesforce?hl=en.
Thanks for the help Siva! Your 3 lines worked like a charm and now I'm able to successfully return a list of Account from my DE org. Really appreciate the help!
Thanks!
Jeff Douglas google voice: (941) 227-4843 mobile: (941) 809-3455 email: j...@appirio.com blog: http://blog.jeffdouglas.com
siva.shanm...@gmail.com> wrote: > One more thing is that I don't have activerecord-activesalesforce-adapter > in my gem list. If the solution, I mentioned above, didn't work for you, > then try uninstalling that gem as well.
> Not sent from my iPhone or my Blackberry or anyone else's
> On Tue, Feb 22, 2011 at 6:38 PM, Siva Shanmukh Vetcha < > siva.shanm...@gmail.com> wrote:
>> Jeff,
>> Let me know if it worked for you.
>> Siva.
>> Not sent from my iPhone or my Blackberry or anyone else's
>> On Tue, Feb 22, 2011 at 6:26 PM, Siva Shanmukh Vetcha < >> siva.shanm...@gmail.com> wrote:
>>> if (you are not able to install hpricot directly) { >>> try it with platform parameter. >>> Eg. 'gem install hpricot --platform=mswin32' (I don't know the value that >>> platform takes in case of mac)
>>> if (it doesn't work with platform parameter) { >>> the best way to install it is by installing devkit from here<https://github.com/oneclick/rubyinstaller/wiki/Development-Kit> >>> it gets installed if the devkit is installed and configured as explained >>> in the above link. >>> } >>> }
>>> Not sent from my iPhone or my Blackberry or anyone else's
>>> On Tue, Feb 22, 2011 at 5:21 PM, jeffdonthemic <j...@appirio.com> wrote:
>>>> Guys, I'm trying to run Raymond and Josh's "Getting Started with the >>>> Force.com Toolkit for Ruby" article but am running into some >>>> installation issues.
>>>> Running script/console throws the error:
>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ >>>> connection_adapters/abstract/connection_specification.rb:76:in >>>> `establish_connection':RuntimeError: Please install the >>>> activesalesforce adapter: `gem install activerecord-activesalesforce- >>>> adapter` (no such file to load -- facets/openhash)
>>>> However, when I try and install the activerecord-activesalesforce- >>>> adapter gem, I get:
>>>> I'm wondering if it has something to do with Facets? According to the >>>> article, "..toolkit requires the Facets to use 2.8.4..". However, I >>>> got the following message when installing facets 2.8.4:
>>>> root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 >>>> Successfully installed facets-2.9.1 >>>> ERROR: Could not find a valid gem '–v' (>= 0) in any repository >>>> ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository >>>> 1 gem installed >>>> Installing ri documentation for facets-2.9.1... >>>> Installing RDoc documentation for facets-2.9.1...
>>>> Any ideas?
>>>> Thanks >>>> Jeff
>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "ActiveSalesforce" group. >>>> To post to this group, send email to activesalesforce@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> activesalesforce+unsubscribe@googlegroups.com. >>>> For more options, visit this group at >>>> http://groups.google.com/group/activesalesforce?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.
The problem is due to a change in the Rforce GEM. That GEM has since removed the 'facets' dependency which provides the class 'openhash'. I suggest you install the 1.1 version of the gem, e.g.
sudo gem install asf-soap-adapter -v=1.1
That should solve the problem, since my 1.1 version has specified explicitly the dependency on 'facets' 2.8.4 gem.
By the way, I am currently working on the ASF-REST-Adapter, which has caching capability build right into the adapter. It will be available for alpha sometimes next weeks.
On Tue, Feb 22, 2011 at 8:14 AM, Jeff Douglas <j...@appirio.com> wrote: > Bingo!
> Thanks for the help Siva! Your 3 lines worked like a charm and now I'm able > to successfully return a list of Account from my DE org. Really appreciate > the help!
> Thanks!
> Jeff Douglas > google voice: (941) 227-4843 > mobile: (941) 809-3455 > email: j...@appirio.com > blog: http://blog.jeffdouglas.com
> On Tue, Feb 22, 2011 at 8:13 AM, Siva Shanmukh Vetcha < > siva.shanm...@gmail.com> wrote:
>> One more thing is that I don't have activerecord-activesalesforce-adapter >> in my gem list. If the solution, I mentioned above, didn't work for you, >> then try uninstalling that gem as well.
>> Not sent from my iPhone or my Blackberry or anyone else's
>> On Tue, Feb 22, 2011 at 6:38 PM, Siva Shanmukh Vetcha < >> siva.shanm...@gmail.com> wrote:
>>> Jeff,
>>> Let me know if it worked for you.
>>> Siva.
>>> Not sent from my iPhone or my Blackberry or anyone else's
>>> On Tue, Feb 22, 2011 at 6:26 PM, Siva Shanmukh Vetcha < >>> siva.shanm...@gmail.com> wrote:
>>>> if (you are not able to install hpricot directly) { >>>> try it with platform parameter. >>>> Eg. 'gem install hpricot --platform=mswin32' (I don't know the value >>>> that platform takes in case of mac)
>>>> if (it doesn't work with platform parameter) { >>>> the best way to install it is by installing devkit from here<https://github.com/oneclick/rubyinstaller/wiki/Development-Kit> >>>> it gets installed if the devkit is installed and configured as explained >>>> in the above link. >>>> } >>>> }
>>>> Not sent from my iPhone or my Blackberry or anyone else's
>>>> On Tue, Feb 22, 2011 at 5:21 PM, jeffdonthemic <j...@appirio.com>wrote:
>>>>> Guys, I'm trying to run Raymond and Josh's "Getting Started with the >>>>> Force.com Toolkit for Ruby" article but am running into some >>>>> installation issues.
>>>>> Running script/console throws the error:
>>>>> /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ >>>>> connection_adapters/abstract/connection_specification.rb:76:in >>>>> `establish_connection':RuntimeError: Please install the >>>>> activesalesforce adapter: `gem install activerecord-activesalesforce- >>>>> adapter` (no such file to load -- facets/openhash)
>>>>> However, when I try and install the activerecord-activesalesforce- >>>>> adapter gem, I get:
>>>>> I'm wondering if it has something to do with Facets? According to the >>>>> article, "..toolkit requires the Facets to use 2.8.4..". However, I >>>>> got the following message when installing facets 2.8.4:
>>>>> root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 >>>>> Successfully installed facets-2.9.1 >>>>> ERROR: Could not find a valid gem '–v' (>= 0) in any repository >>>>> ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository >>>>> 1 gem installed >>>>> Installing ri documentation for facets-2.9.1... >>>>> Installing RDoc documentation for facets-2.9.1...
>>>>> Any ideas?
>>>>> Thanks >>>>> Jeff
>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "ActiveSalesforce" group. >>>>> To post to this group, send email to activesalesforce@googlegroups.com >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> activesalesforce+unsubscribe@googlegroups.com. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/activesalesforce?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "ActiveSalesforce" group. >> To post to this group, send email to activesalesforce@googlegroups.com. >> To unsubscribe from this group, send email to >> activesalesforce+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/activesalesforce?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.
The problem is due to a change in the Rforce GEM. That GEM has since removed the 'facets' dependency which provides the class 'openhash'. I suggest you install the 1.1 version of the gem, e.g.
sudo gem install asf-soap-adapter -v=1.1
That should solve the problem, since my 1.1 version has specified explicitly the dependench on 'facets' 2.8.4 gem.
By the way, I am currently working on the ASF-REST-Adapter, which has caching capability build right into the adapter. It will be available for alpha sometimes next weeks.
> Guys, I'm trying to run Raymond and Josh's "Getting Started with the > Force.com Toolkit for Ruby" article but am running into some > installation issues.
> Running script/console throws the error:
> /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:76:in > `establish_connection':RuntimeError: Please install the > activesalesforce adapter: `gem install activerecord-activesalesforce- > adapter` (no such file to load -- facets/openhash)
> However, when I try and install the activerecord-activesalesforce- > adapter gem, I get:
> I'm wondering if it has something to do with Facets? According to the > article, "..toolkit requires the Facets to use 2.8.4..". However, I > got the following message when installing facets 2.8.4:
> root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 > Successfully installed facets-2.9.1 > ERROR: Could not find a valid gem '–v' (>= 0) in any repository > ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository > 1 gem installed > Installing ri documentation for facets-2.9.1... > Installing RDoc documentation for facets-2.9.1...
> Any ideas?
> Thanks > Jeff
> -- > You received this message because you are subscribed to the Google Groups "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/activesalesforce?hl=en.
Nice to hear about the ASF-REST-ADAPTER. But before that, I am interested in incorporating the metadata changes into the asf-soap-adapter so that we can have rake db:migrate working.
Also can any of you help me understand if I can use model files like we do for mysql/sqlite.
@Jeff I understand you are working towards your third post on ror. I am eagerly waiting for your post and intend to use it as a base for a session I am planning ahead.
Thanks, Siva
Not sent from my iPhone or my Blackberry or anyone else's
On Tue, Feb 22, 2011 at 7:55 PM, raygao-gmail <rayga...@gmail.com> wrote: > Hi guys,
> The problem is due to a change in the Rforce GEM. That GEM has since > removed the 'facets' dependency which provides the class 'openhash'. I > suggest you install the 1.1 version of the gem, e.g.
> sudo gem install asf-soap-adapter -v=1.1
> That should solve the problem, since my 1.1 version has specified > explicitly the dependench on 'facets' 2.8.4 gem.
> By the way, I am currently working on the ASF-REST-Adapter, which has > caching capability build right into the adapter. It will be available for > alpha sometimes next weeks.
> best,
> -Ray
> On Feb 22, 2011, at 5:51 AM, jeffdonthemic wrote:
> > Guys, I'm trying to run Raymond and Josh's "Getting Started with the > > Force.com Toolkit for Ruby" article but am running into some > > installation issues.
> > Running script/console throws the error:
> > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ > > connection_adapters/abstract/connection_specification.rb:76:in > > `establish_connection':RuntimeError: Please install the > > activesalesforce adapter: `gem install activerecord-activesalesforce- > > adapter` (no such file to load -- facets/openhash)
> > However, when I try and install the activerecord-activesalesforce- > > adapter gem, I get:
> > I'm wondering if it has something to do with Facets? According to the > > article, "..toolkit requires the Facets to use 2.8.4..". However, I > > got the following message when installing facets 2.8.4:
> > root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 > > Successfully installed facets-2.9.1 > > ERROR: Could not find a valid gem '–v' (>= 0) in any repository > > ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository > > 1 gem installed > > Installing ri documentation for facets-2.9.1... > > Installing RDoc documentation for facets-2.9.1...
> > Any ideas?
> > Thanks > > Jeff
> > -- > > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > > To post to this group, send email to activesalesforce@googlegroups.com. > > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.
Finally good to see atleast one post which said that salesforce
is working with rails.
I wanted to know if the above discussion is applicable for Rails3.0.3
& Ruby 1.9.2.
Because I'm facing some problems on integrating salesforce with
Rails3.0.3.
Can you please clarify regarding this?
Regards,
Naveen Kumar B.V
On Feb 22, 8:20 pm, Siva Shanmukh Vetcha <siva.shanm...@gmail.com>
wrote:
> Nice to hear about the ASF-REST-ADAPTER. But before that, I am interested in
> incorporating the metadata changes into the asf-soap-adapter so that we can
> have rake db:migrate working.
> Also can any of you help me understand if I can use model files like we do
> for mysql/sqlite.
> @Jeff
> I understand you are working towards your third post on ror. I am eagerly
> waiting for your post and intend to use it as a base for a session I am
> planning ahead.
> Thanks,
> Siva
> Not sent from my iPhone or my Blackberry or anyone else's
> On Tue, Feb 22, 2011 at 7:55 PM, raygao-gmail <rayga...@gmail.com> wrote:
> > Hi guys,
> > The problem is due to a change in the Rforce GEM. That GEM has since
> > removed the 'facets' dependency which provides the class 'openhash'. I
> > suggest you install the 1.1 version of the gem, e.g.
> > sudo gem install asf-soap-adapter -v=1.1
> > That should solve the problem, since my 1.1 version has specified
> > explicitly the dependench on 'facets' 2.8.4 gem.
> > By the way, I am currently working on the ASF-REST-Adapter, which has
> > caching capability build right into the adapter. It will be available for
> > alpha sometimes next weeks.
> > best,
> > -Ray
> > On Feb 22, 2011, at 5:51 AM, jeffdonthemic wrote:
> > > Guys, I'm trying to run Raymond and Josh's "Getting Started with the
> > > Force.com Toolkit for Ruby" article but am running into some
> > > installation issues.
> > > Running script/console throws the error:
> > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/
> > > connection_adapters/abstract/connection_specification.rb:76:in
> > > `establish_connection':RuntimeError: Please install the
> > > activesalesforce adapter: `gem install activerecord-activesalesforce-
> > > adapter` (no such file to load -- facets/openhash)
> > > However, when I try and install the activerecord-activesalesforce-
> > > adapter gem, I get:
> > > I'm wondering if it has something to do with Facets? According to the
> > > article, "..toolkit requires the Facets to use 2.8.4..". However, I
> > > got the following message when installing facets 2.8.4:
> > > root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4
> > > Successfully installed facets-2.9.1
> > > ERROR: Could not find a valid gem '–v' (>= 0) in any repository
> > > ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository
> > > 1 gem installed
> > > Installing ri documentation for facets-2.9.1...
> > > Installing RDoc documentation for facets-2.9.1...
> > > Any ideas?
> > > Thanks
> > > Jeff
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "ActiveSalesforce" group.
> > > To post to this group, send email to activesalesforce@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > activesalesforce+unsubscribe@googlegroups.com.
> > > For more options, visit this group at
> >http://groups.google.com/group/activesalesforce?hl=en.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ActiveSalesforce" group.
> > To post to this group, send email to activesalesforce@googlegroups.com.
> > To unsubscribe from this group, send email to
> > activesalesforce+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/activesalesforce?hl=en.
> Finally good to see atleast one post which said that salesforce > is working with rails. > I wanted to know if the above discussion is applicable for Rails3.0.3 > & Ruby 1.9.2. > Because I'm facing some problems on integrating salesforce with > Rails3.0.3. > Can you please clarify regarding this?
> Regards, > Naveen Kumar B.V
> On Feb 22, 8:20 pm, Siva Shanmukh Vetcha <siva.shanm...@gmail.com> > wrote: > > Nice to hear about the ASF-REST-ADAPTER. But before that, I am interested > in > > incorporating the metadata changes into the asf-soap-adapter so that we > can > > have rake db:migrate working.
> > Also can any of you help me understand if I can use model files like we > do > > for mysql/sqlite.
> > @Jeff > > I understand you are working towards your third post on ror. I am eagerly > > waiting for your post and intend to use it as a base for a session I am > > planning ahead.
> > Thanks, > > Siva
> > Not sent from my iPhone or my Blackberry or anyone else's
> > On Tue, Feb 22, 2011 at 7:55 PM, raygao-gmail <rayga...@gmail.com> > wrote: > > > Hi guys,
> > > The problem is due to a change in the Rforce GEM. That GEM has since > > > removed the 'facets' dependency which provides the class 'openhash'. I > > > suggest you install the 1.1 version of the gem, e.g.
> > > sudo gem install asf-soap-adapter -v=1.1
> > > That should solve the problem, since my 1.1 version has specified > > > explicitly the dependench on 'facets' 2.8.4 gem.
> > > By the way, I am currently working on the ASF-REST-Adapter, which has > > > caching capability build right into the adapter. It will be available > for > > > alpha sometimes next weeks.
> > > best,
> > > -Ray
> > > On Feb 22, 2011, at 5:51 AM, jeffdonthemic wrote:
> > > > Guys, I'm trying to run Raymond and Josh's "Getting Started with the > > > > Force.com Toolkit for Ruby" article but am running into some > > > > installation issues.
> > > > Running script/console throws the error:
> > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ > > > > connection_adapters/abstract/connection_specification.rb:76:in > > > > `establish_connection':RuntimeError: Please install the > > > > activesalesforce adapter: `gem install activerecord-activesalesforce- > > > > adapter` (no such file to load -- facets/openhash)
> > > > However, when I try and install the activerecord-activesalesforce- > > > > adapter gem, I get:
> > > > I'm wondering if it has something to do with Facets? According to the > > > > article, "..toolkit requires the Facets to use 2.8.4..". However, I > > > > got the following message when installing facets 2.8.4:
> > > > root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 > > > > Successfully installed facets-2.9.1 > > > > ERROR: Could not find a valid gem '–v' (>= 0) in any repository > > > > ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository > > > > 1 gem installed > > > > Installing ri documentation for facets-2.9.1... > > > > Installing RDoc documentation for facets-2.9.1...
> > > > Any ideas?
> > > > Thanks > > > > Jeff
> > > > -- > > > > You received this message because you are subscribed to the Google > Groups > > > "ActiveSalesforce" group. > > > > To post to this group, send email to > activesalesforce@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > activesalesforce+unsubscribe@googlegroups.com. > > > > For more options, visit this group at > > >http://groups.google.com/group/activesalesforce?hl=en.
> > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "ActiveSalesforce" group. > > > To post to this group, send email to activesalesforce@googlegroups.com > . > > > To unsubscribe from this group, send email to > > > activesalesforce+unsubscribe@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/activesalesforce?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.
Like the reply you got on that thread in the forum, asf-soap-adapter is not rails 3.0.3 ready. Infact a lot of gems are not rails 3.0.3 ready. Even I tried a lot to get it working with 3.0.3, but realized that I am not going to use the hot additions to 3.0.3 which weren't there in rails 2.3.8 yet. and rolled back to 2.3.8 instead of 3.0.3.
In any case, the ruby version shouldn't effect this much. So you don't need to go down on ruby's version.
Siva.
Not sent from my iPhone or my Blackberry or anyone else's
> On Tue, Feb 22, 2011 at 3:26 PM, Naveen kumar <venki.nav...@gmail.com>wrote:
>> Hi Siva & Jeff,
>> Finally good to see atleast one post which said that salesforce >> is working with rails. >> I wanted to know if the above discussion is applicable for Rails3.0.3 >> & Ruby 1.9.2. >> Because I'm facing some problems on integrating salesforce with >> Rails3.0.3. >> Can you please clarify regarding this?
>> Regards, >> Naveen Kumar B.V
>> On Feb 22, 8:20 pm, Siva Shanmukh Vetcha <siva.shanm...@gmail.com> >> wrote: >> > Nice to hear about the ASF-REST-ADAPTER. But before that, I am >> interested in >> > incorporating the metadata changes into the asf-soap-adapter so that we >> can >> > have rake db:migrate working.
>> > Also can any of you help me understand if I can use model files like we >> do >> > for mysql/sqlite.
>> > @Jeff >> > I understand you are working towards your third post on ror. I am >> eagerly >> > waiting for your post and intend to use it as a base for a session I am >> > planning ahead.
>> > Thanks, >> > Siva
>> > Not sent from my iPhone or my Blackberry or anyone else's
>> > On Tue, Feb 22, 2011 at 7:55 PM, raygao-gmail <rayga...@gmail.com> >> wrote: >> > > Hi guys,
>> > > The problem is due to a change in the Rforce GEM. That GEM has since >> > > removed the 'facets' dependency which provides the class 'openhash'. I >> > > suggest you install the 1.1 version of the gem, e.g.
>> > > sudo gem install asf-soap-adapter -v=1.1
>> > > That should solve the problem, since my 1.1 version has specified >> > > explicitly the dependench on 'facets' 2.8.4 gem.
>> > > By the way, I am currently working on the ASF-REST-Adapter, which has >> > > caching capability build right into the adapter. It will be available >> for >> > > alpha sometimes next weeks.
>> > > best,
>> > > -Ray
>> > > On Feb 22, 2011, at 5:51 AM, jeffdonthemic wrote:
>> > > > Guys, I'm trying to run Raymond and Josh's "Getting Started with the >> > > > Force.com Toolkit for Ruby" article but am running into some >> > > > installation issues.
>> > > > Running script/console throws the error:
>> > > > /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ >> > > > connection_adapters/abstract/connection_specification.rb:76:in >> > > > `establish_connection':RuntimeError: Please install the >> > > > activesalesforce adapter: `gem install >> activerecord-activesalesforce- >> > > > adapter` (no such file to load -- facets/openhash)
>> > > > However, when I try and install the activerecord-activesalesforce- >> > > > adapter gem, I get:
>> > > > I'm wondering if it has something to do with Facets? According to >> the >> > > > article, "..toolkit requires the Facets to use 2.8.4..". However, I >> > > > got the following message when installing facets 2.8.4:
>> > > > root@ubuntu:/home/jeff/rubygems-1.3.7# gem install facets –v 2.8.4 >> > > > Successfully installed facets-2.9.1 >> > > > ERROR: Could not find a valid gem '–v' (>= 0) in any repository >> > > > ERROR: Could not find a valid gem '2.8.4' (>= 0) in any repository >> > > > 1 gem installed >> > > > Installing ri documentation for facets-2.9.1... >> > > > Installing RDoc documentation for facets-2.9.1...
>> > > > Any ideas?
>> > > > Thanks >> > > > Jeff
>> > > > -- >> > > > You received this message because you are subscribed to the Google >> Groups >> > > "ActiveSalesforce" group. >> > > > To post to this group, send email to >> activesalesforce@googlegroups.com. >> > > > To unsubscribe from this group, send email to >> > > activesalesforce+unsubscribe@googlegroups.com. >> > > > For more options, visit this group at >> > >http://groups.google.com/group/activesalesforce?hl=en.
>> > > -- >> > > You received this message because you are subscribed to the Google >> Groups >> > > "ActiveSalesforce" group. >> > > To post to this group, send email to >> activesalesforce@googlegroups.com. >> > > To unsubscribe from this group, send email to >> > > activesalesforce+unsubscribe@googlegroups.com. >> > > For more options, visit this group at >> > >http://groups.google.com/group/activesalesforce?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "ActiveSalesforce" group. >> To post to this group, send email to activesalesforce@googlegroups.com. >> To unsubscribe from this group, send email to >> activesalesforce+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/activesalesforce?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "ActiveSalesforce" group. > To post to this group, send email to activesalesforce@googlegroups.com. > To unsubscribe from this group, send email to > activesalesforce+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/activesalesforce?hl=en.