Alexey Zapparov
72c8b9576b
Don't double-source chruby
...
If chruby was installed using default way, most likely chruby and
auto-switching will be already sourced (at least on most Linuxes).
7 years ago
François VANTOMME
7c64584629
Add bundle clean alias
8 years ago
Shane O'Grady
90eae2b491
If a default Ruby is set, switch to it
...
Set PATH variables to allow gems such as Bundler to be found and for the
`ruby-info` function to properly work.
A default Ruby must be set in ~/.ruby-version; for more information, see
https://github.com/postmodern/chruby#default-ruby .
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Sorin Ionescu
dbeb6d4e1a
[ Fix #361 ] Load chruby when found
11 years ago
Sorin Ionescu
da1a837cd4
Refactor Bundler aliases
11 years ago
Sorin Ionescu
52ea7152ad
Git ignore bundler vendor/assets
11 years ago
Sorin Ionescu
b159ddb02b
Do not specify a bundler install path
11 years ago
Sebastian Wiesner
8ee6634c93
Do not define $GEM_HOME
...
Defining it breaks gems for all users who neither use RVM nor rbenv,
but have a different default Ruby version nonetheless.
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
Sebastian Wiesner
0c9c099ac3
Add the RubyGems bin directory to PATH on other Unix systems
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
Jeff Sandberg
29647947fe
[ Fix #335 ] Prevent rbenv from hashing gems at startup
12 years ago
Sorin Ionescu
8ff60ad956
[ #297 ] Check for RVM and rbenv before returning
12 years ago
Sorin Ionescu
3ec4fff033
Refactor Ruby aliases
12 years ago
Sorin Ionescu
9a52ecb21b
Increase heading readability
12 years ago
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
12 years ago
Sorin Ionescu
86d0086b56
[ Fix #115 ] Add documentation for ruby
12 years ago
Sorin Ionescu
0165379143
Clarify comments in ruby module
12 years ago
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
13 years ago
Sorin Ionescu
0829f921db
Added support for package manager installed rbenv.
13 years ago
Sorin Ionescu
58874461bb
Renamed binit to bI and fixed bundle .gitignore.
13 years ago
Sorin Ionescu
63b666ba86
Merged the bundler plugin into the ruby plugin.
...
Gem management without bundler is a pain.
Ruby and bundler are inseparable.
13 years ago
Sorin Ionescu
de61ae0663
Do not export GEM_HOME in launchd.
...
Exporting GEM_HOME in launchd conflicts with RVM and rbenv.
There are currently no known GUI programs that need it.
13 years ago
Sorin Ionescu
06b989ebbb
Simplified rvm, rbenv, and Mac OS X Ruby settings.
13 years ago
Sorin Ionescu
42fc29e6a8
Unset GEM_HOME if RVM or rbenv are installed.
13 years ago
Sorin Ionescu
33ee2a0bd4
Revert "Do not assume a specific Ruby version."
...
This reverts commit b0d47546fe
.
It is not feasible to use multiple Ruby versions without RVM.
13 years ago
Sorin Ionescu
33d0ecb9be
Initialize rbenv for Zsh.
13 years ago
Sorin Ionescu
b96bbca51c
Added or edited file headers.
13 years ago
Sorin Ionescu
b0d47546fe
Do not assume a specific Ruby version.
13 years ago
Sorin Ionescu
fadea4fe43
RubyGems GEM_PATH is not necessary to export.
13 years ago
Sorin Ionescu
7849948ead
Cleaned up minor cruft in the Ruby plugin.
...
Use path helpers where appropriate.
Removed an unnecessary if statement.
13 years ago
Sorin Ionescu
60f39d8d91
Moved hub into the git plugin.
13 years ago
Sorin Ionescu
9d27df2050
Tradition dictates that options are uppercase.
13 years ago
Sorin Ionescu
3dbc808b96
Removed completions managed by zsh-completions.
13 years ago
Sorin Ionescu
b65195156d
Added missing FX and named colors to spectrum.
13 years ago
Sorin Ionescu
90e7debc30
Cleaned up the plugins.
13 years ago
Sorin Ionescu
d60b9bd17b
Abide by Mac conventions when installing gems.
13 years ago
Andrew Hodges
7b8290a4e1
Gem List Helper
...
Add helper function to list gems in a pretty way (only with rvm, for now). Add
missng EOF newline and a todo to the ruby plugin.
13 years ago
Robby Russell
be63480e22
Reorganizing plugins so that each plugin has it's own directory now so that any plugin-specific functions can be bundled within there.
14 years ago
Robby Russell
210a72b441
Initial implementation of a new plugin system, so that people can managed which aliases/functions they want.
14 years ago