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
Kaleb Elwert
9446c7fb53
ruby-info: only run commands if the prompt needs the info
7 years ago
Kaleb Elwert
c7dcd21c9e
Don't show ruby info if using system version
...
Based off a8fe1b3cb4
by @chauncey-garrett
7 years ago
Jeff Widman
38fb41d66e
Use backticks rather than italics for paths
...
This is more typical with what I observe elsewhere
7 years ago
Indrajit Raychaudhuri
ac628c9059
[general] Switch code block formatting to use fence formatting
...
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
8 years ago
Kaleb Elwert
7d5beeab51
Add comments into each of the function files to make them easier to find
8 years ago
François VANTOMME
bb168c5881
Doc (ruby): add doc on bundle clean alias
8 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
7722dd4400
Inform the user to load ruby as late as possible when using RVM
11 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
50edc45132
[ Fix #503 ] Prefix rails aliases with 'bundle exec'
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>
12 years ago
Jeff Sandberg
29647947fe
[ Fix #335 ] Prevent rbenv from hashing gems at startup
12 years ago
Sorin Ionescu
b36d98e431
Fix the name of the theme setup function in READMEs
12 years ago
Sorin Ionescu
8ea0e42b7f
Rename ruby-info zstyle patterns
12 years ago
Sorin Ionescu
8ff60ad956
[ #297 ] Check for RVM and rbenv before returning
12 years ago
Sorin Ionescu
ac04921afa
Clarify info functions descriptions
12 years ago
Sorin Ionescu
e5a9bdc4b4
[ Fix #259 ] Add ruby-info function
12 years ago
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
12 years ago
Sorin Ionescu
3ec4fff033
Refactor Ruby aliases
13 years ago
Sorin Ionescu
9a52ecb21b
Increase heading readability
13 years ago
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
13 years ago
Sorin Ionescu
86d0086b56
[ Fix #115 ] Add documentation for ruby
13 years ago
Sorin Ionescu
0165379143
Clarify comments in ruby module
13 years ago
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
13 years ago