Also, check to see if you have JRE 1.6.x installed and if not, install it. For me (Ubuntu Intrepid) it's in /usr/lib/xulrunner (1.9 has it's on, different directory). For Ubuntu, open Synaptic and search for xulrunner and install 1.8 version (1.8 version is called just "xulrunner" so you can just: sudo apt-get install xulrunner) Then you need to check where your xulrunner 1.8 is installed. Please note that if you have Firefox 3 , you may have xulrunner 1.9 so you have to install xulrunner 1.8 too. Then you need to check if you have xulrunner 1.8 installed. zip archive and unzippit into say /home/apps/aptana (just an example). First you will need to download the standalone. 3 application starting in development on http : //0.0.0.0:3000 => Call with - d to detach => Ctrl - C to shutdown server INFO WEBrick 1.3. $ rails s => Booting WEBrick => Rails 3.2. Run rails s in Aptana Studio 3 will prompt Installing RDoc documentation for uglifier - 1.2. 4 1 gem installed Installing ri documentation for uglifier - 1.2. 4.gem ( 100 %) Successfully installed uglifier - 1.2. ![]() 5.Ĭ : \>gem install uglifier Fetching : uglifier - 1.2. Installing RDoc documentation for sass - rails - 3.2. Installing RDoc documentation for sass - 3.1. Installing ri documentation for sass - rails - 3.2. 5 2 gems installed Installing ri documentation for sass - 3.1. 18 Successfully installed sass - rails - 3.2. 5.gem ( 100 %) Successfully installed sass - 3.1. Ĭ : \>gem install sass - rails Fetching : sass - 3.1. Installing RDoc documentation for sqlite3 - 1.3. 6 - x86 - mingw32 1 gem installed Installing ri documentation for sqlite3 - 1.3. gem ( 100 %) Successfully installed sqlite3 - 1.3. 2.Ĭ : \>gem install sqlite3 Fetching : sqlite3 - 1.3. Installing RDoc documentation for coffee - rails - 3.2. 2 1 gem installed Installing ri documentation for coffee - rails - 3.2. 2.gem ( 100 %) Successfully installed coffee - rails - 3.2. 2.Ĭ : \>gem install coffee - rails Fetching : coffee - rails - 3.2. Installing RDoc documentation for jquery - rails - 2.0. 2 1 gem installed Installing ri documentation for jquery - rails - 2.0. 2.gem ( 100 %) Successfully installed jquery - rails - 2.0. It reminds us that we want to run the demo job server service and also need to install some plug-ins to support the rails service operation.Ĭ : \>gem install jquery - rails Fetching : jquery - rails - 2.0. Let me start the demo project just ~ /My Documents/ Aptana Studio 3 Workspace / demo $ rails s Could not find gem 'jquery-rails (>= 0) x86-mingw32' in the gems available on this mach [ 0m Run `bundle install` to install missing gems. Address: Select DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe - DevKit-4.5.2 self extracting archive This file is about 20M after the download is complete, unzip it to the c:\dk/location and we install it under CMDĬ : \dk > ruby dk. I can’t open the two addresses he gave me. We will see the lack of json and prompt us to install it. Make sure that `gem install json -v '1.7.3'` succeeds before bundling. ![]() Please update your PATH to include build tools or download the DevKit from '' and follow the instructions at '' An error occured while installing json ( 1.7. 3 ) Gem :: InstallError : The 'json' native gem requires installed build tools. rb create app / mailers create app / models rb create app / helpers / application_helper. ![]() css create app / controllers / application_controller. js create app / assets / stylesheets / application. png create app / assets / javascripts / application. gitignore create Gemfile create app create app / assets / images / rails. In Aptana Studio 3 -> new -> Rails Project we first generate a demo project At the Name, we enter demo and click Finish, and you will see the following ~ /My Documents/ Aptana Studio 3 Workspace / demo $ rails new. But when we run Aptana Studio 3 and build the job. The basic ruby on rails installation is complete. N packages will be downloaded until Rails is installed, after which we look at the version number ![]() Below we install RailsĬ : \>gem install rails This process may be slower. rb # after the implementation we look at the current version rubygemsġ.8.24 So our RubyGems is installed 6. Now let's install RubyGems Unzip the rubygems-1.8.24.zip just downloaded, cd to rubygems-1.8.24 under CMD and execute ruby setup.rbĬ : \>ruby setup. After the Ruby installation is complete, run CMD ruby -v and the version number of the currently installed ruby appears, indicating that ruby is installed Download RubyGems, select ZIP format, and use it to update some supporting filesĤ. Download Ruby Click Windows installer to download and install it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |