Coder Social home page Coder Social logo

brewbygems's Introduction

CLI business card

Inspired by hearing @lynncyrin talk about npx business cards at !!Con West, this is a gemx business card. To see the output, run gemx indirect.

To create your own gemx business card, you can fork this repo, put your own info at the top of indirect.rb... and then even rename the files, if you want. 😂

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/indirect/indirect. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Indirect project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

brewbygems's People

Contributors

indirect avatar kevinbirch avatar zwaldowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sscr

brewbygems's Issues

"brewbygems: Sorry, you don't seem to have Homebrew installed." again

I've read the other issues on this, but I think my problem is different. I understand brewbygems is used to manage gems installed for the system ruby. I have not installed any other ruby. Here's my gem env

RubyGems Environment:
- RUBYGEMS VERSION: 1.8.5
- RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
- INSTALLATION DIRECTORY: /Users/mike/.homebrew/Cellar/gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /Users/mike/.homebrew/Cellar/gems/1.8/bin
- RUBYGEMS PLATFORMS:
  - ruby
  - universal-darwin-10
- GEM PATHS:
  - /Users/mike/.homebrew/Cellar/gems/1.8
  - /Users/mike/.gem/ruby/1.8
  - /Library/Ruby/Gems/1.8
- GEM CONFIGURATION:
  - :update_sources => true
  - :verbose => true
  - :benchmark => false
  - :backtrace => false
  - :bulk_threshold => 1000
- REMOTE SOURCES:
  - http://rubygems.org/```

I'm getting the error in the title every time I do a gem install, for every gem, e.g.

```palatino:~$ gem install homesick
Fetching: thor-0.14.6.gem (100%)
brewbygems: Sorry, you don't seem to have Homebrew installed.
Fetching: homesick-0.6.1.gem (100%)
brewbygems: Sorry, you don't seem to have Homebrew installed.
Successfully installed thor-0.14.6
Successfully installed homesick-0.6.1
2 gems installed
Installing ri documentation for thor-0.14.6...
Installing ri documentation for homesick-0.6.1...
Installing RDoc documentation for thor-0.14.6...
Installing RDoc documentation for homesick-0.6.1...

Nevertheless, the gems seem to have installed and been linked OK:

/Users/mike/.homebrew/bin/homesick

Is the error real or a bug? Or is it a problem with my configuration?

Sorry, you don't seem to have Homebrew installed.

bash-4.1$ sudo gem install 
brewbygems: Sorry, you don't seem to have Homebrew installed.
[...]
bash-4.1$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [x86_64-darwin10.6.0]
  - INSTALLATION DIRECTORY: /usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: /usr/local/Cellar/ruby/1.9.2-p136/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/Cellar/ruby/1.9.2-p136/bin
[...]
bash-4.1$ which brew
/usr/local/bin/brew

Error: 'brewbygems: Sorry, you don't seem to have Homebrew installed"

I followed the instructions on mxcl's wiki page for using brewbygems, but haven't been able to get the gem to work. I keep getting the "Sorry, you don't seem to have Homebrew installed" error.

Some configs:

  • I'm using homebrew in a separate directory: ~/homebrew, instead of /usr/local, because I didn't want to do the chown. Instead, I've pointed my path to ~/homebrew/bin.
  • I installed ruby 1.9.1 with homebrew, and am using the RubyGems installed with that.

I tried making a ~/homebrew/cellar/gems/ folder, and it gets rid of the error, but also fails to create links.

NameError when using Ruby 1.9

I get the following error when running e.g. gem clean:

ERROR:  While executing gem ... (NameError)
    uninitialized constant Pathname

The solution is, of course, to add require 'pathname' to the top of the file.

Don't link non-homebrew gems

Brewbygems should not call brew link gems if rubygems is installing to somewhere other than /usr/local/Cellar/gems/ or whatever

Doesn't work; no documentation

This is ruby 1.9 installed via macbrew. I did gem install brewbygems followed by

gem install cramp
Fetching: cramp-0.15.1.gem (100%)
brewbygems: Sorry, you don't seem to have Homebrew installed.
Successfully installed cramp-0.15.1
1 gem installed
Installing ri documentation for cramp-0.15.1...
Installing RDoc documentation for cramp-0.15.1...

But there is no /usr/local/bin/cramp as expected. Perhaps I'm not following the appropriate instructions? If yes, where as they?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.