This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AshMBP: ash$ cap deploy | |
/Users/ash/.rvm/lib/rvm/capistrano.rb:5:in `<top (required)>': RVM - Capistrano integration was extracted to a separate gem, install: `gem install rvm-capistrano` and remove the `$LOAD_PATH.unshift` line, note also the 'set :rvm_type, :user' is now the default (instead of :system). (RuntimeError) | |
from /Users/ash/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/ash/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/ash/.rvm/gems/ruby-1.9.2-p180/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:152:in `require' | |
from ./config/deploy.rb:2:in `load' | |
from /Users/ash/.rvm/gems/ruby-1.9.2-p180/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `instance_eval' | |
from /Users/ash/.rvm/gems/ruby-1.9.2-p180/gems/capistrano-2.9.0/lib/capistrano/configuration/loading.rb:93:in `load' | |
from /Users/ash/.rvm/gems/ruby-1.9.2-p180/gems/capistrano-2.9.0/lib/cap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo su | |
echo -e "Installing development dependencies and essential tools..." | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
echo -e "Installing Ruby 1.9.3-p448" | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz | |
tar -xvzf ruby-1.9.3-p448.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<Entity> GetOrganizations() | |
{ | |
List<Entity> accounts = null; | |
// Establish a connection to the organization web service using CrmConnection. | |
Microsoft.Xrm.Client.CrmConnection connection = CrmConnection.Parse(this.ConnectionString); | |
using (_orgService = new OrganizationService(connection)) | |
{ | |
// Retrieve the several attributes from the new account. | |
QueryExpression query = new QueryExpression(); |