Want to install Aptana and Twitter Bootstrap

Asked by Rohith Kumar

Hi,

I am using Ubuntu Ultimate Edition,
 ~ $ lsb_release -a
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
Distributor ID: UltimateEdition
Description: Ultimate Edition 3.0
Release: 3.0
Codename: natty

I do have three questions

1. I wanted to install Aptana IDE on my Ubuntu. I want to know the easy procedure to do it?
                       Download ink: http://aptana.com/products/studio3/download

2. I want to test is Rails and ruby are installed in it? Since RoR I couldn't configure using terminal windows, and I want this IDE up and running as well for further work?

3. And I also want to install "Twitter Bootstrap" on this Aptana IDE(Integrated Development Environment) which is to be configured using rails which will be pre-installed in Aptana IDE.
Download link: http://twitter.github.com/bootstrap/
Installation procedure: http://railscasts.com/episodes/328-twitter-bootstrap-basics

Kindly help me in this regards,
Rohit

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu twitter-bootstrap Edit question
Assignee:
No assignee Edit question
Solved by:
Rohith Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#1

I have installed Aptana,

Kindly help me to install Twitter Bootstrap in Aptana.
I need help for my third question. Please

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#2

I get this when I run the command

 $ rails g scaffold product name price:decimal --skip-stylesheets
/home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.2/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See ht
tps://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.2/lib/execjs.rb:5:in `<module:ExecJS>'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.2/lib/execjs.rb:4:in `<top (required)>'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
        from /home/rohitav/Documents/Aptana Studio 3 Workspace/depot/config/application.rb:7:in `<top (required)>'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'

Kindly help to resolve

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#3

I have resolved the issue by my own search. Thanks..

Revision history for this message
Tharun Tej (tharuntej) said :
#4

@Rohit Kumar.

I have the same problem ..
Can you help me how did you solve that issue...
<email address hidden>

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#5

Hi Tej,

First of all, what is the issue you got which you need resolution. Installing Aptana did you face glitch, or RoR installation or BootStrap

Revision history for this message
Tharun Tej (tharuntej) said :
#6

I have taken the pull from git server.

It has already gem twitter bootstrap....

When I try to just run it I am getting the error as cannot load....

Basically its problem with that bootstrap. If I comment it my rails server will start else it will not.

If the question is not clear I will tell you in more detail.

Thanks.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#7

And based on your Operating system.
First which operating system you are having first test for JAVA installed or not to make Aptana running.

First Install Java if your operating system yet to have.
Later you can follow this steps to install RoR
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
and check this video if you stuck up with anything.
During this process you may have to update the gem for node.js. for that after installing as above process.
get the gem,
use as : $sudo apt-get install nodejs
If you are confused you can follow this link too<
http://railsapps.github.com/installing-rails-3-1.html

Test your RoR on Terminal first.

After you get RoR up and running, Download Aptana,
Extract it to your desired location,
Go to menu Editor if you are in Ubuntu, if you are in Fedora you need to get menu editor manually,
In Menu Editor, add new item, and choose the command column by browsing to the location of Aptana Studio3 executable file which you extracted. You can choose the application laucher image as icon.xpm in that extracted folder.

Aptana runs only when Java is installed, since it is developed on Java. And I hope before to reach this process, I mentioned you to install it.

Eurekaa.. You may have got RoR in Aptana running.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#8

What is the error you get!

rails g scaffold product name price:decimal --skip-stylesheets
/home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.2/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See ht
tps://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
        from /home/rohitav/.rvm/gems/ruby-1.9.3-p194/gems/execjs-1.3.2/lib/execjs.rb:5:in `<module:ExecJS>'

If this is the error you are getting you should get node.js javascript

$sudo apt-get install nodejs

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#9

And based on your Operating system.
First which operating system you are having first test for JAVA installed or not to make Aptana running.

First Install Java if your operating system yet to have.
Later you can follow this steps to install RoR
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
and check this video if you stuck up with anything.
During this process you may have to update the gem for node.js. for that after installing as above process.
get the gem,
use as : $sudo apt-get install nodejs
If you are confused you can follow this link too<
http://railsapps.github.com/installing-rails-3-1.html

Test your RoR on Terminal first.

After you get RoR up and running, Download Aptana,
Extract it to your desired location,
Go to menu Editor if you are in Ubuntu, if you are in Fedora you need to get menu editor manually,
In Menu Editor, add new item, and choose the command column by browsing to the location of Aptana Studio3 executable file which you extracted. You can choose the application laucher image as icon.xpm in that extracted folder.

Aptana runs only when Java is installed, since it is developed on Java. And I hope before to reach this process, I mentioned you to install it.

Eurekaa.. You may have got RoR in Aptana running.

--- On Sat, 26/5/12, Tharun Tej <email address hidden> wrote:

From: Tharun Tej <email address hidden>
Subject: Re: [Question #197456]: Want to install Aptana and Twitter Bootstrap
To: <email address hidden>
Date: Saturday, 26 May, 2012, 3:35 AM

Your question #197456 on twitter-bootstrap in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/twitter-bootstrap/+question/197456

Tharun Tej posted a new comment:
@Rohit  Kumar.

I have the same problem ..
Can you help me how did you solve that issue...
<email address hidden>

--
You received this question notification because you asked the question.

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#10

And this is not the forum you should check the issue with RoR, or any programming. You can get it on stackoverflow.com/
This is Ubuntu forum, and RoR related issue will be resoluved their. If their is any issue related with Ubuntu, than I believe you could get a quick response from here

Revision history for this message
Rohith Kumar (rohithkumar-av) said :
#11

You have to add gem twitter bootstrap in Gem file inside the project you created using "rails new projectname"
A gem file will be created inside the project. cd into the project and find the gem file. Open in any editor and paste the gem twitter bootstrap line as mentioned in the github location. Check Railsscreencast to find the video related with this . You will get how to do it.