Can't install Ruby on Rails

33 views
Skip to first unread message

Michael

unread,
Apr 18, 2014, 7:36:21 PM4/18/14
to rubyonra...@googlegroups.com
I've been trying to install ruby on rails for the past 4 days. No tutorial has helped. I even decided to switch from Windows to Ubuntu (both 12 and 14) to see if that would help.
Still can't get it installed.

I am going to try to switch to Mac, but I have a bad feeling about it too. It is pretty demoralizing when you try to do this for 4 days straight. I have had very little sleep because
I really wanted to get started.

I asked for help on Reddit. I got several responses but those didn't work either. I searched for help on youtube. That didn't help at all.

I just signed up for a Rails forum. I am starting to think that it might not be possible to install anymore in 2014. Is Ruby on Rails still a thing??

Frederick Cheung

unread,
Apr 19, 2014, 4:36:30 AM4/19/14
to rubyonra...@googlegroups.com

I help beginners get started with rails on a regular basis. I'd say step 1 would be to take a break and have some sleep - tiredness and frustration lead to more mistakes. Then come back here with what isn't working. There's no constructive answer to your problem at the moment other than "yes it does work" or point you at another tutorial.

Fred

Colin Law

unread,
Apr 19, 2014, 5:12:40 AM4/19/14
to rubyonra...@googlegroups.com
RoR is going strong.
It should be no great problem to install, though it can be confusing
if you don't get it right. I recommend using a ruby manger, I use RVM
though I believe others prefer rbenv. If you want to try with rvm
then in a terminal first install curl
sudo apt-get install curl
then
\curl -k -sSL https://get.rvm.io | bash -s stable --rails

That should install all the necessary dependencies, rvm, ruby and rails.

Note that when using rvm never use sudo for installing gems or running
bundle or anything similar.
Have a look at http://rvm.io for more information of using rvm.

Colin

Colin Law

unread,
Apr 19, 2014, 5:24:29 AM4/19/14
to rubyonra...@googlegroups.com
On 19 April 2014 10:12, Colin Law <cla...@gmail.com> wrote:
> On 19 April 2014 00:36, Michael <remnant...@gmail.com> wrote:
>> I've been trying to install ruby on rails for the past 4 days. No tutorial
>> has helped. I even decided to switch from Windows to Ubuntu (both 12 and 14)
>> to see if that would help.
>> Still can't get it installed.
>>
>> I am going to try to switch to Mac, but I have a bad feeling about it too.
>> It is pretty demoralizing when you try to do this for 4 days straight. I
>> have had very little sleep because
>> I really wanted to get started.
>>
>> I asked for help on Reddit. I got several responses but those didn't work
>> either. I searched for help on youtube. That didn't help at all.
>>
>> I just signed up for a Rails forum. I am starting to think that it might not
>> be possible to install anymore in 2014. Is Ruby on Rails still a thing??
>
> RoR is going strong.
> It should be no great problem to install, though it can be confusing
> if you don't get it right. I recommend using a ruby manger, I use RVM
> though I believe others prefer rbenv. If you want to try with rvm
> then in a terminal first install curl
> sudo apt-get install curl
> then
> \curl -k -sSL https://get.rvm.io | bash -s stable --rails

I should have said that is for Ubuntu (I am just checking it on 14.04
to make sure it still works, looking good so far). Don't know about
Mac, though many Rails developers use them, Windows is generally not
recommended for Rails.

Colin

Colin Law

unread,
Apr 19, 2014, 5:45:52 AM4/19/14
to rubyonra...@googlegroups.com
One more thing, after the install above edit the file .bashrc, which
you can do by running
gedit ~/.bashrc
and add a line on the end containing

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

then close any open terminal windows, re-open and you should be good to go.

Colin

>
> Colin

tamouse pontiki

unread,
Apr 19, 2014, 9:16:35 PM4/19/14
to rubyonra...@googlegroups.com
I know how frustrating this part can be. I've been helping out with
some Railsbridge workshops, and the tutorial they have for the
"Installfest" seems pretty solid amongst people with no experience
installing or writing software.

http://docs.railsbridge.org/installfest/
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt7bX1DPxzwiYTUa4ksG4rV%3DZ%2B74aQGzKvtFeQMY7z_Lg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages