Unable to install GEdit Gmate plugin

Bug #1014324 reported by Rohith Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-on-rails
Invalid
Undecided
Unassigned

Bug Description

I am not able to install as mentioned in the code. Kindly help

$ sudo add-apt-repository ppa:ubuntu-on-rails/ppa
You are about to add the following PPA to your system:
Useful stuff for ruby and rails developers

Please, report bugs to: https://bugs.launchpad.net/ubuntu-on-rails
More info: https://launchpad.net/~ubuntu-on-rails/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.kue7ea0wGm --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 87530430F0F11D318C5C657CB6C6326781C0BE11
gpg: requesting key 81C0BE11 from hkp server keyserver.ubuntu.com
gpg: key 81C0BE11: "Launchpad All you need for Ruby/Rails development on Ubuntu" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
rohit@rohit-Aspire-4720Z:~$ sudo add-apt-repository ppa:ubuntu-on-rails/ppa
You are about to add the following PPA to your system:
Useful stuff for ruby and rails developers

Please, report bugs to: https://bugs.launchpad.net/ubuntu-on-rails
More info: https://launchpad.net/~ubuntu-on-rails/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.t7G4a00198 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 87530430F0F11D318C5C657CB6C6326781C0BE11
gpg: requesting key 81C0BE11 from hkp server keyserver.ubuntu.com
gpg: key 81C0BE11: "Launchpad All you need for Ruby/Rails development on Ubuntu" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I am having Gedit3, Ubuntu 12.04

Revision history for this message
Andrey Sitnik (iskin) wrote :

Hello. It’s again me (from GitHub :) ). What is the problem with this output? I think you correctly add PPA. Now just run:

sudo apt-get update
sudo apt-get install gedit-gmate

Andrey Sitnik (iskin)
Changed in ubuntu-on-rails:
status: New → Won't Fix
status: Won't Fix → Invalid
Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I did, but I don't get most of plugins.

Following aren't available,

    Advanced Bookmarks. Highlight, remenber and toggle bookmarks in your files.
    Align columns. Align text blocks into columns separated by pipe ( | )
    Classbrowser. A Classbrowser (depends of ctags, I use exuberant-ctags).
    Encoding. Reopen the document in a different encoding
    Fuzzy Open. Quick way to open file in project. http://github.com/eggegg/fuzzyopen
    Gedit Open File. Regex based file open (like textmate Go to file…).
    Gedit Todo. Find Todo Marks in source files (integrated with filebrowser).
    Highlight Edited Lines. Highlights lines changed during your edit session. http://1dan.org/gedit-plugins/highlight-edited-lines/
    Indent Converter. Converts tabs to spaces and spaces to tabs.
   Quickhighligthmode. Fast change current highlight mode.
    Rails Extract Partial. Extract selected region of rhtml as a partial.
    Rails Hotcommands. Execute Rails Commands (such rake tasks).
    Rails Hotkeys. Navigation in Rails Project Files.
    Regex Search Replace. Search and replace with regular expressions.
    Reopen Tabs. Saves opened tabs on exit to restore them on next run.
    Simple Folding. Collapse selected text.
    Smart Indent. Smart Indentation regex based.
    Tabulation. Auto set tabs and spaces based on file type.
    TextMate Style Autocompletion. Better autocompletion. Tap Esc to cycle through the available completions.
    Text Map. Navigatable thumbnail of the entire file http://1dan.org/gedit-plugins/textmap/
    Text Tools. Some text manipulation improvements (adapted from line tools).
    Trailsave. Remove trailing spaces before save a document.
    Zoom. Adds the ability to change the text size. http://github.com/algorich/gedit-zoom

Neither I get the rails. I have ruby and rails installed in system, but doesn't show up in gedit. When I try to check with Terminal of gedit, I can run ruby, but not rails.

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

The issue is with Gedit 3 I believe. Is it so

Revision history for this message
Andrey Sitnik (iskin) wrote :

This plugins are not avaiable for Gedit 3. New Gedit have new API, so all old plugins from collection don’t work. I try to recollect best plugins, but plugin developers are not so fast :(.

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

May be. Hope Gedit works on this too :). I am uninstalling gedit3 and installing, gedit2. I need your plugin to minimize the IDE I needed. Your plugin is brilliant. Hope it works in Gedit2

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I am not now getting how to install gedit2

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I get this when I configure gedit2

