Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Error Installing activerecord-activesalesforce- adapter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jeffdonthemic  
View profile  
 More options Feb 22 2011, 6:51 am
From: jeffdonthemic <j...@appirio.com>
Date: Tue, 22 Feb 2011 03:51:35 -0800 (PST)
Local: Tues, Feb 22 2011 6:51 am
Subject: Error Installing activerecord-activesalesforce-adapter
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:

root@ubuntu:gem install activerecord-activesalesforce-adapter
ERROR: Error installing activerecord-activesalesforce-adapter:
activemodel requires builder (~> 2.1.2, runtime)

I'm running ruby 1.8.7 and rails 2.3.8 and my gem list reports:

actionmailer (2.3.8)
actionpack (2.3.8)
activerecord (2.3.8)
activerecord-activesalesforce-adapter (2.0.0)
activeresource (2.3.8)
activesupport (3.0.4, 2.3.8)
asf-soap-adapter (1.3.0)
builder (3.0.0)
bundler (1.0.10)
facets (2.9.1)
hpricot (0.8.3)
i18n (0.5.0)
rack (1.1.0)
rails (2.3.8)
rake (0.8.7)
rdoc (3.5.3)
rforcedotcom (20.0.0)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Siva Shanmukh Vetcha  
View profile  
 More options Feb 22 2011, 7:56 am
From: Siva Shanmukh Vetcha <siva.shanm...@gmail.com>
Date: Tue, 22 Feb 2011 18:26:09 +0530
Local: Tues, Feb 22 2011 7:56 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter

Jeff,

http://wiki.developerforce.com/index.php/Getting_Started_with_the_For...

If you tried the above
article<http://wiki.developerforce.com/index.php/Getting_Started_with_the_For...>,
I tried that article too and got the same error.

The following 3 lines should help you fix your issue.

gem install hpricot
gem uninstall facets
gem install -v=2.8.4 facets

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.
 }

}

Like you pointed out, the facets version wasn't correct. I am not sure what
else is not correct in that page. But this particular
post<http://blog.sforce.com/sforce/2010/12/setting-up-your-ruby-on-rails-e...>worked
just perfect for me. If you want to try afresh, I suggest that you
follow this<http://blog.sforce.com/sforce/2010/12/setting-up-your-ruby-on-rails-e...>one
instead.

http://blog.sforce.com/sforce/2010/12/setting-up-your-ruby-on-rails-e...

Not sent from my iPhone or my Blackberry or anyone else's


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Siva Shanmukh Vetcha  
View profile  
 More options Feb 22 2011, 8:08 am
From: Siva Shanmukh Vetcha <siva.shanm...@gmail.com>
Date: Tue, 22 Feb 2011 18:38:41 +0530
Local: Tues, Feb 22 2011 8:08 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter

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 <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Siva Shanmukh Vetcha  
View profile  
 More options Feb 22 2011, 8:13 am
From: Siva Shanmukh Vetcha <siva.shanm...@gmail.com>
Date: Tue, 22 Feb 2011 18:43:29 +0530
Local: Tues, Feb 22 2011 8:13 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter

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 <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Douglas  
View profile  
 More options Feb 22 2011, 9:14 am
From: Jeff Douglas <j...@appirio.com>
Date: Tue, 22 Feb 2011 09:14:50 -0500
Local: Tues, Feb 22 2011 9:14 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter

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

<http://www.cloudspokes.com>

<http://blog.jeffdouglas.com/>Appirio, Inc.
Accelerating On-Demand in the Enterprise
http://www.appirio.com

Author: Salesforce Handbook<http://www.lulu.com/spotlight/salesforcehandbook> &
Beginning Java Google App Engine <http://apress.com/book/view/9781430225539>

On Tue, Feb 22, 2011 at 8:13 AM, Siva Shanmukh Vetcha <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raymond Gao  
View profile   Translate to Translated (View Original)
 More options Feb 22 2011, 9:27 am
From: Raymond Gao <rayga...@gmail.com>
Date: Tue, 22 Feb 2011 08:27:14 -0600
Local: Tues, Feb 22 2011 9:27 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter

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 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.

best,

-Ray


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
raygao-gmail  
View profile  
 More options Feb 22 2011, 9:25 am
From: raygao-gmail <rayga...@gmail.com>
Date: Tue, 22 Feb 2011 08:25:16 -0600
Local: Tues, Feb 22 2011 9:25 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Siva Shanmukh Vetcha  
View profile  
 More options Feb 22 2011, 10:20 am
From: Siva Shanmukh Vetcha <siva.shanm...@gmail.com>
Date: Tue, 22 Feb 2011 20:50:53 +0530
Local: Tues, Feb 22 2011 10:20 am
Subject: Re: [ActiveSalesforce] Error Installing activerecord-activesalesforce-adapter

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Naveen kumar  
View profile  
 More options Feb 22 2011, 3:26 pm
From: Naveen kumar <venki.nav...@gmail.com>
Date: Tue, 22 Feb 2011 12:26:44 -0800 (PST)
Local: Tues, Feb 22 2011 3:26 pm
Subject: Re: Error Installing activerecord-activesalesforce-adapter
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Douglas  
View profile  
 More options Feb 22 2011, 5:49 pm
From: Jeff Douglas <j...@appirio.com>
Date: Tue, 22 Feb 2011 17:49:45 -0500
Local: Tues, Feb 22 2011 5:49 pm
Subject: Re: [ActiveSalesforce] Re: Error Installing activerecord-activesalesforce-adapter

Naveen,

I'm not sure the specifics on compatibility so you may want to post this to
the Ruby message
board<http://forums.sforce.com/t5/Perl-PHP-Python-Ruby-Development/bd-p/Per...>.
I
have been seeing alot of discussions regarding Ruby and Salesforce.com
lately so there is definitely a lot going on. Check out this
post<http://forums.sforce.com/t5/Perl-PHP-Python-Ruby-Development/getting-...>for
more info.

Thanks!

Jeff Douglas
google voice: (941) 227-4843
mobile: (941) 809-3455
email: j...@appirio.com
blog: http://blog.jeffdouglas.com

<http://www.cloudspokes.com>

<http://blog.jeffdouglas.com/>Appirio, Inc.
Accelerating On-Demand in the Enterprise
http://www.appirio.com

Author: Salesforce Handbook<http://www.lulu.com/spotlight/salesforcehandbook> &
Beginning Java Google App Engine <http://apress.com/book/view/9781430225539>

On Tue, Feb 22, 2011 at 3:26 PM, Naveen kumar <venki.nav...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Siva Shanmukh Vetcha  
View profile  
 More options Feb 23 2011, 12:43 am
From: Siva Shanmukh Vetcha <siva.shanm...@gmail.com>
Date: Wed, 23 Feb 2011 11:13:13 +0530
Local: Wed, Feb 23 2011 12:43 am
Subject: Re: [ActiveSalesforce] Re: Error Installing activerecord-activesalesforce-adapter

Naveen,

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »