<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ruby Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 28 Jul 2020 14:29:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Ruby on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-ruby-ubuntu-20-04-debian-10/</link>
					<comments>https://www.osradar.com/install-ruby-ubuntu-20-04-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 28 Jul 2020 22:23:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Ruby]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=19791</guid>

					<description><![CDATA[<p>Ruby is one of those programming languages that may be a little underestimated. However, it is a robust, multipurpose, open-source language that stands out for its efficiency in coding applications. So, in this post, you will learn how to install Ruby on Ubuntu 20.04 / Debian 10. According to the project’s own website, RVM (Ruby [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ruby-ubuntu-20-04-debian-10/">How to install Ruby on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ruby is one of those programming languages that may be a little underestimated. However, it is a robust, multipurpose, open-source language that stands out for its efficiency in coding applications. So, in this post, you will learn how to install Ruby on Ubuntu 20.04 / Debian 10.</p>
<p>According to the project’s own website, <a href="https://rvm.io/" target="_blank" rel="noopener noreferrer">RVM</a> (Ruby version manager), RVM is a command-line tool that allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems. In short, with this tool, you can easily install different versions of Ruby on any system.</p>
<p>By using RVM, you have the main advantage of being able to install the latest stable version of the language. As mentioned earlier, we can install different versions of Ruby.</p>
<h2 class="western">Install Ruby on Ubuntu 20.04 / Debian 10</h2>
<p>So the first thing we have to do is open a terminal and install some necessary packages before starting the installation.</p>
<pre>:~$ sudo apt install gnupg curl</pre>
<p>As you can see, these packages include <a href="https://www.osradar.com/how-to-use-curl-command-linux/" target="_blank" rel="noopener noreferrer">curl</a> which will be in charge of downloading RVM.</p>
<p>To do this, run this command which will download RVM and then run it.</p>
<pre>:~$ curl -sSL https://get.rvm.io | bash</pre>
<figure id="attachment_20273" aria-describedby="caption-attachment-20273" style="width: 1064px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-20273 size-full" src="https://www.osradar.com/wp-content/uploads/2020/04/1-27.png" alt="1.- Getting RVM on Ubuntu 20.04 / Debian 10" width="1064" height="303" srcset="https://www.osradar.com/wp-content/uploads/2020/04/1-27.png 1064w, https://www.osradar.com/wp-content/uploads/2020/04/1-27-300x85.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/1-27-1024x292.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/1-27-768x219.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/1-27-696x198.png 696w" sizes="(max-width: 1064px) 100vw, 1064px" /><figcaption id="caption-attachment-20273" class="wp-caption-text">1.- Getting RVM on Ubuntu 20.04 / Debian 10</figcaption></figure>
<p>Then make RVM available as a command by refreshing the user profile.</p>
<pre>:~$ source /home/angelo/.rvm/scripts/rvm</pre>
<p>To prove that everything went well, just show the version of RVM installed.</p>
<pre>:~$ rvm -v
rvm 1.29.10-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]</pre>
<figure id="attachment_20274" aria-describedby="caption-attachment-20274" style="width: 841px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20274" src="https://www.osradar.com/wp-content/uploads/2020/05/2-8.png" alt="2.- RVM installed" width="841" height="110" srcset="https://www.osradar.com/wp-content/uploads/2020/05/2-8.png 841w, https://www.osradar.com/wp-content/uploads/2020/05/2-8-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/2-8-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/2-8-696x91.png 696w" sizes="(max-width: 841px) 100vw, 841px" /><figcaption id="caption-attachment-20274" class="wp-caption-text">2.- RVM installed</figcaption></figure>
<p>Now we can show you all the versions of Ruby available for installation.</p>
<pre>:~$ rvm list known</pre>
<figure id="attachment_20275" aria-describedby="caption-attachment-20275" style="width: 1142px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-20275 size-full" src="https://www.osradar.com/wp-content/uploads/2020/05/3-7.png" alt="3- Using RVM on Ubuntu / Debian " width="1142" height="692" srcset="https://www.osradar.com/wp-content/uploads/2020/05/3-7.png 1142w, https://www.osradar.com/wp-content/uploads/2020/05/3-7-300x182.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/3-7-1024x620.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/3-7-768x465.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/3-7-696x422.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/3-7-1068x647.png 1068w" sizes="(max-width: 1142px) 100vw, 1142px" /><figcaption id="caption-attachment-20275" class="wp-caption-text">3- Using RVM on Ubuntu / Debian</figcaption></figure>
<p>As you can see, there are several. However, at the time of writing this post, the last available stable version is 2.7.1 so we&#8217;ll install it:</p>
<pre>:~$ rvm install ruby-2.7.1</pre>
<figure id="attachment_20276" aria-describedby="caption-attachment-20276" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-20276 size-full" src="https://www.osradar.com/wp-content/uploads/2020/05/4-6.png" alt="4.- Install Ruby on Ubuntu 20.04 / Debian 10" width="1365" height="586" srcset="https://www.osradar.com/wp-content/uploads/2020/05/4-6.png 1365w, https://www.osradar.com/wp-content/uploads/2020/05/4-6-300x129.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/4-6-1024x440.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/4-6-768x330.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/4-6-696x299.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/4-6-1068x458.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-20276" class="wp-caption-text">4.- Install Ruby on Ubuntu 20.04 / Debian 10</figcaption></figure>
<p>RVM can handle several versions of Ruby on one system. So we need to set which one will be the major version.</p>
<pre>:~$ rvm --default use ruby-2.7.1</pre>
<p>Then, display the version of Ruby with the following command:</p>
<pre>:~$ ruby -v</pre>
<p>In this case, Ruby is already installed and ready to start work.</p>
<p>If you ever want to uninstall it, just run the following command:</p>
<pre>:~$ rvm remove ruby-2.7.1</pre>
<p>This completes the whole process. So, enjoy it.</p>
<h2 class="western">Conclusion</h2>
<p>Ruby is a pretty powerful language. It seems to be given little credit, but it is still widely used and large server applications, as well as scripts, are developed with this language.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ruby-ubuntu-20-04-debian-10/">How to install Ruby on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-ruby-ubuntu-20-04-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Easily install ruby on Windows 10 with RubyInstaller</title>
		<link>https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/</link>
					<comments>https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 12 Jan 2020 22:46:39 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[rubyinstaller]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17642</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? In this post, we&#8217;ll talk a little bit about Ruby. This is an interpreted, reflexive and object-oriented programming language created by Japanese programmer Yukihiro &#8220;Matz&#8221; Matsumoto. On the other hand, Ruby is designed for the developer&#8217;s productivity and fun, following the principles of a good User Interface. In addition, it combines Python [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/">Easily install ruby on Windows 10 with RubyInstaller</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey, what&#8217;s up? In this post, we&#8217;ll talk a little bit about Ruby.  This is an interpreted, reflexive and object-oriented programming language created by Japanese programmer Yukihiro &#8220;Matz&#8221; Matsumoto. On the other hand, Ruby is designed for the developer&#8217;s productivity and fun, following the principles of a good User Interface. In addition, it combines Python and Perl inspired syntax with Smalltalk-like object-oriented programming features. It is a general-purpose language, meaning that with Ruby you can develop all kinds of different applications. Also, it is an interpreted language, that is, it is not compiled. On the other hand, it is high-level, dynamic and flexible. Finally, it is a multiplatform, free and open source. All these features, making it very interesting to use. So, let&#8217;s see how to install Ruby on Windows 10.</p>



<h2>Downloading RubyInstaller</h2>



<p>As mentioned in the title, we&#8217;ll be using RubyInstaller to install Ruby on Windows 10. In the first place, go to the RubyInstaller page. In the <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://rubyinstaller.org/downloads/" target="_blank">download</a> section, please choose the version corresponding to your computer&#8217;s architecture. At the time of writing this post, the most recent version is 2.6.5.-1. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby.jpg" alt="The download section of the RubyInstaller website" class="wp-image-17643" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The download section of the RubyInstaller website</figcaption></figure>



<p>Once the installer is downloaded, simply run it to start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby2.jpg" alt="Accept the license" class="wp-image-17644" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby2.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby2-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby2-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Accept the license</figcaption></figure>



<p>The following box shows various configuration options. It&#8217;s a good idea to check all of them since this adds Ruby to the PATH, as well as associates the .rb and .rbw files with the Ruby installation. It is also possible to choose UTF-8 as the external encoding parameter.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby3.jpg" alt="Set Ruby installation options" class="wp-image-17646" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby3.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby3-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby3-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Set Ruby installation options</figcaption></figure>



<p>However, some gems or packages require compiling in C, so select the option to install MSYS2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby4.jpg" alt="Install MSYS2 development toolchain." class="wp-image-17648" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby4.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby4-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby4-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Install MSYS2 development toolchain.</figcaption></figure>



<p>Once all the preparations have been made, the wizard will start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby5.jpg" alt="The wizard running the Ruby installation" class="wp-image-17650" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby5.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby5-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby5-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>The wizard running the Ruby installation</figcaption></figure>



<p>Wait a few seconds while the assistant does his job. Finally, select the option to run the ridk install. This will install the MSYS2 and the development toolchain.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby6.jpg" alt="Complete the installation and install MSYS2" class="wp-image-17651" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby6.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby6-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby6-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Complete the installation and install MSYS2</figcaption></figure>



<p>A new window will be displayed immediately to continue the installation. Please leave everything by default to execute a full installation. Press enter to start the process.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="280" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby7.jpg" alt="Start the installation of MSYS2" class="wp-image-17652" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby7.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby7-300x82.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby7-768x210.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby7-696x190.jpg 696w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Start the installation of MSYS2</figcaption></figure>



<p>After a few minutes, the word success will appear in the window. This means that the installation was completed. Please close the window.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby8.jpg" alt="MSYS2 installation successfully completed." class="wp-image-17653" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby8-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby8-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/ruby8-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/ruby8-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>MSYS2 installation successfully completed.</figcaption></figure>



<h2>Runs the interactive mode in Ruby</h2>



<p>To check the performance of the Ruby interpreter, simply open a CMD and run the following command:</p>



<pre class="wp-block-preformatted">irb</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby10.jpg" alt="Starting Ruby's interactive mode." class="wp-image-17655" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-300x150.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-768x384.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-696x348.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-840x420.jpg 840w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Starting Ruby&#8217;s interactive mode.</figcaption></figure>



<p>To exit, simply type the following command:</p>



<pre class="wp-block-preformatted">exit</pre>



<p>Ultimately we have seen how to install Ruby on Windows 10. From now on you can use this powerful programming language. Before I say goodbye, I invite you to check out our post about <a href="https://www.osradar.com/how-to-install-django-on-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="Django (opens in a new tab)">Django</a> on Windows 10.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/">Easily install ruby on Windows 10 with RubyInstaller</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Simply set up a web server with EasyPHP Devserver</title>
		<link>https://www.osradar.com/simply-set-up-a-web-server-with-easyphp-devserver/</link>
					<comments>https://www.osradar.com/simply-set-up-a-web-server-with-easyphp-devserver/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 07 Dec 2019 22:58:52 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[easyphp devserver]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[pithon]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Webservers]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16326</guid>

					<description><![CDATA[<p>A web server stores all the files of a web page (text, image, video, etc.) and shows them to customers via browsers. It uses the HTTP (Hypertext Transfer Protocol) protocol. Additionally, every developer must have a local environment to be able to quickly test and change their projects. A web server allows us to make [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/simply-set-up-a-web-server-with-easyphp-devserver/">Simply set up a web server with EasyPHP Devserver</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>A web server stores all the files of a web page (text, image, video, etc.) and shows them to customers via browsers. It uses the HTTP (Hypertext Transfer Protocol) protocol. Additionally, every developer must have a local environment to be able to quickly test and change their projects. A web server allows us to make the necessary changes and tests to our pages and web applications. Consequently, having the ability to set up a web server has its advantages. However, this process is not within the reach of anyone as it involves knowledge of programming and source code work. So in this post, we are going to see how to simply set up a web server with EasyPHP Devserver.</p>



<h2>Prerequisites</h2>



<p>On the program page, it is indicated that it is necessary to have installed Visual C++ Redistribuable for Visual Studio 2015 x86 or x64. In theory, it would only be enough to have this version installed for the server to flow correctly. However, owners of 64-bit computers require both versions of the package. Now, after trying to run the server, the system dropped an error with the msvcr110.dll library. Well, the solution to this problem is to install all versions of Visual C++ published to date today. To simplify this task I give you a <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="http://wampserver.aviatechno.net/" target="_blank">link</a> to download all packages compressed into a single file. Just scroll down and select All VC Redistributable Packages (x86_x64) (32 &amp; 64bits).</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php10.jpg" alt="Download all packages" class="wp-image-16354" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php10-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php10-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php10-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php10-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php10-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download all packages</figcaption></figure>



<p>After decompressing, install all packages one by one.</p>



<h2>Downloading EasyPHP Devserver</h2>



<p>This is a package that combines the Apache 2.4.25 server, the MySQL 5.7.17 database, and the PHP 7.1.3 programming language. It also includes phpMyAdmin and Xdebug. The first thing we have to do is to go to the official website of the program and download the latest version:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php.jpg" alt="Download Devserver" class="wp-image-16356" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download Devserver</figcaption></figure>



<p>Once you have downloaded the file, double-click on it to start the installation. Select the installation language</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="300" height="156" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php2.jpg" alt="Select the installation language" class="wp-image-16357"/><figcaption> Select the installation language </figcaption></figure>



<p>Then select the installation directory of the program:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php3.jpg" alt="Select the installation directory" class="wp-image-16360" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php3.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/php3-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Select the installation directory</figcaption></figure>



<p>The wizard then offers to create a desktop shortcut.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php4-1.jpg" alt="Create a desktop shortcut" class="wp-image-16363" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php4-1.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/php4-1-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Create a desktop shortcut</figcaption></figure>



<p>After the previous settings have been made, the program will begin to install.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php5-1.jpg" alt="Installation begins" class="wp-image-16365" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php5-1.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/php5-1-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Installation begins</figcaption></figure>



<p>The wizard will start the installation process.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php6.jpg" alt="EasyPHP Devserver running installation" class="wp-image-16366" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php6.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/php6-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>EasyPHP Devserver running installation</figcaption></figure>



<p>After a few minutes, the program will complete the installation. It then executes the program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php7.jpg" alt="Launch the program" class="wp-image-16368" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php7.jpg 499w, https://www.osradar.com/wp-content/uploads/2019/12/php7-300x233.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Launch the program</figcaption></figure>



<h2>Configuring the server</h2>



<p>Once the installation is complete, please place the program icon in the taskbar. Right-click on it and select the Open Dashboard option to configure it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="186" height="212" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php8.jpg" alt="Launch the dashboard" class="wp-image-16370"/><figcaption>Launch the dashboard</figcaption></figure>



<p>Immediately a new tab will open in the browser with the initial settings of the program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php11.jpg" alt="EasyPHP Devserver Dashboard" class="wp-image-16374" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php11.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php11-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php11-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php11-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php11-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php11-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>EasyPHP Devserver Dashboard</figcaption></figure>



<p>As you can see, there are two buttons relating to the http server and the database server. By default, they are stopped. So to start them, just click on both <strong>start</strong> buttons. After doing this, you will see both servers running, the modules being used and the listening ports.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php12.jpg" alt="Servers running" class="wp-image-16379" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php12.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php12-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php12-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php12-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php12-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php12-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Servers running</figcaption></figure>



<h2> Testing the server </h2>



<p>When you click on the sprocket under HTTP server, you enter the server configuration. Once there, click on Server URL and you will be redirected to the server address.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php13.jpg" alt="From the HTTP configuration you can enter the URL of the server." class="wp-image-16393" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php13.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php13-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php13-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php13-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php13-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php13-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>From the HTTP configuration, you can enter the URL of the server.</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php14.jpg" alt="Server URL" class="wp-image-16395" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php14.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php14-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php14-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php14-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php14-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php14-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Server URL</figcaption></figure>



<p>From the server configuration, you can also see that the path to save our web pages is as follows: <strong>C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\</strong>. To check that everything is working correctly, please edit the file phpinfo.php with your preferred text editor.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="724" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php15.jpg" alt="Edit the file phpinfo.php" class="wp-image-16399" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php15.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php15-300x212.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php15-768x543.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php15-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php15-696x492.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php15-594x420.jpg 594w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Edit the file phpinfo.php</figcaption></figure>



<p>Once the file is open, please enter the following code:</p>



<pre class="wp-block-code"><code>&lt;html>
&lt;body>
	&lt;h1>Osradar &lt;/h1>
	&lt;p>Welcome to Osradar&lt;/p>
	&lt;/body>
	&lt;/html></code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php16.jpg" alt="Modifying the file phpinfo.php" class="wp-image-16401" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php16.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php16-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php16-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php16-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php16-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php16-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Modifying the file phpinfo.php</figcaption></figure>



<p>Then reload the server URL and you will see the next result:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php17.jpg" alt="URL of the server showing the newly edited page." class="wp-image-16403" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php17.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php17-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php17-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php17-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php17-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php17-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>URL of the server showing the newly edited page.</figcaption></figure>



<p>By right-clicking on the program icon, you will see some interesting options. Such as to stop and restart the servers, check the ports or simply exit the program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="376" height="194" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php18.jpg" alt="Program icon options" class="wp-image-16404" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php18.jpg 376w, https://www.osradar.com/wp-content/uploads/2019/12/php18-300x155.jpg 300w" sizes="(max-width: 376px) 100vw, 376px" /><figcaption>Program icon options</figcaption></figure>



<p>This program can be used in a portable way. Additionally, each time you want to use it, just click on the program icon. Also, to uninstall it, you just delete the installation folders. </p>



<h2>Conclusion</h2>



<p>Finally, we have seen how to simply set up a web server with EasyPHP DevServer. This tool supports several programming languages like PHP, Python, Ruby, Perl. Also, running MySQL as a database manager. So it is a very useful tool for personal development environments. This is all for now before I go I invite you to check our post on <a href="https://www.osradar.com/how-to-install-node-js-on-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="Node.js (opens in a new tab)">Node.js</a> in Windows 10</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/simply-set-up-a-web-server-with-easyphp-devserver/">Simply set up a web server with EasyPHP Devserver</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/simply-set-up-a-web-server-with-easyphp-devserver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Ruby on Rails on Debian 10 Buster?</title>
		<link>https://www.osradar.com/install-ruby-on-rails-debian-10-buster/</link>
					<comments>https://www.osradar.com/install-ruby-on-rails-debian-10-buster/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 19 Aug 2019 23:11:31 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13063</guid>

					<description><![CDATA[<p>Ruby is one of those programming languages that may be a little underestimated. However, it is a robust, multipurpose, open-source language that stands out for its efficiency in coding applications. Part of its popularity lies in the Ruby on Rails framework with which professional web applications can be made with relative ease. So, in this [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ruby-on-rails-debian-10-buster/">How to install Ruby on Rails on Debian 10 Buster?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ruby is one of those programming languages that may be a little underestimated. However, it is a robust, multipurpose, open-source language that stands out for its efficiency in coding applications. Part of its popularity lies in the Ruby on Rails framework with which professional web applications can be made with relative ease. So, in this post, you will learn how to install Ruby on Rails on Debian 10.</p>
<h2>Ruby on Rails makes Ruby more popular</h2>
<p>The truth is that Ruby is still widely used today, but when compared to <a href="https://www.osaradar.com/tag/python/" rel="noopener noreferrer">Python</a>, <a href="https://www.osradar.com/tag/php/" rel="noopener noreferrer">PHP</a> or <a href="https://www.osradar.com/tag/java/" rel="noopener noreferrer">Java</a> is far behind. So it is no wonder it is not so easy to learn.</p>
<p>However, thanks to the efficiency of Ruby on Rails, many people have turned their eyes back to this language.<a href="https://rubyonrails.org/" rel="noopener noreferrer"> Ruby on Rails</a> is a fairly robust framework for creating web applications.</p>
<p>Some of the highlights of Ruby on Rails are as follows:</p>
<ul>
<li>It uses many <strong>configuration conventions</strong>. This makes the framework, once installed, ready to work.</li>
<li>In Rails, there are <strong>several ways to do a certain thing</strong>. That is, it makes collaboration easier and the code easier to understand.</li>
<li>With Ruby on Rails, you&#8217;ll have a framework that uses the <strong>DRY</strong> (Don&#8217;t Repeat Yourself) principle. With this, duplicity is eliminated and it makes it very agile.</li>
<li><strong>Open Source</strong>, so licensing should not be a problem for you.</li>
</ul>
<p>If we add a robust and stable operating system like Debian to Ruby on Rails, then we have a great combination. So, let us start.</p>
<h2>Install Ruby on Rails on Debian 10</h2>
<p>Now we can start installing Ruby on Rails on Debian 10. The best way to do this is manually to get the latest stable version available. This way we will be able to take better advantage of its features.</p>
<p>First, start a new terminal session and run the following commands:</p>
<pre>:~$ sudo apt install build-essential curl nodejs</pre>
<p><figure id="attachment_13065" aria-describedby="caption-attachment-13065" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13065" src="https://www.osradar.com/wp-content/uploads/2019/08/1-11.jpeg" alt="1.- Install some required packages" width="1366" height="402" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-11.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/1-11-300x88.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-11-768x226.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-11-1024x301.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-11-696x205.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-11-1068x314.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13065" class="wp-caption-text">1.- Install some required packages</figcaption></figure></p>
<p>Also install the following packages:</p>
<pre>:~$ sudo apt install gawk autoconf automake bison libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libtool libyaml-dev pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev</pre>
<p>In case you do not have sudo enabled, I recommend you read our post about it.</p>
<p><a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" rel="noopener noreferrer">How to enable sudo on Debian 10 Buster?</a></p>
<p>Now, you need to download the GPG key to install RVM (Ruby Version Manager) and then install Ruby.</p>
<pre class="">:~$ curl -sSL https://rvm.io/mpapis.asc | sudo gpg --import -
:~$ curl -sSL https://rvm.io/pkuczynski.asc | sudo gpg --import -</pre>
<p>Then, download the RVM script.</p>
<pre class="">:~$ curl -sSL https://get.rvm.io | sudo bash -s stable --ruby</pre>
<p><figure id="attachment_13066" aria-describedby="caption-attachment-13066" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-13066 size-full" src="https://www.osradar.com/wp-content/uploads/2019/08/2-10.jpeg" alt="2.- Installing RVM on Debian 10" width="1366" height="705" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-10.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/2-10-300x155.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-10-768x396.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-10-1024x528.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-10-696x359.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-10-1068x551.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/2-10-814x420.jpeg 814w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13066" class="wp-caption-text">2.- Installing RVM on Debian 10</figcaption></figure></p>
<p>After that, refresh the bash profile.</p>
<pre class="">:~$ source /etc/profile.d/rvm.sh</pre>
<p>Now, check the version installed.</p>
<pre>:~$ ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]</pre>
<p>Now it is your turn to install Ruby on Rails. At the time of writing this post, the latest stable version is 5.2.3. So to install it, just use this command as root:</p>
<pre class="">:~$ su
:~# gem install rails -v 5.2.3</pre>
<p><figure id="attachment_13067" aria-describedby="caption-attachment-13067" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13067" src="https://www.osradar.com/wp-content/uploads/2019/08/3-11.jpeg" alt="3.- Install Ruby on Rails on Debian 10" width="1366" height="708" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-11.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-11-300x155.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-11-768x398.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-11-1024x531.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-11-696x361.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-11-1068x554.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-11-810x420.jpeg 810w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13067" class="wp-caption-text">3.- Install Ruby on Rails on Debian 10</figcaption></figure></p>
<p>Now, we can start a new project.</p>
<h2>Start a new Ruby on Rails project on Debian 10</h2>
<p>Now we&#8217;re going to create a new project for Ruby on Rails. To do this, create a folder with the name of the project and access it. Of course, choose the path and the name.</p>
<pre>:~# exit
:~$ mkdir /home/angelo/example
:~$ cd /home/angelo/example</pre>
<p>So, create the project.</p>
<pre class="">:~# rails new example</pre>
<p><figure id="attachment_13068" aria-describedby="caption-attachment-13068" style="width: 1064px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13068" src="https://www.osradar.com/wp-content/uploads/2019/08/4-9.jpeg" alt="4.- Configuring Ruby on Rails on Debian 10" width="1064" height="709" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-9.jpeg 1064w, https://www.osradar.com/wp-content/uploads/2019/08/4-9-300x200.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-9-768x512.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-9-1024x682.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/4-9-696x464.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/4-9-630x420.jpeg 630w" sizes="(max-width: 1064px) 100vw, 1064px" /><figcaption id="caption-attachment-13068" class="wp-caption-text">4.- Configuring Ruby on Rails on Debian 10</figcaption></figure></p>
<p><em>Note: If you can not use rails command. Just log out and log in again.</em></p>
<p>Now it is necessary to serve the project. For that it is enough to use this command:</p>
<pre class="">:~# cd example
:~# rails s</pre>
<p><figure id="attachment_13069" aria-describedby="caption-attachment-13069" style="width: 729px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13069" src="https://www.osradar.com/wp-content/uploads/2019/08/5-4.jpeg" alt="5.- Serving the new project" width="729" height="281" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-4.jpeg 729w, https://www.osradar.com/wp-content/uploads/2019/08/5-4-300x116.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/5-4-696x268.jpeg 696w" sizes="(max-width: 729px) 100vw, 729px" /><figcaption id="caption-attachment-13069" class="wp-caption-text">5.- Serving the new project</figcaption></figure></p>
<p><em>Note: you can run <code>bundle install</code> command to install all gem missed. After that, run <code>rails s</code> command again.</em></p>
<p>Also, you can specify an IP address and port.</p>
<pre>:~# rails server --binding [Ip_address] --port [Port]</pre>
<p>Finally, open your web browser and go to <code>http://SERVER-IP:3000</code> and you will see this.</p>
<p><figure id="attachment_13070" aria-describedby="caption-attachment-13070" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13070" src="https://www.osradar.com/wp-content/uploads/2019/08/6-3.png" alt="6.- Ruby on Rails working on Debian 10" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/6-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13070" class="wp-caption-text">6.- Ruby on Rails working on Debian 10</figcaption></figure></p>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>Thanks to Ruby on Rails you can create great web applications for the market. All this, thanks to the potential of Ruby as a language and the structure of this framework. Using it with Debian 10 as a system is a guarantee of success.</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ruby-on-rails-debian-10-buster/">How to install Ruby on Rails on Debian 10 Buster?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-ruby-on-rails-debian-10-buster/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install JetBrains RubyMine on Linux</title>
		<link>https://www.osradar.com/install-jetbrains-rubymine-on-linux/</link>
					<comments>https://www.osradar.com/install-jetbrains-rubymine-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Thu, 10 Jan 2019 18:36:08 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[install rubymine]]></category>
		<category><![CDATA[jetbrains rubymine]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ruby ide]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[ruby on rails ide]]></category>
		<category><![CDATA[rubymine]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9135</guid>

					<description><![CDATA[<p>JetBrains is one of the finest companies out there that’s helping reshape the way we code, the way things work on the cyber world at the root level by providing the programmers with all the powerful, intelligent IDEs on different platforms. RubyMine is the IDE that JetBrains provide for the Ruby programmers. Ruby is an [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jetbrains-rubymine-on-linux/">Install JetBrains RubyMine on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>JetBrains is one of the finest companies out there that’s helping reshape the way we code, the way things work on the cyber world at the root level by providing the programmers with all the powerful, intelligent IDEs on different platforms. RubyMine is the IDE that JetBrains provide for the Ruby programmers.</p>
<p>Ruby is an extremely powerful programming language for the web platform that enables developers to create blazingly fast web services without any problem. It’s being maintained and released as an open-source, free project. There are numerous frameworks, package managers and others out there that make things even more interesting.</p>
<p>If you’re interested in the web, then learning Ruby can be your go-to. Let’s get started by setting up the latest RubyMine from JetBrains on your Linux system right now!</p>
<h1>Setting up Ruby</h1>
<p>Before installing RubyMine, you have to install the Ruby programming language package on your system. Of course, what you’re going to do if your system don’t have the language package?</p>
<p>Run the following command according to your Linux distro –</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre class="">sudo apt update &amp;&amp; sudo apt upgrade -y

sudo apt install ruby-full</pre>
<p><img loading="lazy" class="size-full wp-image-9138 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-1.png" alt="" width="992" height="519" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-1.png 992w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-1-803x420.png 803w" sizes="(max-width: 992px) 100vw, 992px" /></p>
<p><img loading="lazy" class="size-full wp-image-9139 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-2.png" alt="" width="989" height="516" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-2.png 989w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-2-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-2-805x420.png 805w" sizes="(max-width: 989px) 100vw, 989px" /></p>
<ul>
<li>Debian</li>
</ul>
<pre class="">sudo apt-get update &amp;&amp; sudo apt-get upgrade -y

sudo apt-get install ruby-full</pre>
<ul>
<li>Fedora</li>
</ul>
<pre class="">sudo yum install ruby</pre>
<ul>
<li>Arch Linux</li>
</ul>
<pre class="">sudo pacman -Syyuu

sudo pacman -S ruby</pre>
<ul>
<li>Other Linux distros</li>
</ul>
<p>THere are also other ways of installing Ruby programming language support on your system. You can build Ruby from source, or install RVM (Ruby Version Manager). Let’s check out both ways.</p>
<ul>
<li>
<h3>Installing Ruby from source</h3>
</li>
</ul>
<p><a href="https://www.ruby-lang.org/en/downloads/">Download the latest tarball of Ruby</a>.</p>
<p><img loading="lazy" class="size-full wp-image-9140 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3.png" alt="" width="1116" height="584" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3.png 1116w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3-1068x559.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-3-803x420.png 803w" sizes="(max-width: 1116px) 100vw, 1116px" /></p>
<p>Then, extract the downloaded TAR.GZ.</p>
<pre class="">tar -xf ruby-2.6.0.tar.gz</pre>
<p><img loading="lazy" class="size-full wp-image-9141 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-4.png" alt="" width="997" height="133" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-4.png 997w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-4-300x40.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-4-768x102.png 768w" sizes="(max-width: 997px) 100vw, 997px" /></p>
<p>Now, time to build and install the Ruby language.</p>
<pre class="">./configure</pre>
<p><img loading="lazy" class="size-full wp-image-9142 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-5.png" alt="" width="998" height="523" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-5.png 998w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-5-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-5-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-5-801x420.png 801w" sizes="(max-width: 998px) 100vw, 998px" /></p>
<p><img loading="lazy" class="size-full wp-image-9143 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-6.png" alt="" width="992" height="487" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-6.png 992w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-6-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-6-856x420.png 856w" sizes="(max-width: 992px) 100vw, 992px" /></p>
<p><em>Note – you can also add “&#8211;prefix=&lt;custom_dir&gt;” flag for specifying the installation location of the Ruby language.</em></p>
<pre class="">make

sudo make install</pre>
<p><img loading="lazy" class="size-full wp-image-9144 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-7.png" alt="" width="984" height="428" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-7.png 984w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-7-300x130.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-7-768x334.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-7-966x420.png 966w" sizes="(max-width: 984px) 100vw, 984px" /> <img loading="lazy" class="size-full wp-image-9145 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-8.png" alt="" width="990" height="518" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-8.png 990w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-8-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-8-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-8-803x420.png 803w" sizes="(max-width: 990px) 100vw, 990px" /></p>
<p><img loading="lazy" class="size-full wp-image-9146 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-9.png" alt="" width="987" height="519" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-9.png 987w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-9-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-9-768x404.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-9-799x420.png 799w" sizes="(max-width: 987px) 100vw, 987px" /> <img loading="lazy" class="size-full wp-image-9147 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-10.png" alt="" width="997" height="520" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-10.png 997w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-10-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-10-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-10-805x420.png 805w" sizes="(max-width: 997px) 100vw, 997px" /></p>
<ul>
<li>Installing using RVM</li>
</ul>
<p>At first, install the GPG key for RVM –</p>
<pre class="">gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB</pre>
<p>Now, install RVM –</p>
<pre>\curl -sSL https://get.rvm.io | bash -s stable</pre>
<p>Or, you can install the default Ruby and Rails with the following command &#8211;</p>
<pre class="code code-shell-cmd" title="triple click to select command">\curl -sSL https://get.rvm.io | bash -s stable --rails</pre>
<ul>
<li>Installing RubyMine from Snap store</li>
</ul>
<p>The easiest way of installing RubyMine is through the snap. Snap is available on all the major Linux distros and there’s a pretty high chance that your system supports snap as well.</p>
<p>At first, make sure that you have <a href="https://docs.snapcraft.io/installing-snapd/6735">“snad” set in your system</a>. Then, run the following command –</p>
<pre class="">sudo snap install rubymine --classic</pre>
<h1><img loading="lazy" class="size-full wp-image-9148 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-11.png" alt="" width="988" height="123" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-11.png 988w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-11-300x37.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-11-768x96.png 768w" sizes="(max-width: 988px) 100vw, 988px" /></h1>
<h1>Using RubyMine</h1>
<p>Fire up RubyMine –</p>
<p><img loading="lazy" class="size-full wp-image-9149 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-12.png" alt="" width="554" height="222" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-12.png 554w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-12-300x120.png 300w" sizes="(max-width: 554px) 100vw, 554px" /></p>
<p>&nbsp;</p>
<p>Let’s start by completing the installation process. Select not to import settings.</p>
<p>Now, select the UI theme of RubyMine.</p>
<p><img loading="lazy" class="size-full wp-image-9150 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-13.png" alt="" width="826" height="628" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-13.png 826w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-13-300x228.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-13-768x584.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-13-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-13-552x420.png 552w" sizes="(max-width: 826px) 100vw, 826px" /></p>
<p>Choose the keymap scheme you’re comfortable with.</p>
<p><img loading="lazy" class="size-full wp-image-9151 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-14.png" alt="" width="850" height="622" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-14.png 850w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-14-300x220.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-14-768x562.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-14-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-14-574x420.png 574w" sizes="(max-width: 850px) 100vw, 850px" /></p>
<p>Select the default plugins.</p>
<p><img loading="lazy" class="size-full wp-image-9152 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15.png" alt="" width="840" height="627" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15.png 840w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15-300x224.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15-768x573.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-15-563x420.png 563w" sizes="(max-width: 840px) 100vw, 840px" /></p>
<p>Install “Featured plugins” you need.</p>
<p><img loading="lazy" class="size-full wp-image-9153 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16.png" alt="" width="834" height="623" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16.png 834w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16-300x224.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16-768x574.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-16-562x420.png 562w" sizes="(max-width: 834px) 100vw, 834px" /></p>
<p>Let’s “Evaluate for free” RubyMine.</p>
<p><img loading="lazy" class="size-full wp-image-9154 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-17.png" alt="" width="485" height="450" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-17.png 485w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-17-300x278.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-17-453x420.png 453w" sizes="(max-width: 485px) 100vw, 485px" /></p>
<p><img loading="lazy" class="size-full wp-image-9155 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-18.png" alt="" width="693" height="437" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-18.png 693w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-18-300x189.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-18-666x420.png 666w" sizes="(max-width: 693px) 100vw, 693px" /> <img loading="lazy" class="size-full wp-image-9156 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-19.png" alt="" width="703" height="521" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-19.png 703w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-19-300x222.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-19-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-19-567x420.png 567w" sizes="(max-width: 703px) 100vw, 703px" /></p>
<p><img loading="lazy" class="size-full wp-image-9137 aligncenter" src="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-20.png" alt="" width="1032" height="483" srcset="https://www.osradar.com/wp-content/uploads/2019/01/rubymine-20.png 1032w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-20-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-20-768x359.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-20-1024x479.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/rubymine-20-897x420.png 897w" sizes="(max-width: 1032px) 100vw, 1032px" /></p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jetbrains-rubymine-on-linux/">Install JetBrains RubyMine on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-jetbrains-rubymine-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>RubyMine is a fantastic IDE for Ruby</title>
		<link>https://www.osradar.com/rubymine-fantastic-ide-for-ruby/</link>
					<comments>https://www.osradar.com/rubymine-fantastic-ide-for-ruby/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 10 Jan 2019 03:17:52 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[snap]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9099</guid>

					<description><![CDATA[<p>Developing applications is not as easy a task as many people think. In fact, it&#8217;s a complex process that requires time, dedication and a lot of effort on the part of the project team. That&#8217;s why having the right tools can be key to application development. So, today I&#8217;m presenting you with a fantastic IDE [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/rubymine-fantastic-ide-for-ruby/">RubyMine is a fantastic IDE for Ruby</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Developing applications is not as easy a task as many people think. In fact, it&#8217;s a complex process that requires time, dedication and a lot of effort on the part of the project team. That&#8217;s why having the right tools can be key to application development. So, today I&#8217;m presenting you with a fantastic IDE for Ruby. It&#8217;s RubyMine.</p>
<p><a href="https://www.jetbrains.com" rel="noopener">JetBrains</a> brings us in <a href="https://www.jetbrains.com/ruby" rel="noopener">RubyMine</a> perhaps the best <a href="https://www.osradar.com/tag/ide/" rel="noopener">IDE</a> to develop in Ruby. RubyMine has a pretty good design, elegant, sober and functional to start the work.</p>
<p>It has quite modern features such as the possibility to auto-complete the code and the partial search for code, to increase the speed of coding. Of course, it has debugging and code testing tools, as well as support for HTML, CSS, LESS Coffee script, which also makes it ideal for <a href="https://www.osradar.com/how-to-install-ruby-on-rails-on-ubuntu-18-04/" rel="noopener">Ruby on Rails</a>.</p>
<h2>Let&#8217;s install this fantastic IDE for Ruby</h2>
<p>First of all, what you have to do is install Ruby. I think it&#8217;s obvious, however, I remind you to do it. It&#8217;s possible to do it without so many problems with the following command.</p>
<pre class="">:~$ sudo apt install ruby-full</pre>
<p><figure id="attachment_9102" aria-describedby="caption-attachment-9102" style="width: 1364px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9102" src="https://www.osradar.com/wp-content/uploads/2019/01/1-8.png" alt="1.- Install Ruby" width="1364" height="393" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-8.png 1364w, https://www.osradar.com/wp-content/uploads/2019/01/1-8-300x86.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-8-768x221.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-8-1024x295.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-8-1068x308.png 1068w" sizes="(max-width: 1364px) 100vw, 1364px" /><figcaption id="caption-attachment-9102" class="wp-caption-text">1.- Install Ruby</figcaption></figure></p>
<p>Installation on Ubuntu 18.04 and Linux Mint 19 is simple because it is available as a snap package. In other words, the whole installation is reduced to one command.</p>
<pre class="">:~$ sudo snap install rubymine --classic</pre>
<p><figure id="attachment_9103" aria-describedby="caption-attachment-9103" style="width: 815px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9103" src="https://www.osradar.com/wp-content/uploads/2019/01/2-7.png" alt="2.- Install RubyMine" width="815" height="148" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-7.png 815w, https://www.osradar.com/wp-content/uploads/2019/01/2-7-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-7-768x139.png 768w" sizes="(max-width: 815px) 100vw, 815px" /><figcaption id="caption-attachment-9103" class="wp-caption-text">2.- Install RubyMine</figcaption></figure></p>
<p>Next, launch it.</p>
<h2>The first use of RubyMine</h2>
<p>When you first run the application. We will be asked to import some previous configurations. Some of them may come from a previous version. Next, the installer will ask us if we accept the license agreement.</p>
<p><figure id="attachment_9104" aria-describedby="caption-attachment-9104" style="width: 509px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9104" src="https://www.osradar.com/wp-content/uploads/2019/01/3-7.png" alt="3.- Accept the license" width="509" height="395" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-7.png 509w, https://www.osradar.com/wp-content/uploads/2019/01/3-7-300x233.png 300w" sizes="(max-width: 509px) 100vw, 509px" /><figcaption id="caption-attachment-9104" class="wp-caption-text">3.- Accept the license</figcaption></figure></p>
<p>Now you will begin to customize this IDE for Ruby. First, select the UI.</p>
<p><figure id="attachment_9105" aria-describedby="caption-attachment-9105" style="width: 815px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9105" src="https://www.osradar.com/wp-content/uploads/2019/01/4-8.png" alt="4.- Selecting the UI" width="815" height="685" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-8.png 815w, https://www.osradar.com/wp-content/uploads/2019/01/4-8-300x252.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-8-768x645.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-8-500x420.png 500w" sizes="(max-width: 815px) 100vw, 815px" /><figcaption id="caption-attachment-9105" class="wp-caption-text">4.- Selecting the UI</figcaption></figure></p>
<p>Now, you have to set the keymap scheme.</p>
<p><figure id="attachment_9106" aria-describedby="caption-attachment-9106" style="width: 815px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9106" src="https://www.osradar.com/wp-content/uploads/2019/01/5-8.png" alt="ap scheme for RubyMine" width="815" height="685" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-8.png 815w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-300x252.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-768x645.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-500x420.png 500w" sizes="(max-width: 815px) 100vw, 815px" /><figcaption id="caption-attachment-9106" class="wp-caption-text">5.- The keymap scheme for RubyMine</figcaption></figure></p>
<p>Now the next step is to integrate the plugins. Leave it that way by default.</p>
<p><figure id="attachment_9107" aria-describedby="caption-attachment-9107" style="width: 815px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9107" src="https://www.osradar.com/wp-content/uploads/2019/01/6-7.png" alt="6.- The default plugins" width="815" height="685" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-7.png 815w, https://www.osradar.com/wp-content/uploads/2019/01/6-7-300x252.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-7-768x645.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-7-500x420.png 500w" sizes="(max-width: 815px) 100vw, 815px" /><figcaption id="caption-attachment-9107" class="wp-caption-text">6.- The default plugins</figcaption></figure></p>
<p>Now it&#8217;s the turn of the community plugins. You can also install it.</p>
<p><figure id="attachment_9108" aria-describedby="caption-attachment-9108" style="width: 815px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9108" src="https://www.osradar.com/wp-content/uploads/2019/01/7-7.png" alt="7.- Community plugins" width="815" height="685" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-7.png 815w, https://www.osradar.com/wp-content/uploads/2019/01/7-7-300x252.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-7-768x645.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/7-7-500x420.png 500w" sizes="(max-width: 815px) 100vw, 815px" /><figcaption id="caption-attachment-9108" class="wp-caption-text">7.- Community plugins</figcaption></figure></p>
<p>RubyMine is not free so you will be asked to activate the license. However, you can request a trial for 30 days.</p>
<p><figure id="attachment_9109" aria-describedby="caption-attachment-9109" style="width: 449px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9109" src="https://www.osradar.com/wp-content/uploads/2019/01/8-6.png" alt="8.- RubyMine license activation" width="449" height="426" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-6.png 449w, https://www.osradar.com/wp-content/uploads/2019/01/8-6-300x285.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-6-443x420.png 443w" sizes="(max-width: 449px) 100vw, 449px" /><figcaption id="caption-attachment-9109" class="wp-caption-text">8.- RubyMine license activation</figcaption></figure></p>
<p>Then, the application will ask you if you want to send data anonymously, for statistics and possible improvements.</p>
<p><figure id="attachment_9110" aria-describedby="caption-attachment-9110" style="width: 594px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9110" src="https://www.osradar.com/wp-content/uploads/2019/01/9-5.png" alt="9.- Data sharing" width="594" height="282" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-5.png 594w, https://www.osradar.com/wp-content/uploads/2019/01/9-5-300x142.png 300w" sizes="(max-width: 594px) 100vw, 594px" /><figcaption id="caption-attachment-9110" class="wp-caption-text">9.- Data sharing</figcaption></figure></p>
<p>Finally, you can use RubyMine.</p>
<p><figure id="attachment_9111" aria-describedby="caption-attachment-9111" style="width: 672px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9111" src="https://www.osradar.com/wp-content/uploads/2019/01/10-5.png" alt="10.- Now you can use this IDE for Ruby" width="672" height="487" srcset="https://www.osradar.com/wp-content/uploads/2019/01/10-5.png 672w, https://www.osradar.com/wp-content/uploads/2019/01/10-5-300x217.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/10-5-324x235.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/10-5-580x420.png 580w" sizes="(max-width: 672px) 100vw, 672px" /><figcaption id="caption-attachment-9111" class="wp-caption-text">10.- Now you can use this IDE for Ruby</figcaption></figure></p>
<p>Now it is time to create a New project.</p>
<p><figure id="attachment_9116" aria-describedby="caption-attachment-9116" style="width: 672px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9116" src="https://www.osradar.com/wp-content/uploads/2019/01/11-3.png" alt="11.- Creating a new project" width="672" height="487" srcset="https://www.osradar.com/wp-content/uploads/2019/01/11-3.png 672w, https://www.osradar.com/wp-content/uploads/2019/01/11-3-300x217.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/11-3-324x235.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/11-3-580x420.png 580w" sizes="(max-width: 672px) 100vw, 672px" /><figcaption id="caption-attachment-9116" class="wp-caption-text">11.- Creating a new project</figcaption></figure></p>
<p>Obviously, it is convenient to create a project with something related to Ruby, but note that it is possible to start <a href="https://getbootstrap.com/">Bootstrap</a> or <a href="https://foundation.zurb.com/">Foundation</a> projects. I created one of Bootstrap, but create one of whatever you want.</p>
<p><figure id="attachment_9117" aria-describedby="caption-attachment-9117" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-9117" src="https://www.osradar.com/wp-content/uploads/2019/01/12-3.png" alt="12.- RubyMine" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/12-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/12-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/12-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/12-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/12-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/12-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-9117" class="wp-caption-text">12.- RubyMine</figcaption></figure></p>
<p>Now, start to code!! 😀</p>
<h2>Conclusion</h2>
<p>The development of applications needs tools that facilitate the process. One of those tools is IDE&#8217;s that help to make coding fast and efficient.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/rubymine-fantastic-ide-for-ruby/">RubyMine is a fantastic IDE for Ruby</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/rubymine-fantastic-ide-for-ruby/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Ruby on Rails on Debian 9?</title>
		<link>https://www.osradar.com/how-to-ruby-on-rails-debian-9/</link>
					<comments>https://www.osradar.com/how-to-ruby-on-rails-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 19 Dec 2018 02:33:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on rail]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8370</guid>

					<description><![CDATA[<p>Web development is at its best. More and more developers are targeting this area. Even in universities of informatics, it is very common to teach development technologies for the web. In this sense, Ruby, which is a famous and quite popular programming language, has something to contribute too, Ruby on Rails. So, this post is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-ruby-on-rails-debian-9/">How to Ruby on Rails on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Web development is at its best. More and more developers are targeting this area. Even in universities of informatics, it is very common to teach development technologies for the web. In this sense, <a href="https://www.ruby-lang.org" rel="noopener">Ruby</a>, which is a famous and quite popular programming language, has something to contribute too, Ruby on Rails. So, this post is about how to install Ruby on Rails on Debian 9.</p>
<p><a href="https://rubyonrails.org/" rel="noopener">Ruby on Rails</a> is a web application development framework that uses Ruby as its programming language. In addition, it is open source and applications are created from the MVC architecture (Model, View, Controller). In short, not only is it free to use, but you can also help make it better.</p>
<p>So, in this post, you will learn to install Ruby on Rails on Debian 9.</p>
<h1>Two ways to install it</h1>
<p>A great advantage of Ruby on Rails is that it can be installed in two possible ways on Debian 9. As you know Debian 9 is a very safe operating system and for many developers, it is the main option to build their applications.</p>
<p>One of the options is to do it from the <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/" rel="noopener">APT</a> package manager. It&#8217;s quite simple and puts Ruby on Rails at a distance command.</p>
<p>The other option is to do it through RVM (ruby version manager), this way is more complex but we can have access to specific versions.</p>
<h1>1. Using APT</h1>
<p>Actually, this way of installing Ruby on Rails on Debian 9 is quite simple to do. It all boils down to the execution of the following command.</p>
<pre class="">:~$ su
:~# apt install ruby rails</pre>
<p><figure id="attachment_8545" aria-describedby="caption-attachment-8545" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8545" src="https://www.osradar.com/wp-content/uploads/2018/12/1-12.png" alt="1.- Installing Ruby on Rails using APT" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/1-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/1-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/1-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/1-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/1-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/1-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8545" class="wp-caption-text">1.- Installing Ruby on Rails using APT</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<p>This form of installation, has a big problem, you will not have a new version of the framework. Depending on many factors this can be either a problem or a big problem. It&#8217;s simple, but I don&#8217;t recommend it.</p>
<h1>2. Install Ruby on Rails using the RVM</h1>
<p>In contrast, this method is a little more complicated but believe me it&#8217;s better. In the first place, it is necessary to install some dependencies.</p>
<pre class="">:~# apt install build-essential curl nodejs</pre>
<p><figure id="attachment_8546" aria-describedby="caption-attachment-8546" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8546" src="https://www.osradar.com/wp-content/uploads/2018/12/2-12.png" alt="2.- Installing some dependencies" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/2-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/2-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8546" class="wp-caption-text">2.- Installing some dependencies</figcaption></figure></p>
<p>Next, add the RVM GPG keys.</p>
<pre class="">:~# curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -</pre>
<p>Then, use curl to download the RVM installation script. With this script, you will install Ruby.</p>
<pre class="">:~# curl -sSL https://get.rvm.io | bash -s stable --ruby</pre>
<p><img loading="lazy" class="size-full wp-image-8548" src="https://www.osradar.com/wp-content/uploads/2018/12/3-12.png" alt="3.- Installing RVM" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/3-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/3-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/3-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/3-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/3-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/3-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /></p>
<p>3.- Installing RVMThen, make RVM available for the user.</p>
<pre class="">:~# source /etc/profile.d/rvm.sh</pre>
<p>Now, install ruby. So it&#8217;ll take a while.</p>
<pre class="">:~# rvm install ruby</pre>
<p><figure id="attachment_8549" aria-describedby="caption-attachment-8549" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8549" src="https://www.osradar.com/wp-content/uploads/2018/12/4-12.png" alt="4.- Installing Ruby using RVM" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/4-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/4-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/4-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/4-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/4-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/4-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8549" class="wp-caption-text">4.- Installing Ruby using RVM</figcaption></figure></p>
<p>After that, check the Ruby version.</p>
<pre class="">:~# ruby -v</pre>
<p><figure id="attachment_8550" aria-describedby="caption-attachment-8550" style="width: 810px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8550" src="https://www.osradar.com/wp-content/uploads/2018/12/5-12.png" alt="5.- Ruby version" width="810" height="143" srcset="https://www.osradar.com/wp-content/uploads/2018/12/5-12.png 810w, https://www.osradar.com/wp-content/uploads/2018/12/5-12-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/5-12-768x136.png 768w" sizes="(max-width: 810px) 100vw, 810px" /><figcaption id="caption-attachment-8550" class="wp-caption-text">5.- Ruby version</figcaption></figure></p>
<p>Now, install Rails.</p>
<pre class="">:~# gem install rails -v 5.2.1</pre>
<p><figure id="attachment_8551" aria-describedby="caption-attachment-8551" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8551" src="https://www.osradar.com/wp-content/uploads/2018/12/6-12.png" alt="6.- Install Ruby on Rails using RVM" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/6-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/6-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/6-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/6-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/6-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/6-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8551" class="wp-caption-text">6.- Install Ruby on Rails using RVM</figcaption></figure></p>
<p>Using this command we tell gem to install a specific version of Rails. In this case, I chose the latest stable version at the time of writing this post.</p>
<h1>3. Start a new project</h1>
<p>Now you can start a new project. To do this create the folder where the site will be located. It is important that these commands are not executed by the root user, to avoid permission problems.</p>
<pre class="">:~$ mkdir /home/angelo/example
:~$ cd /home/angelo/example
</pre>
<p>Of course, replace the name and the Path of your project.</p>
<p>Now, create the project. Replace example for your project name.</p>
<pre class="">:~$ rails new example</pre>
<p><figure id="attachment_8552" aria-describedby="caption-attachment-8552" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8552" src="https://www.osradar.com/wp-content/uploads/2018/12/7-12.png" alt="7.- Creating a new project" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/7-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/7-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/7-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/7-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/7-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/7-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8552" class="wp-caption-text">7.- Creating a new project</figcaption></figure></p>
<p><em>Note: If you can not use rails command. Just log out and log in again.</em></p>
<p>Then, run the following command to start creating the project as such.</p>
<pre class="">:~$ rails s</pre>
<p><figure id="attachment_8553" aria-describedby="caption-attachment-8553" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8553" src="https://www.osradar.com/wp-content/uploads/2018/12/9-10.png" alt="9.- A Ruby on Rails project running" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/9-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/9-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/9-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/9-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/9-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/9-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8553" class="wp-caption-text">9.- A Ruby on Rails project running</figcaption></figure></p>
<p><em>Note: you can run <code>bundle install</code> command to install all gem missed. After that, run <code>rails s</code> command again.<br />
</em></p>
<p>Finally, open your web browser and go to <code>http://IP_SERVER:3000</code>. You will see something like this.</p>
<p><figure id="attachment_8554" aria-describedby="caption-attachment-8554" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8554" src="https://www.osradar.com/wp-content/uploads/2018/12/10-10.png" alt="10. Ruby on Rails Installed" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/12/10-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/10-10-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/10-10-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/10-10-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/10-10-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/12/10-10-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/10-10-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8554" class="wp-caption-text">10. Ruby on Rails Installed</figcaption></figure></p>
<p>And that&#8217;s all.</p>
<h1>Conclusion</h1>
<p>Ruby on Rails is a widely used framework worldwide. Many of the world&#8217;s most famous companies use this framework to design their web applications. Therefore, it is a good idea to learn something about it. Today you learned how to install it on Debian 9.</p>
<p>Please share this post with your friends</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-ruby-on-rails-debian-9/">How to Ruby on Rails on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-ruby-on-rails-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Ruby on Rails on ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-ruby-on-rails-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-ruby-on-rails-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 06 Sep 2018 11:39:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5499</guid>

					<description><![CDATA[<p>There are numerous specialized framework for web programming, which has PHP as its most popular language. However, today we will talk about one that stands out for its robustness and for being considered by many companies as their solution to create systems for the web: Ruby on Rails. Rails is a framework for web applications [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ruby-on-rails-on-ubuntu-18-04/">How to install Ruby on Rails on ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There are numerous specialized framework for web programming, which has PHP as its most popular language. However, today we will talk about one that stands out for its robustness and for being considered by many companies as their solution to create systems for the web: Ruby on Rails.</p>
<p>Rails is a framework for web applications that runs on the Ruby programming language. This means that you will not use PHP in this framework, so you must first learn the ruby language before using this popular framework.</p>
<p>Following the paradigm of the Model View Controller (MVC) pattern Ruby on Rails tries to combine simplicity with the possibility of developing real-world applications by writing less code than with other frameworks and with a minimum of configuration.</p>
<h2>Let&#8217;s get to work!</h2>
<h3>1.- Upgrading the system</h3>
<p>To install Ruby on Rails on Ubuntu 18.04 we will use RVM (ruby version manager) which will help us to install it more easily. First we will open a terminal emulator and proceed to update the system. Doing so is highly recommended to maintain optimal operating system performance. As root user, write:</p>
<pre class="">:~$ sudo -i
:~# apt update &amp;&amp; apt upgrade</pre>
<p><figure id="attachment_5500" aria-describedby="caption-attachment-5500" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5500" src="https://www.osradar.com/wp-content/uploads/2018/08/1-9.png" alt="1.- Upgrading the operating system" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/1-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/1-9-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/1-9-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/1-9-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/1-9-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/1-9-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/1-9-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5500" class="wp-caption-text">1.- Upgrading the operating system</figcaption></figure></p>
<p>After the process of updating the operating system is finished, we must install node and curl, two tools necessary to continue with the tutorial.</p>
<pre class="">:~# apt install nodejs curl</pre>
<p><figure id="attachment_5501" aria-describedby="caption-attachment-5501" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5501" src="https://www.osradar.com/wp-content/uploads/2018/08/2-9.png" alt="2.- installing required packages" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/2-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/2-9-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/2-9-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/2-9-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/2-9-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/2-9-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/2-9-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5501" class="wp-caption-text">2.- installing required packages</figcaption></figure></p>
<p>Next, import the signature key to verify the download we will do with RVM.</p>
<pre class="">:~# curl -sSL https://rvm.io/mpapis.asc | gpg --import -</pre>
<p><figure id="attachment_5502" aria-describedby="caption-attachment-5502" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5502" src="https://www.osradar.com/wp-content/uploads/2018/08/3-9.png" alt="3.- importing signature key" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/3-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/3-9-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/3-9-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/3-9-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/3-9-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/3-9-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/3-9-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5502" class="wp-caption-text">3.- importing signature key</figcaption></figure></p>
<p>Next we have to install RVM and the stable version of Ruby</p>
<pre class="">:~#  curl -sSL https://get.rvm.io | bash -s stable --ruby</pre>
<p><figure id="attachment_5503" aria-describedby="caption-attachment-5503" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5503" src="https://www.osradar.com/wp-content/uploads/2018/08/4-8.png" alt="4.- Getting Ruby" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/4-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/4-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/4-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/4-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/4-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/4-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/4-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5503" class="wp-caption-text">4.- Getting Ruby</figcaption></figure></p>
<p>We proceed to update the shell to be able to use RVM:</p>
<pre class="">:~# source /usr/local/rvm/scripts/rvm</pre>
<p><figure id="attachment_5504" aria-describedby="caption-attachment-5504" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5504" src="https://www.osradar.com/wp-content/uploads/2018/08/5-9.png" alt="5.- updating the shell" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/5-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/5-9-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/5-9-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/5-9-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/5-9-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/5-9-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/5-9-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5504" class="wp-caption-text">5.- updating the shell</figcaption></figure></p>
<p>And then we&#8217;ll install rails.</p>
<pre class="">:~# gem install rails</pre>
<p><figure id="attachment_5505" aria-describedby="caption-attachment-5505" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5505" src="https://www.osradar.com/wp-content/uploads/2018/08/6-8.png" alt="6.- installing rails gem" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/6-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/6-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/6-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/6-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/6-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/6-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/6-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5505" class="wp-caption-text">6.- installing rails gem</figcaption></figure></p>
<p>Optionally we can choose a specific version of Rails, the syntax would be:</p>
<pre class="">:~# gem install rails -v x.x</pre>
<p>replace x.x with the version of your choice. I repeat, this is optional.</p>
<p>now, We verify the installation done:</p>
<pre class="">:~# ruby -v
:~# rails -v</pre>
<p><figure id="attachment_5506" aria-describedby="caption-attachment-5506" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5506" src="https://www.osradar.com/wp-content/uploads/2018/08/7-9.png" alt="7.- Showing installed version" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/7-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/7-9-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/7-9-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/7-9-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/7-9-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/7-9-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/7-9-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5506" class="wp-caption-text">7.- Showing installed version</figcaption></figure></p>
<p>now to verify the installation, we must create a new project.</p>
<pre class="">:~# cd /home/angelo/
:~# rails new example</pre>
<p><figure id="attachment_5508" aria-describedby="caption-attachment-5508" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5508" src="https://www.osradar.com/wp-content/uploads/2018/08/8-7.png" alt="8.- Creating a new project" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/8-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/8-7-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/8-7-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/8-7-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/8-7-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/8-7-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/8-7-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5508" class="wp-caption-text">8.- Creating a new project</figcaption></figure></p>
<p>We enter the project folder:</p>
<pre class="">:~# cd example</pre>
<p>And finally we must start the rails WEBrick server:</p>
<pre class="">:~# rails s -b 0.0.0.0</pre>
<p>And finally we go to the web browser and access the project created with our ip address through port 3000.</p>
<p>http:IP:3000/</p>
<p><figure id="attachment_5509" aria-describedby="caption-attachment-5509" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5509" src="https://www.osradar.com/wp-content/uploads/2018/08/9-9.png" alt="9.- Installation success" width="1354" height="677" srcset="https://www.osradar.com/wp-content/uploads/2018/08/9-9.png 1354w, https://www.osradar.com/wp-content/uploads/2018/08/9-9-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/9-9-768x384.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/9-9-1024x512.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/9-9-696x348.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/9-9-1068x534.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/9-9-840x420.png 840w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-5509" class="wp-caption-text">9.- Installation success</figcaption></figure></p>
<p>And that&#8217;s all there is to it! The main advantage of installing Ruby on Rails with this method is that we can use specific versions of the framework.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ruby-on-rails-on-ubuntu-18-04/">How to install Ruby on Rails on ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-ruby-on-rails-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
