File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ code into relevant existing executables. The snippet looks like this:
4848
4949```  ruby 
5050begin 
51-   load  File .expand_path(" ../spring"  , __FILE__ )
51+   load  File .expand_path(' ../spring'  , __FILE__ )
5252rescue  LoadError 
5353end 
5454``` 
@@ -295,7 +295,7 @@ settings. Note that `~/.spring.rb` is loaded *before* bundler, but
295295projects without having to be added to the project's Gemfile, require
296296them in your ` ~/.spring.rb ` .
297297
298- ` config/spring_client.rb `  is also loaded before bundler and before a  
298+ ` config/spring_client.rb `  is also loaded before bundler and before a
299299server process is started, it can be used to add new top-level commands.
300300
301301### Application root  
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Binstub < Command
1313      # should cause the "unsprung" version of the command to run. 
1414      LOADER  =  <<CODE 
1515begin 
16-   load File.expand_path(" ../spring" , __FILE__) 
16+   load File.expand_path(' ../spring' , __FILE__) 
1717rescue LoadError 
1818end 
1919CODE 
@@ -33,13 +33,13 @@ class Binstub < Command
3333# It gets overwritten when you run the `spring binstub` command. 
3434
3535unless defined?(Spring) 
36-   require " rubygems"  
37-   require " bundler"  
36+   require ' rubygems'  
37+   require ' bundler'  
3838
3939  if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^    (?:  )*spring \((.*?)\)$.*?^$/m)) 
40-     Gem.paths = { " GEM_PATH"  => [Bundler.bundle_path.to_s, *Gem.path].uniq } 
41-     gem " spring" , match[1] 
42-     require " spring/binstub"  
40+     Gem.paths = { ' GEM_PATH'  => [Bundler.bundle_path.to_s, *Gem.path].uniq } 
41+     gem ' spring' , match[1] 
42+     require ' spring/binstub'  
4343  end 
4444end 
4545CODE 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments