I have a problem when I try to run the application:
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3. Consider using bundle exec.
I read a lot about this error, but I did not find a solution that worked for me
bundle exec rake
Thanks for the advance
Run bundle install --binstubs and you will get the bin directory in the root of your application with all the executables needed for the application.
bundle install --binstubs
Then you need to add this directory to the path and the best place for it is.rvmrc if you use RVM.
[ -d './bin' ] && export PATH=`pwd`/bin:$PATH
or just run it. / bin / {rake | rails | etc} from your application root.
Try the command prefix to start your server using the exec package, i.e.
bundle exec rails server
Or in production (if you use something like Unicorn
bundle exec unicorn [options]