Git Product home page Git Product logo

installation-scripts's Introduction

Script for OS X

Copy and paste this line in the Terminal and press Enter. The installation will take approximately 30 minutes, so enjoy the text flying on the screen. The installer might request your administrator password. Grabbing a refreshing drink before starting is encouraged!

bash < <(curl -sL https://raw.github.com/railsgirls/installation-scripts/master/rails-install-osx.sh)

Script for Ubuntu

To install Ruby on Rails development environment, copy and paste this line in the Terminal and press Enter. The installation will take quite some time, so enjoy the text flying on the screen. Grabbing a refreshing drink before starting is encouraged!

sudo apt-get install curl
bash <(curl -sL  https://raw.github.com/railsgirls/installation-scripts/master/rails-install-ubuntu.sh)

installation-scripts's People

Contributors

adamniedzielski avatar aknrdureegaesr avatar andreassliwka avatar chr4 avatar emorima avatar ericgpks avatar ericpoe avatar frvade avatar gogvale avatar hone avatar hsbt avatar hunterxx222 avatar joshua5201 avatar katiejots avatar leesharma avatar limdongjin avatar lukaszsagol avatar mitivic avatar mpapis avatar oinak avatar okuramasafumi avatar schneems avatar subhasingh avatar thilo avatar tombruijn avatar vagisha16 avatar vesan avatar wardbenjamin avatar

Stargazers

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

Watchers

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

installation-scripts's Issues

Ubuntu script failing due to invalid link

When executing the Ubuntu script in Ubuntu Mate 15.04 the script fails due to the fact that the following line:

sudo add-apt-repository ppa:chris-lea/node.js

will add an invalid entry under Ubuntu 15.04 and thus running sudo apt-get update will fail.

Furthermore, for new users this may cause confusion as now there is an invalid entry whenever sudo apt-get update is performed that the user may not know how to remove.

As a result, maybe we can add a check to ensure the repository is valid before adding it?

Ubuntu install script - ruby version that is no longer maintained

Hi all,
I just went throught installation process on ubuntu (14.04, 64bit) step by step and this appeared in my log:

Install of ruby-1.9.3-p194 - #complete 
WARNING: Please be aware that you just installed a ruby that is no longer maintained (2014-02-23), for a list of maintained rubies visit:

http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering

Please consider upgrading to ruby-2.1.2 which will have all of the latest security patches.

Best regards,
Tom

rails-install-fedora.sh out of date rvm and ruby

Hello,

I tried this script today and noticed that rvm failed to install because the latest rvm checks for pgp keys.

I also got a warning that the version of ruby specified in the script is no longer supported.

Would you be interested in a pull request that fetches the pgp keys and installs ruby 2.2.1?

Installer stops working when using .bash_profile

Hi,
i tried to use your installer script. but unfortunately an error (?) occured.

this is what i did:

xxx:~$ bash < <(curl -s https://raw.github.com/railsgirls/installation-scripts/master/rails-install-ubuntu.sh)
Updates packages. Asks for your password.
[sudo] password for xxx: 
Get:1 http://extras.ubuntu.com precise Release.gpg [72 B]
Hit http://de.archive.ubuntu.com precise Release.gpg                                                                                   
[...]
Hit http://security.ubuntu.com precise-security/universe Translation-en                                                                
Fetched 1.172 kB in 8s (144 kB/s)                                                                                                      
Reading package lists... Done
Installs packages. Give your password when asked.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
autoconf is already the newest version.
[...]
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installs ImageMagick for image processing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
imagemagick is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installs RVM (Ruby Version Manager) for handling Ruby installation
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    765      0 --:--:-- --:--:-- --:--:--  1572
100 20511  100 20511    0     0  36199      0 --:--:-- --:--:-- --:--:-- 36199
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz

Upgrading the RVM installation in /home/xxx/.rvm/
    RVM PATH line found in /home/xxx/.profile /home/xxx/.bashrc /home/xxx/.bash_profile /home/xxx/.zshrc.
    RVM sourcing line found in /home/xxx/.bash_profile /home/xxx/.zlogin.
Upgrade of RVM in /home/xxx/.rvm/ is complete.

# XY,
#
#   Thank you for using RVM!
#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.

In case of problems: http://rvm.io/help and https://twitter.com/rvm_io

Upgrade Notes:


  * WARNING: You have '~/.profile' file, you might want to load it,
    to do that add the following line to '/home/xxx/.bash_profile':

      source ~/.profile

  * No new notes to display.

xxx:~$

Neither adding the line "source ~/.profile" to .bash_profile nor adding the rvm path to .bash_profile worked.

The result is that the script never reaches https://github.com/railsgirls/installation-scripts/blob/master/rails-install-ubuntu.sh#L18

/CC @Nesquick

Add link to boxen setup scripts?

Hi there! I help organize Rails Girls events in Austin, and I'm also an instructor at a web development training school called MakerSquare. I found myself needing to set up a number of lab and student machines, so I decided to check out Boxen by the good folks at GitHub. I produced this simple Boxen setup script for our students which has proven very useful. It installs:

  • git
  • homebrew
  • rbenv
  • zsh
  • heroku CLI
  • SublimeText 2
  • iTerm2
  • Alfred
  • SizeUp
  • Chrome
  • Firefox
  • postgres
  • Dropbox
  • nodejs
  • redis
  • wget
  • Ruby 2

If any of those are already installed, it detects and skips them (via the magic of Puppet).

Would we like to have something like this for RailsGirls? I know I'll be using it at our next event. If so, I'd be happy to put together a version of the repo on our RailsGirls ATX org page that we could fork into the main RailsGirls org.

Thanks!

E: Unable to locate package libreadline for rails-install-ubuntu.sh

This is the output when the script is run.

vagrant@vagrant-ubuntu-trusty-64:~$ bash < <(curl -sL  https://raw.github.com/railsgirls/installation-scripts/master/rails-install-ubuntu.sh)
Adding PPA for up-to-date Node.js runtime. Give your password when asked.
 Evented I/O for V8 javascript. Node's goal is to provide an easy way to build scalable network programs
 More info: https://launchpad.net/~chris-lea/+archive/ubuntu/node.js
gpg: keyring `/tmp/tmp1jw3u9v8/secring.gpg' created
gpg: keyring `/tmp/tmp1jw3u9v8/pubring.gpg' created
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp1jw3u9v8/trustdb.gpg: trustdb created
gpg: key C7917B12: public key "Launchpad chrislea" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
Updates packages. Asks for your password.
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty-updates InRelease
Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty Release
Get:4 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:5 http://security.ubuntu.com trusty-security/main Sources [92.0 kB]
Ign http://ppa.launchpad.net trusty InRelease
Get:6 http://archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:7 http://security.ubuntu.com trusty-security/universe Sources [29.4 kB]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [328 kB]
Get:9 http://ppa.launchpad.net trusty Release.gpg [316 B]
Get:10 http://ppa.launchpad.net trusty Release [15.1 kB]
Get:11 http://archive.ubuntu.com trusty/universe Sources [6,399 kB]
Get:12 http://security.ubuntu.com trusty-security/universe amd64 Packages [114 kB]
Get:13 http://security.ubuntu.com trusty-security/main Translation-en [179 kB]
Get:14 http://ppa.launchpad.net trusty/main amd64 Packages [756 B]
Get:15 http://security.ubuntu.com trusty-security/universe Translation-en [66.6 kB]
Get:16 http://ppa.launchpad.net trusty/main Translation-en [604 B]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:17 http://archive.ubuntu.com trusty-updates/main Sources [229 kB]
Get:18 http://archive.ubuntu.com trusty-updates/universe Sources [133 kB]
Get:19 http://archive.ubuntu.com trusty-updates/main amd64 Packages [599 kB]
Get:20 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [308 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 9,687 kB in 11s (832 kB/s)
Reading package lists... Done
Installs packages. Give your password when asked.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libreadline

I did a package search on libreadline:

vagrant@vagrant-ubuntu-trusty-64:~$ apt-cache search libreadline
libreadline-dev - GNU readline and history libraries, development files
libreadline-gplv2-dev - GNU readline and history libraries, development files
libreadline5 - GNU readline and history libraries, run-time libraries
libreadline5-dbg - GNU readline and history libraries, debugging libraries
libreadline6 - GNU readline and history libraries, run-time libraries
libreadline6-dbg - GNU readline and history libraries, debugging libraries
libreadline6-dev - GNU readline and history libraries, development files
libruby1.9.1 - Libraries necessary to run Ruby 1.9.1
cupt - alternative front-end for dpkg -- console interface
libreadline-java - GNU readline and BSD editline wrappers for Java
libreadline-java-doc - API docs for readline/editline wrappers for Java

When I tried to install libreadline6, Ubuntu comes back saying that the package is already installed. Please advise. Thank you for all your help!

Ubuntu script does not yet support Cosmic Cuttlefish during node installation

Using Ubuntu 18.10 (aka "Cosmic Cuttlefish")

While running the install script, I get the following error:

## Confirming "cosmic" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dists/cosmic/Release'

## Your distribution, identified as "cosmic", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

As can be seen at the following locations, at this time of this ticket, only Node 10 is supported.

It appears that node 8 ships in the standard Ubuntu repositories, so it is not provided in nodesource.com at this time. No idea about why node 6 isn't available. See: nodesource/distributions#740

As an alternative, node can be installed via snap, which is included with Ubuntu 16.04 and later.

rails-install-fedora might not need to install RVM

Fedora ships with an up-to-date Ruby (currently 2.0.0-p353) and has configured rubygems to install gems into ~/.gem/ for normal users. Unless RVM is explicitly required for other railsgirls guides, it might be possible to skip installing RVM.

rails isn't installed

I am trying the Ubuntu install. Rails isn't being installed. Is the project still being maintained. I can help look into this.

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.