Floppy-amee 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/ameesh +2 -1
- data/lib/amee/shell.rb +1 -0
- data/lib/amee.rb +1 -1
- metadata +1 -1
data/bin/ameesh
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
shell_lib = File.dirname(__FILE__) + '/../lib/amee/shell'
|
3
4
|
irb_name = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
|
4
5
|
|
5
6
|
require 'optparse'
|
@@ -25,5 +26,5 @@ ENV['AMEE_PASSWORD'] = options[:password]
|
|
25
26
|
if options[:server].nil? || options[:username].nil? || options[:password].nil?
|
26
27
|
puts "Please provide connection details. Run 'ameesh --help' for details."
|
27
28
|
else
|
28
|
-
exec "#{irb_name} -r
|
29
|
+
exec "#{irb_name} -r #{shell_lib} --simple-prompt"
|
29
30
|
end
|
data/lib/amee/shell.rb
CHANGED
data/lib/amee.rb
CHANGED