Questions tagged [c9.io]

Cloud9 combines a powerful online code editor with a full Ubuntu workspace in the cloud

93 questions
0
votes
1 answer

MongoDB won't connect to C9 after following instructions

I'm trying to connect to mongodb. I've done it before. But after not using c9 for a while, my database server was shut down I'm assuming. As a result, I had to follow the instructions provided in the c9 website: link1 and link2. Can anyone explain…
roadtocode
  • 329
  • 5
  • 13
0
votes
0 answers

Moving from the online workspace c9.io to Ubuntu VirtualBox machine, runtime error

I couldn't find any answer for my problem anywhere. I hope this is not a silly question. I wrote a program in c on c9.io, it is working flawlessy: it compiles and runs with no problem at all. Due to an internet mulfunction now I cannot rely on…
kefete
  • 33
  • 2
  • 9
0
votes
1 answer

Cloud9 + rails + Postgresql usage

I can not set up a Rails app using Postgresql for development on Cloud9 (c9.io): the migration does not succeed. Common error: ~/workspace (master) $ rake db:migrate rake aborted! PG::ConnectionBad: could not connect to server: Connection refused …
Yshmarov
  • 3,450
  • 1
  • 22
  • 41
0
votes
1 answer

Weird and Improper Array size behavior in C++ when initialized in a class

I am trying to create a class called Player which has an array called scores, declared with a size in the Player class properties. Yet, when I initialize a new player, the sizeof(scores) method is giving me 20, and, does, in fact, initialize a score…
0
votes
1 answer

on_message and on_private_message

I am currently using XMPP4R on Cloud9. conference.on_message {|time, nick, text| case text when /regex/i #Same Command as on_private_message end end } conference.on_private_message {|time,nick, text| case…
User1999
  • 3
  • 2
0
votes
1 answer

Filetree is not refreshing after switching branches - cloud9

In cloud9 IDE, I am doing simple rails app in master branch. I decided to experiment a little, so I created new branch like this: git checkout -b experiment-branch Then I created some controllers, models etc. but experiment fails and I do not…
ToTenMilan
  • 582
  • 1
  • 9
  • 19
0
votes
1 answer

Why does one project not open in C9.io but another project will open?

When I open a particular project, it just pauses out. It wont start. But another project will open and start. Is there anyway to fix this? It has happened to me before and usually resolves itself but today it has not worked for hours. Very…
Timmy Von Heiss
  • 2,160
  • 17
  • 39
0
votes
2 answers

How to deploy a rails app to heroku using C9

I am trying to deploy my rails app to heroku. However, it seems that there is a long process to do. I have to change my db but I do not know how! I also want to know how to push to heroku please! Thanks in advance!
hekmat
  • 93
  • 2
  • 8
0
votes
2 answers

Running AdonisJS on C9.io

I'm trying to create a new Node.JS app using the Adonis framework. I'm using c9.io as my IDE. I've succesfully installed everything and created a new project. But when I run it (using npm run dev) c9.io keeps showing me the "No application seems to…
Pablo K
  • 410
  • 4
  • 15
0
votes
1 answer

Rails & Heroku Git Push Issue with Directory

This is my dir tree rails-tutorial/ hello_app I tried to deploy the hello rails app to heroku, but it failed as heroku could not recognize the rails app. So I had to move the contents of the rails app to the root folder(in this case rails-tutorial).…
PRK
  • 9
  • 1
  • 5
0
votes
1 answer

After rebooting server on C9 my PostgreSQL database is empty

I had a Rails project on C9 with a SQLite 3 database. Recently I wanted to switch to a PostgreSQL database to be able to run a project on Heroku. All records from the SQLite 3 database were copied to the PostgreSQL database with the Sequel gem,…
Nikita
  • 5
  • 3
0
votes
1 answer

RAILS GENERATE MIGRATION CreateContacts

I am using c9 IDE. The command I entered in the terminal: bundle exec rails generate migration CreateContacts. I get a message: error: could not find 'rails'. This is the command in Nitrous, is there a different command in cloud9? Is there a…
Theo
  • 31
  • 6
0
votes
1 answer

How can I install opencv for Python on Cloud9?

I've been wanting to work more with images, and opencv sounds like a great resource, but I can't figure out how to get it up and running in Python on Cloud9. I've tried using the terminal commands: [compiler] sudo apt-get install…
Pro Q
  • 4,391
  • 4
  • 43
  • 92
0
votes
1 answer

How to get proper indentation from sass to css?

I am a new sass user. when i am typing in style.scss and it converted to style.css, the stylesheet indentations is too poor. The style.css did not get the proper indentation. I am using c9.io here is the screenshot of my style.scss and…
smehsan
  • 243
  • 1
  • 10
0
votes
1 answer

Rails 4 app links failing to generate correct URL

I have a rails 4 app under development in c9 cloud IDE and I have a view file that displays entries from different models. My issue is certain links in the file fails when clicked while other links on the same page seems working. I have this code…
Tony Vincent
  • 13,354
  • 7
  • 49
  • 68