This file contains hidden or 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
I created a symlink: | |
/usr/local/rvm/gems/default => /usr/local/rvm/gems/ruby-1.9.2-p0 (this should be updated to the current | |
ruby version you have selected, a la /usr/local/rvm/rubies/default) | |
This allowed me to change my httpd.conf from: | |
LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.2-p0/gems/passenger-2.2.15/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/local/rvm/gems/ruby-1.9.2-p0/gems/passenger-2.2.15 | |
to: | |
LoadModule passenger_module /usr/local/rvm/gems/default/gems/passenger-2.2.15/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/local/rvm/gems/default/gems/passenger-2.2.15 |
This file contains hidden or 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
gem 'active_support' | |
gem 'algorithms' |
This file contains hidden or 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
gem 'active_support' | |
gem 'algorithms' |
This file contains hidden or 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
module Bitcoin | |
class Client | |
include Singleton | |
def initialize | |
config_file = File.open(File.join(Rails.root, "config", "bitcoin.yml")) | |
config = YAML::load(config_file)[Rails.env].symbolize_keys | |
@client = JsonWrapper.new(config[:url], | |
config[:username], |
This file contains hidden or 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
fast |