Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
rubygems /
commands /
Delete
Unzip
Name
Size
Permission
Date
Action
build_command.rb
1.48
KB
-rw-r--r--
2016-11-21 08:58
cert_command.rb
7.67
KB
-rw-r--r--
2016-11-21 08:58
check_command.rb
2.23
KB
-rw-r--r--
2016-11-21 08:58
cleanup_command.rb
3.88
KB
-rw-r--r--
2016-11-21 08:58
contents_command.rb
4.09
KB
-rw-r--r--
2016-11-21 08:58
dependency_command.rb
5.16
KB
-rw-r--r--
2016-11-21 08:58
environment_command.rb
4.77
KB
-rw-r--r--
2016-11-21 08:58
fetch_command.rb
1.78
KB
-rw-r--r--
2016-11-21 08:58
generate_index_command.rb
2.55
KB
-rw-r--r--
2016-11-21 08:58
help_command.rb
10.15
KB
-rw-r--r--
2016-11-21 08:58
install_command.rb
9.54
KB
-rw-r--r--
2016-11-21 08:58
list_command.rb
940
B
-rw-r--r--
2016-11-21 08:58
lock_command.rb
2.7
KB
-rw-r--r--
2016-11-21 08:58
mirror_command.rb
624
B
-rw-r--r--
2016-11-21 08:58
open_command.rb
1.65
KB
-rw-r--r--
2016-11-21 08:58
outdated_command.rb
852
B
-rw-r--r--
2016-11-21 08:58
owner_command.rb
2.44
KB
-rw-r--r--
2021-12-06 00:55
pristine_command.rb
5.14
KB
-rw-r--r--
2016-11-21 08:58
push_command.rb
2.45
KB
-rw-r--r--
2016-11-21 08:58
query_command.rb
9.05
KB
-rw-r--r--
2021-12-06 00:55
rdoc_command.rb
2.49
KB
-rw-r--r--
2016-11-21 08:58
search_command.rb
885
B
-rw-r--r--
2016-11-21 08:58
server_command.rb
2.38
KB
-rw-r--r--
2016-11-21 08:58
setup_command.rb
13
KB
-rw-r--r--
2016-11-21 08:58
sources_command.rb
5.21
KB
-rw-r--r--
2016-11-21 08:58
specification_command.rb
3.31
KB
-rw-r--r--
2016-11-21 08:58
stale_command.rb
962
B
-rw-r--r--
2016-11-21 08:58
uninstall_command.rb
4.52
KB
-rw-r--r--
2016-11-21 08:58
unpack_command.rb
4.54
KB
-rw-r--r--
2016-11-21 08:58
update_command.rb
6.98
KB
-rw-r--r--
2016-11-21 08:58
which_command.rb
2.17
KB
-rw-r--r--
2016-11-21 08:58
yank_command.rb
2.58
KB
-rw-r--r--
2016-11-21 08:58
Save
Rename
# frozen_string_literal: true require 'rubygems/command' require 'rubygems/package' class Gem::Commands::BuildCommand < Gem::Command def initialize super 'build', 'Build a gem from a gemspec' add_option '--force', 'skip validation of the spec' do |value, options| options[:force] = true end end def arguments # :nodoc: "GEMSPEC_FILE gemspec file name to build a gem for" end def description # :nodoc: <<-EOF The build command allows you to create a gem from a ruby gemspec. The best way to build a gem is to use a Rakefile and the Gem::PackageTask which ships with RubyGems. The gemspec can either be created by hand or extracted from an existing gem with gem spec: $ gem unpack my_gem-1.0.gem Unpacked gem: '.../my_gem-1.0' $ gem spec my_gem-1.0.gem --ruby > my_gem-1.0/my_gem-1.0.gemspec $ cd my_gem-1.0 [edit gem contents] $ gem build my_gem-1.0.gemspec EOF end def usage # :nodoc: "#{program_name} GEMSPEC_FILE" end def execute gemspec = get_one_gem_name unless File.exist? gemspec gemspec += '.gemspec' if File.exist? gemspec + '.gemspec' end if File.exist? gemspec then spec = Gem::Specification.load gemspec if spec then Gem::Package.build spec, options[:force] else alert_error "Error loading gemspec. Aborting." terminate_interaction 1 end else alert_error "Gemspec file not found: #{gemspec}" terminate_interaction 1 end end end