Re: [Rails] Help to install rails on Ubuntu 10.10

29 views
Skip to first unread message

Colin Law

unread,
Oct 19, 2012, 6:55:53 AM10/19/12
to rubyonra...@googlegroups.com
On 18 October 2012 20:34, João Gaiewski <joaogil...@gmail.com> wrote:
> Hello everybody,
> I have spent many hours trying to install Ruby On Rails in my Ubuntu 10.10,
> but it's not working...
>
> I have tried this tutorial (http://www.youtube.com/watch?v=NmWYZVUln4E) but
> it is deprecated, because it is too old - from 2010 - and some URLs don't
> exist anymore.
>
> Some information about my current installation:
>
> $ ruby -v
> ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]
>
> $ gem -v
> 1.3.7
>
> Please, someone help me, I thought it would be very easy to install Rails,
> but it is proving to be very difficult.

This works for me in Ubuntu 12.10, though the dependencies may be
slightly different for 10.10, come back if you have any problems.

First install required packages
sudo apt-get install build-essential bison openssl libreadline6
libreadline6-dev curl git-core \
zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf
libc6-dev ncurses-dev automake \
libtool
now install rvm ruby and rails
curl -L https://get.rvm.io | bash -s stable --rails

Run
rvm notes
and follow the instructions about changes to .bashrc

If you want mysql
sudo apt-get install libmysqlclient-dev

for sqlite
sudo apt-get install libsqlite3-dev sqlites

And that should do it.

Colin

>
>
> Thanks, in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-ta...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/qiUU4X4qS6cJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Colin Law

unread,
Oct 19, 2012, 8:12:39 AM10/19/12
to rubyonra...@googlegroups.com
On 19 October 2012 11:55, Colin Law <cla...@googlemail.com> wrote:
> On 18 October 2012 20:34, João Gaiewski <joaogil...@gmail.com> wrote:
>> Hello everybody,
>> I have spent many hours trying to install Ruby On Rails in my Ubuntu 10.10,
>> but it's not working...

I have just realised that you are using Ubuntu 10.10. This is past
its end of life for support so you really should be upgrading to a
later version.

Colin

avinash behera

unread,
Oct 20, 2012, 4:51:31 AM10/20/12
to rubyonra...@googlegroups.com
You can check this link... It will be helpful...


--
Thanks
Reply all
Reply to author
Forward
0 new messages