arsh 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/libs/rvm.rb +2 -2
  2. data/libs/version.rb +1 -1
  3. metadata +3 -3
@@ -3,7 +3,7 @@ module ArshCommands
3
3
  command = command.is_a?(Array) ? command.join(' ') : command
4
4
  case command
5
5
  when /^use /
6
- @output = %x{bash -c "source #{ENV['rvm_path']}/scripts/rvm; rvm #{command}; env | grep -i rvm"}
6
+ @output = %x{bash -c "source #{ENV['HOME']}/.rvm/scripts/rvm; rvm #{command}; env | grep -i rvm"}
7
7
  @output.split("\n").select { |l| l[/=/] }.each do |n|
8
8
  var, value = n.split(/=/,2)
9
9
  ENV[var] = value
@@ -15,7 +15,7 @@ module ArshCommands
15
15
  Process.fork do
16
16
  pid = Process.pid
17
17
  print "\n"
18
- exec %Q{bash -c "source #{ENV['rvm_path']}/scripts/rvm; rvm #{command}"}
18
+ exec %Q{bash -c "source #{ENV['HOME']}/.rvm/scripts/rvm; rvm #{command}"}
19
19
  end
20
20
  Process.waitpid(pid.to_i)
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Arsh
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-01-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb-readline
18
- requirement: &6552700 !ruby/object:Gem::Requirement
18
+ requirement: &7508760 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *6552700
26
+ version_requirements: *7508760
27
27
  description: Provides a shell that can run pure Ruby code as well as ordinary linux
28
28
  commands.
29
29
  email: