https://github.com/discourse/install-rails
Install Rails
https://github.com/discourse/install-rails
Last synced: 9 months ago
JSON representation
Install Rails
- Host: GitHub
- URL: https://github.com/discourse/install-rails
- Owner: discourse
- Created: 2014-04-12T19:13:45.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2024-12-27T00:45:54.000Z (12 months ago)
- Last Synced: 2025-03-29T03:09:49.746Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 61.5 KB
- Stars: 32
- Watchers: 18
- Forks: 95
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NOTICE: These scripts have been deprecated. Please see the following development installation guides:
- [Install Discourse on macOS](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772)
- [Install Discourse on Ubuntu](https://meta.discourse.org/t/install-discourse-on-ubuntu-or-debian-for-development/14727)
- [Install Discourse on Windows](https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149)
Install Rails
======
Install Rails is a script to set up a Linux or Mac OS X system for Rails development.
Requirements
------------
### Linux
Currently supports Ubuntu, Linux Mint and other Debian based distributions.
### Mac OS X
Run `xcode-select --install` in your terminal and then click "Install".
Install
-------
### Linux
Run the script:
bash <(wget -qO- https://raw.githubusercontent.com/techAPJ/install-rails/master/linux)
### Mac OS X
Run the script:
bash <(curl -s https://raw.githubusercontent.com/techAPJ/install-rails/master/mac)
What it sets up
---------------
* [Git][git_link]
* [rbenv][rbenv_link]
* [ruby-build][ruby_build_link]
* [Ruby][ruby_link] (stable)
* [Rails][rails_link]
* [PostgreSQL][pg_link]
* [SQLite][sqlite_link]
* [Redis][redis_link]
* [Bundler][bundler_link]
* [MailCatcher][mailcatcher_link] (Linux script only)
* [ImageMagick][imagemagick_link]
It should take less than 15 minutes to install (depends on your machine).
Credits
-------
Inspired by [Thoughtbot Laptop](https://github.com/thoughtbot/laptop).
License
-------
Install Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).
[git_link]: http://git-scm.com/
[rbenv_link]: https://github.com/sstephenson/rbenv
[ruby_build_link]: https://github.com/sstephenson/ruby-build
[ruby_link]: https://www.ruby-lang.org/
[rails_link]: http://rubyonrails.org/
[pg_link]: http://www.postgresql.org/
[sqlite_link]: https://sqlite.org/
[redis_link]: http://redis.io/
[bundler_link]: http://bundler.io/
[mailcatcher_link]: http://mailcatcher.me/
[imagemagick_link]: http://www.imagemagick.org/