Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on running rbtc #7

Open
JsonSam opened this issue May 23, 2014 · 4 comments
Open

Error on running rbtc #7

JsonSam opened this issue May 23, 2014 · 4 comments

Comments

@JsonSam
Copy link

JsonSam commented May 23, 2014

$ rbtc
/home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/number_helper.rb:3:in <module:NumberHelper>': uninitialized constant ActiveSupport::Autoload (NameError) from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/number_helper.rb:2:inmodule:ActiveSupport'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/number_helper.rb:1:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext/numeric/conversions.rb:2:inrequire'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext/numeric/conversions.rb:2:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext/numeric.rb:3:inrequire'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext/numeric.rb:3:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext.rb:2:inrequire'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext.rb:2:in block in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext.rb:1:ineach'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/activesupport-4.1.0/lib/active_support/core_ext.rb:1:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/bitstamp-0.3.0/lib/bitstamp.rb:1:inrequire'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/bitstamp-0.3.0/lib/bitstamp.rb:1:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/rbtc_arbitrage-1.4.4/lib/rbtc_arbitrage.rb:4:inrequire'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/rbtc_arbitrage-1.4.4/lib/rbtc_arbitrage.rb:4:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/rbtc_arbitrage-1.4.4/bin/rbtc:4:inrequire'
from /home/user/.rvm/gems/ruby-2.1.0@demo/gems/rbtc_arbitrage-1.4.4/bin/rbtc:4:in <top (required)>' from /home/user/.rvm/gems/ruby-2.1.0@demo/bin/rbtc:23:inload'
from /home/user/.rvm/gems/ruby-2.1.0@demo/bin/rbtc:23:in <main>' from /home/user/.rvm/gems/ruby-2.1.0@demo/bin/ruby_executable_hooks:15:ineval'
from /home/user/.rvm/gems/ruby-2.1.0@demo/bin/ruby_executable_hooks:15:in `

'

@EMRJ
Copy link

EMRJ commented Jun 2, 2014

@hstove - While running rbtc get the following error
I, [JUN 2 2014 2:37:44 PM +0530#13109] INFO -- : Fetching exchange rates
/home/user/.rvm/gems/ruby-2.0.0/gems/activemodel-4.0.3/lib/active_model/model.rb:80:in public_send': undefined methodvwap=' for #Bitstamp::Ticker:0x00000004251468 (NoMethodError)

@nurulshuvo
Copy link

Clone the gem, in bin/rbtc, add this line, require 'active_support/all'
bundle install
gem build rbtc_arbitrage.gemspec
gem install rbtc_arbitrage-version.gem

@rhelvey01
Copy link

Same problem haven't had much luck using @nurulshuvo fix either.
rvm ruby 2.1.2 / rails 4.1.6 /rbtc_arbitrage 2.4.4

@DestyNova
Copy link

Adding that require line before require 'rbtc_arbitrage' works here. Well, it gets me to the next error about httparty and the JSON lib 🌵

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants