Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hoe -> .gemspec

  • Loading branch information...
commit 2d142e2439368ad0f3f778b92f6740eeb90141ce 1 parent a6cadb8
@mpapis mpapis authored
View
3  .gitignore
@@ -1,7 +1,4 @@
gems/
-release
-releases/
-*.gemspec
*.gem
site/.sass-cache/
site/tmp/dependencies/
View
32 Manifest.txt
@@ -1,32 +0,0 @@
-History.txt
-Manifest.txt
-LICENCE
-README
-Rakefile
-VERSION
-sha1
-lib/rvm.rb
-lib/rvm/capistrano.rb
-lib/rvm/environment.rb
-lib/rvm/environment/alias.rb
-lib/rvm/environment/cleanup.rb
-lib/rvm/environment/configuration.rb
-lib/rvm/environment/env.rb
-lib/rvm/environment/gemset.rb
-lib/rvm/environment/info.rb
-lib/rvm/environment/list.rb
-lib/rvm/environment/rubies.rb
-lib/rvm/environment/sets.rb
-lib/rvm/environment/tools.rb
-lib/rvm/environment/utility.rb
-lib/rvm/environment/wrapper.rb
-lib/rvm/errors.rb
-lib/rvm/install_command_dumper.rb
-lib/rvm/shell.rb
-lib/rvm/shell/abstract_wrapper.rb
-lib/rvm/shell/calculate_rvm_path.sh
-lib/rvm/shell/result.rb
-lib/rvm/shell/shell_wrapper.sh
-lib/rvm/shell/single_shot_wrapper.rb
-lib/rvm/shell/utility.rb
-lib/rvm/version.rb
View
58 Rakefile
@@ -1,63 +1,5 @@
#!/usr/bin/env ruby
require "rubygems"
-require "hoe"
-
-Hoe.spec "rvm" do
-
- developer "Wayne E. Seguin", "wayneeseguin@gmail.com"
-
- # TODO: package the release with the API .gem
- #gemspec.files = [
- # "README", "sha1", "LICENCE", "rvm.gemspec",
- # # TODO: Go through manifest carefully.
- # # FOR NOW glob
- # Dir::glob("lib/**/**"),
- # Dir::glob("releases/rvm-#{RVM::Version::STRING}.tar.gz*")
- #].flatten
-
- spec_extras[:rdoc_options] = proc do |ary|
- # hoe kinda sucks for this! TODO: submit patch for Hoe#rdoc_options
- ary.push "--inline-source", "--charset=UTF-8"
- end
-
- spec_extras[:post_install_message] = <<-POST_INSTALL_MESSAGE
-#{"*" * 80}
-
- This gem contains only the Ruby libraries for the RVM Ruby API.
-
- In order to install RVM please use one of the methods listed in the
- documentation:
-
- https://rvm.beginrescueend.com/rvm/install/
-
- such as,
-
- bash < <(curl -s -B https://rvm.beginrescueend.com/install/rvm)
-
- followed by placing the sourcing line in your ~/.bash_profile or wherever may
- be appropriate for your setup (example, .zshenv, /etc/profile, ...):
-
- # Load RVM into a shell session *as a function*
- [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
-
- After completing setup please open a new shell to use RVM and be sure to run
- 'rvm notes' to gain a list of dependencies to install before installing the
- first Ruby. You can read more details about this process on the above
- mentioned install page as well as the basics page:
-
- https://rvm.beginrescueend.com/rvm/basics/
-
- Enjoy!
-
- ~Wayne
-
-#{"*" * 80}
- POST_INSTALL_MESSAGE
-end
-
-task :test do
- exec "bash -l -c \"./test/suite\""
-end
#
# VirtualBox Helpers
View
22 binscripts/rvm-install
@@ -1,22 +0,0 @@
-#!/usr/bin/env ruby
-
-#
-# This script extracts and installs the RVM release tarball that is bundled
-# within the gem.
-#
-Dir.chpwd( File.join( ENV["GEM_HOME"], "gems", "rvm-#{RVM::Version::STRING}", "releases" ) ) do
-
- puts "Extracting bundled rvm-#{RVM::Version::STRING}.tar.gz"
-
- %x{tar zxf rvm-#{RVM::Version::STRING}.tar.gz --no-same-owner}
-
- Dir.chpwd( "rvm-#{RVM::Version::STRING}" ) do
-
- puts "Running RVM install script\n"
-
- puts %x{bash ./scripts/install}
-
- end
-
-end
-
View
40 rvm.gemspec
@@ -0,0 +1,40 @@
+#!/usr/bin/env ruby
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = "rvm"
+ s.version = `cat VERSION`
+ s.authors = ["Wayne E. Seguin","Michal Papis"]
+ s.email = ["wayneeseguin@gmail.com","mpapis@gmail.com"]
+ s.homepage = "https://rvm.beginrescueend.com/"
+ s.summary = "RVM is the Ruby enVironment Manager (rvm)"
+ s.description = "RVM is the Ruby enVironment Manager (rvm). It manages Ruby application environments and switching between them."
+
+ s.files = Dir.glob("lib/**/*") + %w(LICENCE README VERSION)
+ s.require_path = 'lib'
+ s.post_install_message = <<-TEXT
+***********************************************************************************
+
+This gem contains only the Ruby libraries for the RVM Ruby API.
+
+In order to install RVM please use one of the methods listed in the documentation:
+
+ https://rvm.beginrescueend.com/rvm/install/
+
+such as,
+
+ bash -s stable < <(curl -s \\
+ https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
+
+You can read more details about this process on the above mentioned install page
+as well as the basics page:
+
+ https://rvm.beginrescueend.com/rvm/basics/
+
+Enjoy!
+
+ ~Wayne
+
+***********************************************************************************
+TEXT
+end
Please sign in to comment.
Something went wrong with that request. Please try again.