Download airbnb_clone/bin/spring from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 507 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/airbnb_clone/bin/spring
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/airbnb_clone/bin/spring
-
curl -L -o spring https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/airbnb_clone/bin/spring
507 Bytes
| #!/usr/bin/env ruby | |
| # This file loads Spring without using Bundler, in order to be fast. | |
| # It gets overwritten when you run the `spring binstub` command. | |
| unless defined?(Spring) | |
| require 'rubygems' | |
| require 'bundler' | |
| lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) | |
| spring = lockfile.specs.detect { |spec| spec.name == 'spring' } | |
| if spring | |
| Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path | |
| gem 'spring', spring.version | |
| require 'spring/binstub' | |
| end | |
| end | |