example/students_4/students.rb in lorj-1.0.3 vs example/students_4/students.rb in lorj-1.0.4

- old
+ new

@@ -15,14 +15,13 @@ # See the License for the specific language governing permissions and # limitations under the License. app_path = File.dirname(__FILE__) -if ENV['BYEBUG'] - require 'byebug' - lib_path = File.expand_path(File.join(app_path, '..', '..', 'lib')) - $LOAD_PATH << lib_path -end +lib_path = File.expand_path(File.join(app_path, '..', '..', 'lib')) +$LOAD_PATH << lib_path + +require 'byebug' if ENV['BYEBUG'] require 'lorj' # If you want to see what is happening in the framework, uncomment debug # settings.