gs 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +49 -0
  2. data/bin/gs +1 -1
  3. metadata +3 -3
  4. data/README +0 -24
@@ -0,0 +1,49 @@
1
+ # Make your life easier with gemsets
2
+
3
+ We have all become familiar with the concept of gemsets. They
4
+ come in different shapes and sizes, and provide isolation
5
+ for project dependencies. Some of the libraries that
6
+ implement gemsets are [rip](https://github.com/defunkt/rip),
7
+ [RVM](https://rvm.beginrescueend.com/gemsets/) and
8
+ [rbenv-gemset](https://github.com/jamis/rbenv-gemset).
9
+
10
+ This library recreates the absolutely minimal feature set for creating
11
+ and using gemsets.
12
+
13
+ ## Introductory screencast
14
+
15
+ If you want to see this workflow in action, [check the introductory
16
+ video](http://vimeo.com/soveran/gs). The other tool showcased in the
17
+ screencast is [dep](http://twpil.github.com/dep/), a dependency
18
+ tracker.
19
+
20
+ ## Usage
21
+
22
+ This library provides a command line application called `gs`. These
23
+ are the available options:
24
+
25
+ ### gs
26
+
27
+ When called with no arguments, it starts a shell session and
28
+ configures the variables GEM_HOME, GEM_PATH and PATH to point
29
+ to the $PWD/.gs directory. In addition, it sets the GEM_SET
30
+ variable with the name of the current gemset (useful for PS1).
31
+
32
+ ### gs init
33
+
34
+ Creates the $PWD/.gs directory.
35
+
36
+ ### gs help
37
+
38
+ Displays the documentation.
39
+
40
+ ## Getting started
41
+
42
+ First, grab the gem:
43
+
44
+ $ gem install gs
45
+
46
+ Next, type `gs init` within your project and then just `gs` to start
47
+ the subshell. The environment variables used by RubyGems will now
48
+ point to the `.gs` directory, and every gem you install, every gem you
49
+ remove, will use that path.
data/bin/gs CHANGED
@@ -36,7 +36,7 @@ case ARGV[0]
36
36
  when "init" then Dir.mkdir(".gs")
37
37
  when "help" then puts help
38
38
  else
39
- if Dir.exists?(".gs")
39
+ if File.directory?(".gs")
40
40
  exec subshell
41
41
  else
42
42
  puts "Directory .gs not found. Try `gs help`."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-03 00:00:00.000000000 Z
12
+ date: 2012-04-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Gemset management
15
15
  email:
@@ -19,7 +19,7 @@ executables:
19
19
  extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
- - README
22
+ - README.md
23
23
  - LICENSE
24
24
  - bin/gs
25
25
  homepage: http://soveran.github.com/gs
data/README DELETED
@@ -1,24 +0,0 @@
1
- GS(1)
2
-
3
- NAME
4
- gs -- Gemset management
5
-
6
- SYNOPSIS
7
- gs
8
- gs init
9
- gs help
10
-
11
- DESCRIPTION
12
- When called with no arguments, it starts a shell session and
13
- configures the variables GEM_HOME, GEM_PATH and PATH to point
14
- to the $PWD/.gs directory. In addition, it sets the GEM_SET
15
- variable with the name of the current gemset (useful for PS1).
16
-
17
- init
18
- Creates the $PWD/.gs directory.
19
-
20
- help
21
- Displays this message.
22
-
23
- INSTALLATION
24
- $ gem install gs