Ruby-rails: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
No edit summary
Manpaz (talk | contribs)
Redirected page to Ruby on Rails
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
#Redirect [[Ruby on Rails]]
__NOTOC__
= Installation =
=== Debian ===
'''Installation from tarball sources'''
# Install Ruby
<pre><nowiki>
apt-get install ruby-full build-essential
</nowiki></pre>

# Install Gems
<pre><nowiki>
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar zxvf rubygems-1.3.5.tgz
cd rubygems-1.3.5
ruby setup.rb
ln -s /usr/bin/gem1.8 /usr/bin/gem
</nowiki></pre>

# Install Rails
<pre><nowiki>
gem install rails
</nowiki></pre>


'''Installation from Debian repositories'''
# Install Ruby and Development tools
<pre><nowiki>
apt-get install ruby ruby-dev rubygems build-essential
</nowiki></pre>
# Install Ruby extras
<pre><nowiki>
apt-get install libzlib-ruby rdoc irb
</nowiki></pre>


Other packages:
* If MySQL support is needed, then the proper package to be installed is `libmysql-ruby`
* If Oniguruma is needed, ensure `libonig-dev` package is present on system

=== Fedora ===
Its very easy, `rubygem-rails` must provide all the needed packages and dependencies
<pre><nowiki>
yum install rubygem-rails
</nowiki></pre>

*

Latest revision as of 00:32, 7 June 2015

Redirect to: