![how to download ruby mine in ubuntu from command line how to download ruby mine in ubuntu from command line](https://i.ytimg.com/vi/UbyPG6O3Q8M/mqdefault.jpg)
- How to download ruby mine in ubuntu from command line install#
- How to download ruby mine in ubuntu from command line windows#
$ emacs config/database.yml # set passwordsĪnd finally it all seems to be working. Ruby 1.9.2p0 ( revision 29036) Īfter creating a new project, I still had a few things to do to make it work: $ rails new myproject -database=mysql bashrc as required and opened a new terminal. Libssl-dev libsqlite3-0 libsqlite3-dev sqlite3 Libreadline5-dev curl git zlib1g zlib1g-dev
How to download ruby mine in ubuntu from command line install#
Then (mostly suggested by the output of the above, but I needed to add libmysqlclient-dev): $ sudo aptitude install build-essential bison openssl libreadline5 Ok, I hesitated to use rvm as it seemed to be aimed at solving problems I didn't intend to have (multiple ruby versions? c'mon, I just want to play with rails.) and installing from source is generally something I want to avoid.Īnyway, I gave in and followed along with $ bash < <( curl ) You can now go to and it should load your Rails application.
![how to download ruby mine in ubuntu from command line how to download ruby mine in ubuntu from command line](https://hanselmanblogcontent.azureedge.net/Windows-Live-Writer/b14ad2eca305_10C49/image_20cf06f1-c9aa-4e3f-8313-009cf240bebc.png)
![how to download ruby mine in ubuntu from command line how to download ruby mine in ubuntu from command line](https://hanselmanblogcontent.azureedge.net/Windows-Live-Writer/b14ad2eca305_10C49/image_c64ba6e8-01e5-4dc0-a6de-685baf46d550.png)
Open c:windowssystem32driversetchosts in Notepad and add the following line: 127.0.0.1 Add the following text to your nf (or extra/nf if it's included in your nf): Īdd to your hosts file. Open nf (c:wampbinapacheApache2.x.nf) and uncomment the following line: LoadModule proxy_module modules/mod_proxy.soįorward your traffic to your Mongrel server. You can now access your Rails application at Integrating with Apache Start your Mongrel service: net start ruby-hello
How to download ruby mine in ubuntu from command line windows#
Install a Windows service for your Rails application: mongrel_rails service::install -N ruby-hello -c c:wampwwwrailshello -p 3001 -e development Install the Mongrel server and Windows Mongrel service, making sure to run the command line as administrator: gem install mongrel and Open the command line and type: gem install railsĬreate your first Rails application by opening the command line from C:wampwwwrails and typing: rails hello Add - c:wampruby to the end of config.yml.Append C:wamprubybin to the Path variable.Use the Windows binary version, not the "one click installer" because it contains MySQL and Apache which we don't need.Īdd Ruby's bin repository in your PATH environment variable: Replace C:wamp in the following text by your own WampServer's install repository. I installed Ruby on Rails alongside WampServer.