mirror of
				https://github.com/rbenv/ruby-build.git
				synced 2025-10-31 17:20:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			749 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			749 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| case $(uname -s) in
 | |
| Linux)
 | |
|   install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-unknown-linux-gnu.tar.gz" artichoke
 | |
|   ;;
 | |
| Darwin)
 | |
|   case $(uname -m) in
 | |
|   arm64)
 | |
|     install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-aarch64-apple-darwin.tar.gz" artichoke
 | |
|     ;;
 | |
|   x86_64)
 | |
|     install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-apple-darwin.tar.gz" artichoke
 | |
|     ;;
 | |
|   *)
 | |
|     colorize 1 "Unsupported architecture: $(uname -m)"
 | |
|     return 1
 | |
|     ;;
 | |
|   esac
 | |
|   ;;
 | |
| *)
 | |
|   colorize 1 "Unsupported operating system: $(uname -s)"
 | |
|   return 1
 | |
|   ;;
 | |
| esac
 |