Comments (3)
If I run HOMEBREW_DEBUG=1 brew gem install aws_assume_role --homebrew-ruby
and choose shell
and run the command /usr/local/bin/gem install /Users/alan/Library/Caches/Homebrew/aws_assume_role-1.2.1.gem --no-ri --no-rdoc --no-wrapper --no-user-install --install-dir /usr/local/Cellar/gem-aws_assume_role/1.2.1 --bindir /usr/local/Cellar/gem-aws_assume_role/1.2.1/bin
I get the same error as expected. Sure enough, the rake
gem isn't listed:
bash-3.2$ gem list
Ignoring ffi-1.9.25 because its extensions are not built. Try: gem pristine ffi --version 1.9.25
*** LOCAL GEMS ***
bigdecimal (1.2.8)
bindata (2.4.4)
corefoundation (0.2.0)
equatable (0.5.0)
ffi (1.9.25)
ffi-bit_masks (0.1.1)
gir_ffi (0.13.1)
gir_ffi-gnome_keyring (0.0.10)
indentation (0.1.1)
io-console (0.4.5)
json (1.8.3.1)
pastel (0.7.2)
psych (2.1.0.1)
rdoc (4.2.1)
ruby-keychain (0.3.2)
rubyzip (1.2.2)
slop (3.6.0)
smartcard (0.5.6)
tty-color (0.4.3)
yubioath (1.2.1)
zerg_support (0.1.6)
zip-zip (0.3)
If I exit the Homebrew debug shell:
$ /usr/local/bin/gem list
*** LOCAL GEMS ***
bigdecimal (default: 1.3.4)
bundler (default: 1.16.2)
cmath (default: 1.0.0)
csv (default: 1.0.0)
date (default: 1.0.0)
dbm (default: 1.0.0)
did_you_mean (1.2.0)
etc (default: 1.0.0)
fcntl (default: 1.0.0)
fiddle (default: 1.0.0)
fileutils (default: 1.0.2)
io-console (default: 0.4.6)
ipaddr (default: 1.2.0)
json (default: 2.1.0)
minitest (5.10.3)
net-telnet (0.1.1)
openssl (default: 2.1.2)
power_assert (1.1.1)
psych (default: 3.0.2)
rake (12.3.0)
rdoc (default: 6.0.1)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
stringio (default: 0.0.1)
strscan (default: 1.0.0)
test-unit (3.2.7)
webrick (default: 1.4.2)
xmlrpc (0.3.0)
zlib (default: 1.0.0)
$ /usr/bin/gem list
*** LOCAL GEMS ***
bigdecimal (1.2.8)
CFPropertyList (2.2.8)
did_you_mean (1.0.0)
io-console (0.4.5)
json (1.8.3.1)
libxml-ruby (2.9.0)
minitest (5.8.5)
net-telnet (0.1.1)
nokogiri (1.5.6)
power_assert (0.2.6)
psych (2.1.0.1)
rake (10.4.2)
rdoc (4.2.1)
sqlite3 (1.3.11)
test-unit (3.1.5)
from brew-gem.
Within the debug shell, I can /usr/local/bin/gem install rake
and then re-run the install command and it completes successfully. But there is nothing in /usr/local/Cellar/
when I quit. Not sure how to continue; any help appreciated, thanks.
from brew-gem.
I think I sorted this out; in the debug brew shell, GEM_HOME
and GEM_PATH
are set to /usr/local/Cellar/gem-aws_assume_role/1.2.1
and rake isn't in there. So, I believe this to be a problem with the gem I'm trying to install not having rake as a dependency. I'll take it up with them.
I'll close, but here are my install steps for anyone else who may stumble upon this:
brew install brew-gem
BREW_GEM_TEMPDIR="$( mktemp -d 2>/dev/null || mktemp -d -t 'brew_gem_tempdir' )"
brew gem formula aws_assume_role | sed -e 's/\(cached_download\)/"rake", \1/' > "${BREW_GEM_TEMPDIR%/}/gem-aws_assume_role.rb"
HOMEBREW_NO_AUTO_UPDATE=1 brew install "${BREW_GEM_TEMPDIR%/}/gem-aws_assume_role.rb"
rm -r "${BREW_GEM_TEMPDIR:?}"
unset BREW_GEM_TEMPDIR
from brew-gem.
Related Issues (20)
- Uninstalling the lunchy gem does not properly unlink the lunchy bin file
- Autodetect or configurable Ruby path HOT 2
- Don't short-circuit upgrade command
- Cannot run installed "mono" gems (ie: fastlane) HOT 6
- Spec fails when GEM_ env var is set
- test suite fails (for surprising reasons) when rspec is run outside of bundle
- gem download fails with EPERM HOT 15
- Cannot install mailcatcher gem HOT 4
- Cannot find ruby.h with --homebrew-ruby HOT 8
- Problem with installing Jeykll HOT 1
- Issues with brew-bundle HOT 1
- Ty
- Jo
- request new release
- asciidoctor-diagram HOT 2
- brew gem install neovim requires gcc@5 formula and crashes if the formula is absent
- Feature request: `reinstall`
- [Question] how does this differ from normal gem installation HOT 2
- Neens to be fixed with latest Homebrew Latest with Homebrew's 3.2.0 ruby HOT 1
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 brew-gem.