Git Product home page Git Product logo

railsready-debian-lenny's Introduction

Quite outdated

Rails Ready for Debian Lenny

Get a full Ruby on Rails stack up very fast on Debian Lenny

UPDATE: it also works for Debian 6.0x Squeeze

This project is inspired by https://github.com/joshfng/railsready/ by Joshua Frye which refers to Ubuntu Server 10.04 LTS. Check it out!

Run this on a fresh Debian Lenny install.

To run

  • wget --no-check-certificate https://github.com/vysogot/railsready-debian-lenny/raw/master/railsready-debian-lenny.sh && bash railsready-debian-lenny.sh
  • If you want to watch the install log run tail -f ~/rails_install.log in a next shell (ALT+ for non-gui)

What this gives you?

In order of being installed:

  • an updated system with necessary packages
  • SQLite3 from lenny-backports
  • imagemagick
  • git-core
  • RVM
  • Ruby 1.9.2-p136 on RVM
  • Configure Ruby for Debian
  • Bundler, Passenger, and Rails gems
  • Apache + Phusion Passenger slightly configured

What you should do by yourself?

  • Create new rails appliaction
  • Configure Apache virtual host that points to it
  • Browse the app :)

Please note: If you are running on a super slow connection your sudo session may timeout and you'll have to enter your password again.

I use this to setup VMs. For any suggestions: [email protected]

railsready-debian-lenny's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

railsready-debian-lenny's Issues

rvm 'package' unrecognized command

Hi,
Had to change line 128 from
"rvm package install zlib openssl >> $log_file 2>&1"
to
"rvm pkg install zlib openssl >> $log_file 2>&1"
for mine to work.
Running on Debian Squeeze.

Problems with backports at Debian Squeeze

Using your script at my Debian 6 system, I had this problem:

W: Failed to fetch http://www.backports.org/debian/dists/squeeze-backports/main/binary-i386/Packages 301 Moved Permanently [IP: 86.59.118.148 80]

That's because when adding "backports" at sources.list (line 97), the squeeze backports should be:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
Obviously the "sudo apt-get -y -V -t lenny-backports" (line 99) should be "sudo apt-get -y -V -t squeeze-backports"

I've tested this change in here and it worked.
I understand that the script is called *-lenny, but at the REAME you points that it works on squeeze...
Wish it helps!

Isn't working

I tried running this today, but I've gotten the following error:

=> Installing RVM the Ruby enVironment Manager http://rvm.beginrescueend.com/rvm/install/

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 412 0 --:--:-- --:--:-- --:--:-- 1121
bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token <' 'ash: line 2:<title>301 Moved Permanently</title>

Still having issues

Hi there, sorry, but I'm still having issues.. It is now getting as far as "Installing packages (zlib, openssl) to configure Ruby (this will take awhile)...", but then just quits out.

After checking the log, it says "ERROR: Unrecognized command line argument: 'package' ( see: 'rvm usage' )"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.