That's a good question .

I am also new with ruby and I really like that but I am also
struggling to get a working connection to salesforce . I tried with
rails 3.0.3 and now rails 2.3.3 .

I followed that tutorial  :
http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_Toolkit_for_Ruby
but does not tell any thing about the version whick looks important in
Ruby
when I do Rake gems:install
I have the following error message :
Don't know how to build task 'gems:install'

What do I missed ?

Marc

On Jan 5, 11:32 am, Craig Harris <[email protected]> wrote:
> I am new to Rails and just trying to get a simple POC working to show
> at my company.
>
> Where can I find a working sample of rails app on Heroku that connects
> to Salesforce.
>
> Should I be targeting Rails 2 or Rails 3?
>
> On Dec 18 2010, 8:01 am, Mat Schaffer <[email protected]> wrote:
>
> > Rails 3 uses bundler so I'm pretty sure you'll need to put the gem in
> > your Gemfile as well to get it loaded. Then run 'bundle'
>
> > -Mat
>
> > On Dec 18, 2010, at 1:57 AM, Craig Harris <[email protected]> wrote:
>
> > > I have run the following:
>
> > > sudo gem install activerecord-activesalesforce-adapter
> > > sudo gem install activesalesforce
>
> > > and edited database.yml to include:
>
> > > development:
> > >  adapter: activesalesforce
> > >  url:https://www.salesforce.com
> > >  username: <username>
> > >  password: <password><token>
> > >  api_version: 20.0
>
> > > When I accesshttp://localhost:3000/
>
> > > I get:
>
> > > Started GET "/" for 127.0.0.1 at 2010-12-17 22:46:30 -0800
>
> > > RuntimeError (Please install the activesalesforce adapter: `gem
> > > install activerecord-activesalesforce-adapter` (no such file to load
> > > -- active_record/connection_adapters/activesalesforce_adapter)):
>
> > > and then the second and subsequent times
>
> > > Started GET "/" for 127.0.0.1 at 2010-12-17 22:46:35 -0800
>
> > > ActiveRecord::ConnectionNotEstablished
> > > (ActiveRecord::ConnectionNotEstablished):
>
> > > On Dec 17, 6:03 pm, Mat Schaffer <[email protected]> wrote:
> > >> Which connector are you using? My team just released the
> > >> hoopla_salesforce_connector this week but there's not a lot of
> > >> documentation on it yet. If there's something specific you're trying
> > >> to do we might be able to help out. It's been working for us pretty
> > >> well.
>
> > >> -Mat
>
> > >> On Dec 17, 2010, at 6:52 PM, Craig Harris <[email protected]> wrote:
>
> > >>> I was able to get Rails 3.0.3 running and deployed to the Heroku
> > >>> server.
>
> > >>> I am having difficulty getting a running connection toSalesforce.
>
> > >>> Does theSalesforceconnector work with Rails 3.0.3?
>
> > >>> Does anyone have a link to a tutorial I can use to trouble shoot.
>
> > >>> Thanks.
>
> > >>> --
> > >>> You received this message because you are subscribed to the Google 
> > >>> Groups "Heroku" 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 
> > >>> athttp://groups.google.com/group/heroku?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Heroku" 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 
> > > athttp://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to