I have a rails app that needs to be put online (anywhere) - I am using a windows machine, I tried to deploy it using Heroku but that was a huge pain. The app only needs to go online so I can show it to someone - It only needs to be up about a week, so setting up a Virtual Linux system on my windows laptop is not a preference for me.
- 5"but that was a huge pain" What exactly went wrong? Heroku is by far and away the easiest way to deploy Rails apps.Matt Gibson– Matt Gibson2015-05-06 15:56:46 +00:00Commented May 6, 2015 at 15:56
- I get the error 'Removing Gemfile.lock because it was generated on Windows.' - After searching I found I had to delete ' PLATFORMS x86-mingw32' - I did that but when I do bundle install, it just re-adds it again. – Mark Shakespeare 27 mins agoMark Shakespeare– Mark Shakespeare2015-05-06 17:27:32 +00:00Commented May 6, 2015 at 17:27
3 Answers
It sounds like you need to follow a specific procedure to get Gemfile.lock to work for Heroku. This answer has some basic instructions: https://stackoverflow.com/a/21488679/693349
However, you'd probably do better to read the full Heroku docs about "Deploying a Ruby Project Generated on Windows": https://devcenter.heroku.com/articles/bundler-windows-gemfile.
Comments
Have you tried Digital Ocean?
https://www.digitalocean.com/features/one-click-apps/ruby-on-rails/
Normally deployment at heroku works like charm, what was the problem?
1 Comment
Gemfile.lock because it was generated on Windows.' - After searching I found I had to delete ' PLATFORMS x86-mingw32' - I did that but when I do bundle install, it just re-adds it again.Try Capistrano gem. Is an especific gem to deploy Ruby on Rails projects and it works perfect!
You have a good tutorial here to configure Capistrano.