```ruby
require_relative 'rails_bootstrap_navbar/version'
require_relative 'rails_bootstrap_navbar/railtie'
```

Load Railtie only when Rails is defined
user
```ruby
require_relative 'rails_bootstrap_navbar/version'
require_relative 'rails_bootstrap_navbar/railtie' if defined?(Rails)
```
assistant