Comments (6)
Will this work for people not using this through the binary, but instead doing
require 'heroku'
Heroku::Client.new(...)
from legacy-cli.
I definitely agree about the load paths, and this will be fixed in the next major revision of the gem. I haven't yet found a way to specify version dependencies at runtime without having a dependency on rubygems, though.
from legacy-cli.
Yes it will. Rubygems hijacks "require".
$ irb
>> require 'rubygems'
=> true
>> $:.select { |f| f =~ /rest-client/ }
=> []
>> require 'heroku'
=> true
>> $:.select { |f| f =~ /rest-client/ }
=> ["/Users/josh/.rvm/gems/ruby-1.8.7-p249/gems/rest-client-1.4.2/bin", "/Users/josh/.rvm/gems/ruby-1.8.7-p249/gems/rest-client-1.4.2/lib"]
from legacy-cli.
disregard that, i tested on the current gem
from legacy-cli.
built a gem from my fork and verified it still works.
gem 'heroku'
should activate all gem dependencies.
RG hijacks require to try to require heroku, when it fails it activates the gem thus activating any dependencies and tries again.
from legacy-cli.
I tested on your fork and saw the same behavior. Have pulled your changes in. Thanks!
from legacy-cli.
Related Issues (20)
- heroku run -- myapp --help fails HOT 1
- heroku pg:pull ignoring PGPORT when calling `createdb` HOT 2
- Error Running Heroku CLI After Successful Install HOT 3
- Heroku login fails on Linux
- Upgrade net-ssh for better Ruby 2.4 support HOT 1
- Heroku client internal error HOT 2
- Unable to run any commands from heroku-cli HOT 1
- CLI update has broken CLI HOT 3
- issue with heroku login console HOT 1
- heroku client broken, throws errors HOT 4
- Heroku client internal error HOT 1
- nil error when running just "Heroku" HOT 2
- undefined method `split' for nil:NilClass (NoMethodError) HOT 3
- Don't dump creds when login fails HOT 1
- when i m installing heroku -cli and run that program on my cmd window, i get error like this....!Xz:invalid header magic bytesef HOT 1
- no puedo acceder ni hacer deploy. Alguna solución? HOT 1
- heroku local malfunctions versus heroku cloud deployed App HOT 1
- undefined method `addons' for Heroku::Addons:Module
- nk@traclpo
- d
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legacy-cli.