JewlOfTheLotus

thechangelog:

How would you like to get a full Ruby on Rails stack up on Ubuntu with one command?

Now you can by running Rails Ready. Rails Ready is a setup script that gets Ruby and Rails running on a fresh install of Ubuntu with one command (Tested on Ubuntu server 10.04 LTS (Long-term Support)).

This is a brand new project by Josh Frye that he uses all the time to setup VMs, but there’s always testing to be done and improvements to be made. Fork as needed.

Running the Script

Check out railsready.sh to see everything Rails Ready is doing.

  sudo apt-get -y install curl && curl https://github.com/joshfng/railsready/raw/master/railsready.sh >> railsready.sh && chmod a+x railsready.sh && ./railsready.sh

If you want to watch the magic happen just run tail -f ~/railsready/install.log.

What gets installed?

  • An updated system
  • Ruby 1.9.2p136
  • Imagemagick
  • libs needed to run Rails (sqlite, mysql, etc)
  • Bundler, Passenger, and Rails gems

All you need to do is install NGINX or Apache, run passenger-install-nginx-module or passenger-install-apache-module, upload your app, point your vhost config to your apps public directory and go!

[Source on GitHub] [Comment on Hacker News]

  1. cheap-papers reblogged this from sakisan
  2. sakisan reblogged this from thechangelog
  3. jasontorres reblogged this from thechangelog
  4. technotalk reblogged this from thechangelog
  5. copongcopongd reblogged this from thechangelog
  6. weblogofjames reblogged this from thechangelog
  7. jewlofthelotus reblogged this from thechangelog
  8. mystupidcousin reblogged this from thechangelog
  9. messel reblogged this from thechangelog
  10. thechangelog posted this
Blog comments powered by Disqus