railsgirls / installation-scripts Goto Github PK
View Code? Open in Web Editor NEWInstallation scripts to get a computer ready for a Rails Girls workshop
Home Page: http://railsgirls.com
Installation scripts to get a computer ready for a Rails Girls workshop
Home Page: http://railsgirls.com
curl
is not installed on Ubuntu out of the box.rails-install-ubuntu.sh
, which has sudo apt-get --ignore-missing install ... curl
.bash < <(curl ...)
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?
I am trying the Ubuntu install. Rails isn't being installed. Is the project still being maintained. I can help look into this.
I found a bit of trouble with rails-install-ubuntu.sh (ubuntu 13.04). Rails wasn't instaled.
I'm a coach that installed a (dated) Laptop with Gnome Ubuntu, the new xenial version.
That version is not yet supported by http://ppp.launchpad.net/chris-lea/node.js/ubuntu, so the rails-install-ubuntu.sh
does not run.
We should switch from rvm to rbenv and then Rails 4 and a version of Ruby that hasn't been deprecated.
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.
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?
When I tried this install script on CentOS 6.6, it did not successfully install nodejs.
I had to follow these instructions manually after running the install script.
curl --silent --location https://rpm.nodesource.com/setup | bash -
yum -y install nodejs
https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
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
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!
The Chris Lea repository has been deprecated in favour of the one at Node Source. See info:
It will be nice to update the script to reflect this change.
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.
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
Could you please update the scripts with this solution?
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:
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.