I have a strange issue, in my project I have 2 branches with the same Gemfile's and routes.rb but when I run `rails routes` inside my docker container in one case I get routes generated properly and in the other, there are no `new_` and `edit_` paths. By any chance, someone else encountered this issue?
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
end
# Extensions
gem 'rack-cors'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.4'
# Use sqlite3 as the database for Active Record
gem 'pg', '~> 0.18'
# Use Puma as the app server
gem 'puma', '~> 3.7'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '~> 3.0'
gem 'therubyracer', '0.11.4'
# # Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# React integration
gem "react_on_rails", "10.0.0"
gem "webpacker", "~> 3.0"
gem "alchemy_cms", "~> 4.0.0"
gem "alchemy-devise", "~> 4.0.0"
gem 'rails-i18n', '~> 5.0.0'
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '~> 2.13'
gem 'selenium-webdriver'
gem 'rspec-rails', '~> 3.6'
gem 'pry'
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'foreman'
end
group :test do
gem 'database_cleaner'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Rails.application.routes.draw do
root 'hello_world#index'
get 'hello_world', to: 'hello_world#index'
resources :customers, only: [:new, :create]
resources :sessions, only: [:new, :create]
resource :sessions, only: [:destroy]
mount Alchemy::Engine => '/'
end