Get rid of needless require "rubygems"
This commit is contained in:
parent
19fc2ccb89
commit
10c70a37de
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "sinatra/base"
|
require "sinatra/base"
|
||||||
|
|
||||||
class SampleApp < Sinatra::Default
|
class SampleApp < Sinatra::Default
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "spec"
|
require "spec"
|
||||||
|
|
||||||
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib"
|
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
|
|
||||||
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib"
|
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib"
|
||||||
|
|
||||||
# Add the local gems dir if found within the app root; any dependencies loaded
|
# Add the local gems dir if found within the app root; any dependencies loaded
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "sinatra/base"
|
require "sinatra/base"
|
||||||
|
|
||||||
class RackApp < Sinatra::Base
|
class RackApp < Sinatra::Base
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "test/unit"
|
require "test/unit"
|
||||||
require "rack/test"
|
require "rack/test"
|
||||||
# require "redgreen"
|
# require "redgreen"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "sinatra"
|
require "sinatra"
|
||||||
|
|
||||||
use_in_file_templates!
|
use_in_file_templates!
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "sinatra/base"
|
require "sinatra/base"
|
||||||
|
|
||||||
class MyModularApp < Sinatra::Default
|
class MyModularApp < Sinatra::Default
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "test/unit"
|
require "test/unit"
|
||||||
# require "redgreen"
|
# require "redgreen"
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
require "rubygems"
|
|
||||||
require "test/unit"
|
require "test/unit"
|
||||||
require "spec"
|
require "spec"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user