checking for libgnomeui-2.0 >= 2.0.0 libglade-2.0 >= 2.0.0
                         libgnomeprintui-2.0 >= 1.115.0 libbonoboui-2.0 >= 2.0.0... Package libgnomeui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found Package libgnomeprintui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeprintui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeprintui-2.0' found Package libbonoboui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libbonoboui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libbonoboui-2.0' found
configure: error: Library requirements (libgnomeui-2.0 >= 2.0.0 libglade-2.0 >= 2.0.0
                         libgnomeprintui-2.0 >= 1.115.0 libbonoboui-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Revision history for this message
Andrey Sitnik (iskin) wrote :

PPA contain deb package only for gedit 3. You can install plugins for gedit 2 by install.sh script in source root.

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

Aspire-4720Z:~/gedit-1.199.0$ make install
make: *** No rule to make target `install'. Stop.

Revision history for this message
Andrey Sitnik (iskin) wrote :

I mean install.sh screipt, not Make task :) https://github.com/gmate/gmate/blob/master/install.sh

Revision history for this message
Andrey Sitnik (iskin) wrote :

I think you can’t install gedit 2, because you will bed GNOME 2. Try to use gedit 3 anyway. A lot of out-of-box plugins are in official `gedit-plugins` package.

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

But I don't get Ruby on Rails related plugin which you developed, which is far better

Revision history for this message
Andrey Sitnik (iskin) wrote :

I just collect plugins, thay are develop by another people :). I use gedit 3 for Rails development every day and happy with it :). Try to use without plugins, because “less is more” :). Also you can see to vim or Sublime Text 2.

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I like Gedit more than Sublime and Vim. Infact I use Aptana, but I feel it too bulky, and you too know its more on Java integrated does it slow. How do you run gedit3 for RoR. I hope you know RoR. Could you guide me(help) me to get your system as well if you don't mind. Please

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I mean steps to get your setup of Gedit with RoR up and running for me on my system

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I had Gedit3 earlier, I had RoR working on my main Terminal, but it wasn't showing up with Embedded terminal of Gedit. And even I have to keep selecting the option of highligting the scripting of RoR each time

Revision history for this message
Andrey Sitnik (iskin) wrote :

For gedit I just add Ubuntu on Rails PPA, install `gedit-gmate` and `gedit-plugins`. I use this plugins:
* Dashboard
* Word Completion
* Code Comment
* Draw spaces
* File Browser
* Spell
* Smart Spaces

Revision history for this message
Andrey Sitnik (iskin) wrote :

To install latest Ruby 1.9.3, Bundler and Rails:

sudo apt-get install ruby1.9.1 ruby1.9.1-dev libruby1.9.1 build-essential libxml2-dev libxslt1-dev
sudo gem1.9.1 install bundler --no-user-install --bindir /usr/bin
sudo gem1.9.1 install rails --no-user-install --bindir /usr/bin

Next I create Rails project:

rails new new_app

And install Bundler’s gem in project dir:

bundle install --path=.bundle

Revision history for this message
Andrey Sitnik (iskin) wrote :

I don’t use terminal in gedit. External is better anyway (all my coworkers use terminal in external window).

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

Oh. you use don't use Gedit Embedded terminal. I do have RoR by RVM. And yes, most of the plugin in. But why won't the syntax highlighting of the RoR be the default when I select, it keeps making me select the option each time. Is that same with your Gedit

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

I mean You don't use Gedit Terminal.. hahaa. sorry for mistake above

Revision history for this message
Andrey Sitnik (iskin) wrote :

The problem is that Gedit detect files as Ruby, not as Ruby on Rails?

I don’t like Ruby on Rails syntax, because Ruby on Rails is just a library for Ruby, so RoR syntax are not very special and important :).

If gedit open files as plain/text, not Ruby, please tell me file names (gedit use common Ubuntu’s MIME-detector by file extention and file format).

Revision history for this message
Rohith Kumar (rohithkumar-av) wrote :

No, Ruby file opens properly.

Revision history for this message
Andrey Sitnik (iskin) wrote :

So and RoR files open properly (because RoR is part of Ruby) :).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.