a-chernykh / railsbox

Fast and easy Ruby on Rails virtual machines
https://railsbox.io
MIT License
320 stars 52 forks source link

Install ruby with rvm (--binary flag) #13

Closed h-0-b closed 9 years ago

h-0-b commented 9 years ago

If rvm doesn't have the binary package for selected version of ruby, vagrant provision failed with error.

stderr: Requested binary installation but no rubies are available to download, consider skipping --binary flag.
stdout: Searching for binary rubies, this might take some time.
rdrop commented 9 years ago

I got the same problem.

A solution for now is to set the Ruby version to 2.1.5

h-0-b commented 9 years ago

Or remove --binary flag here: https://github.com/andreychernih/railsbox/blob/master/templates/ansible/roles/ruby/tasks/rvm.yml#L60

rdrop commented 9 years ago

I forked this project and updated it with removed binary flag (2.2.0 installs without error) Added a apt-get update Added the option to use nginx + puma. Upgraded the postgresql version to 9.4 Changed the nodejs to download the lastest version, and install Added the option to include a sidekiq.rb config file that connects to activerecord and redis.rb if they are chosen

I'm going to submit a pull request and in the mean time you can access it here: https://github.com/RDrop/railsbox

rdrop commented 9 years ago

submitted a pull request